summaryrefslogtreecommitdiffstats
path: root/ssb-Do-not-disable-PCI-host-on-non-Mips.patch
blob: 207584940d2fc0770110b6563f24f0d0c2c3921c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From patchwork Fri Jan 26 09:38:01 2018
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: ssb: Do not disable PCI host on non-Mips
From: Sven Joachim <svenjoac@gmx.de>
X-Patchwork-Id: 10185397
Message-Id: <87vafpq7t2.fsf@turtle.gmx.de>
To: Michael Buesch <m@bues.ch>, linux-wireless@vger.kernel.org
Cc: James Hogan <jhogan@kernel.org>, linux-mips@linux-mips.org,
 Ralf Baechle <ralf@linux-mips.org>, James Hogan <jhogan@kernel.org>,
 Paul Burton <paul.burton@mips.com>,
 Matt Redfearn <matt.redfearn@imgtec.com>,
 Guenter Roeck <linux@roeck-us.net>
Date: Fri, 26 Jan 2018 10:38:01 +0100

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>
---
 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