ssb: Do not disable PCI host on non-Mips
authorSven Joachim <svenjoac@gmx.de>
Fri, 26 Jan 2018 09:38:01 +0000 (10:38 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Jan 2018 14:55:34 +0000 (16:55 +0200)
After upgrading an old laptop to 4.15-rc9, I found that the eth0 and
wlan0 interfaces had disappeared.  It turns out that the b43 and b44
drivers require SSB_PCIHOST_POSSIBLE which depends on
PCI_DRIVERS_LEGACY, a config option that only exists on Mips.

Fixes: 58eae1416b80 ("ssb: Disable PCI host for PCI_DRIVERS_GENERIC")
Cc: stable@vger.org
Signed-off-by: Sven Joachim <svenjoac@gmx.de>
Reviewed-by: James Hogan <jhogan@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/ssb/Kconfig

index 71c73766ee22e414f74cc77e8e18ebfadd5ca209..65af12c3bdb2d31a70b07bf28b677ae0263e8ec0 100644 (file)
@@ -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) && (PCI_DRIVERS_LEGACY || !MIPS)
        default y
 
 config SSB_PCIHOST