diff mbox

ssb: Reenable PCI host on !MIPS

Message ID 20180126235849.3177-1-krzysiek@podlesie.net (mailing list archive)
State Rejected
Delegated to: Kalle Valo
Headers show

Commit Message

Krzysztof Mazur Jan. 26, 2018, 11:58 p.m. UTC
The commit 58eae1416b804d900014d84feadda7195007cc30
("ssb: Disable PCI host for PCI_DRIVERS_GENERIC") disabled
CONFIG_SSB_PCIHOST and CONFIG_SSB_B43_PCI_BRIDGE, which are
required for SSB-based b43 PCI cards, on everything except MIPS
with PCI_DRIVERS_LEGACY, including x86 (only MIPS defines
that config option). Reenable it.

Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
---
 drivers/ssb/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Jan. 27, 2018, 4:29 a.m. UTC | #1
Krzysztof Mazur <krzysiek@podlesie.net> writes:

> The commit 58eae1416b804d900014d84feadda7195007cc30
> ("ssb: Disable PCI host for PCI_DRIVERS_GENERIC") disabled
> CONFIG_SSB_PCIHOST and CONFIG_SSB_B43_PCI_BRIDGE, which are
> required for SSB-based b43 PCI cards, on everything except MIPS
> with PCI_DRIVERS_LEGACY, including x86 (only MIPS defines
> that config option). Reenable it.
>
> Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>

I have already applied an identical patch but missed the deadline for
final 4.15:

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git/commit/?id=a9e6d44ddeccd3522670e641f1ed9b068e746ff7

That patch will go to 4.16 and from there to 4.15 via the stable tree.
Krzysztof Mazur Jan. 27, 2018, 7:38 a.m. UTC | #2
On Sat, Jan 27, 2018 at 06:29:18AM +0200, Kalle Valo wrote:
> Krzysztof Mazur <krzysiek@podlesie.net> writes:
> 
> > The commit 58eae1416b804d900014d84feadda7195007cc30
> > ("ssb: Disable PCI host for PCI_DRIVERS_GENERIC") disabled
> > CONFIG_SSB_PCIHOST and CONFIG_SSB_B43_PCI_BRIDGE, which are
> > required for SSB-based b43 PCI cards, on everything except MIPS
> > with PCI_DRIVERS_LEGACY, including x86 (only MIPS defines
> > that config option). Reenable it.
> >
> > Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
> 
> I have already applied an identical patch but missed the deadline for
> final 4.15:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git/commit/?id=a9e6d44ddeccd3522670e641f1ed9b068e746ff7
> 
> That patch will go to 4.16 and from there to 4.15 via the stable tree.

Thanks,

Krzysiek
diff mbox

Patch

diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 71c73766ee22..3dc57414e06b 100644
--- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig
@@ -32,7 +32,7 @@  config SSB_BLOCKIO
 
 config SSB_PCIHOST_POSSIBLE
 	bool
-	depends on SSB && (PCI = y || PCI = SSB) && PCI_DRIVERS_LEGACY
+	depends on SSB && (PCI = y || PCI = SSB) && (!MIPS || PCI_DRIVERS_LEGACY)
 	default y
 
 config SSB_PCIHOST