ssb: Do not disable PCI host on non-Mips

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/a9e6d44ddeccd3522670e641f1ed9b068e746ff7
Commit:     a9e6d44ddeccd3522670e641f1ed9b068e746ff7
Parent:     1e19c4d689dc1e95bafd23ef68fbc0c6b9e05180
Refname:    refs/heads/master
Author:     Sven Joachim <[email protected]>
AuthorDate: Fri Jan 26 10:38:01 2018 +0100
Committer:  Kalle Valo <[email protected]>
CommitDate: Fri Jan 26 16:55:34 2018 +0200

    ssb: Do not disable PCI host on non-Mips
    
    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: [email protected]
    Signed-off-by: Sven Joachim <[email protected]>
    Reviewed-by: James Hogan <[email protected]>
    Signed-off-by: Kalle Valo <[email protected]>
---
 drivers/ssb/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 71c73766ee22..65af12c3bdb2 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) && (PCI_DRIVERS_LEGACY || !MIPS)
 	default y
 
 config SSB_PCIHOST
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.