# \[PATCH 4.15 007/202\] ssb: Do not disable PCI host on non-Mips

- From: Greg Kroah-Hartman \<gregkh@linuxfoundation.org\>
- Date: 2018-02-15 15:15:07 
- List: stable
- Page: https://ratatoskr.run/stable/2018/02/5198822
- Thread: https://ratatoskr.run/stable/2018/02/5198629/t.md

```text
4.15-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Sven Joachim <redacted>

commit a9e6d44ddeccd3522670e641f1ed9b068e746ff7 upstream.

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")
Signed-off-by: Sven Joachim <redacted>
Reviewed-by: James Hogan <jhogan@kernel.org>
Signed-off-by: Kalle Valo <redacted>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/ssb/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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) && (PCI_DRIVERS_LEGACY || !MIPS)
 	default y
 
 config SSB_PCIHOST
```
