Return-path: Received: from mail.kernel.org ([198.145.29.99]:60820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751606AbeAZKJ3 (ORCPT ); Fri, 26 Jan 2018 05:09:29 -0500 Date: Fri, 26 Jan 2018 10:09:03 +0000 From: James Hogan To: Sven Joachim Cc: Michael Buesch , linux-wireless@vger.kernel.org, linux-mips@linux-mips.org, Ralf Baechle , Paul Burton , Matt Redfearn , Guenter Roeck , Kalle Valo Subject: Re: [PATCH] ssb: Do not disable PCI host on non-Mips Message-ID: <20180126100902.GN5446@saruman> (sfid-20180126_110934_864975_3615857B) References: <87vafpq7t2.fsf@turtle.gmx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="citGix+cyBYE+lqp" In-Reply-To: <87vafpq7t2.fsf@turtle.gmx.de> Sender: linux-wireless-owner@vger.kernel.org List-ID: --citGix+cyBYE+lqp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 26, 2018 at 10:38:01AM +0100, Sven Joachim wrote: > 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. >=20 > Fixes: 58eae1416b80 ("ssb: Disable PCI host for PCI_DRIVERS_GENERIC") > Cc: stable@vger.org > Signed-off-by: Sven Joachim Whoops, thats a very good point. I hadn't twigged that PCI_DRIVERS_LEGACY was MIPS specific (one of the disadvantages of using "tig grep" I suppose!). Reviewed-by: James Hogan I think this is obviously correct, so it'd be great to squeeze it into 4.15 final. Fortunately the other related change, commit 664eadd6f44b ("bcma: Fix 'allmodconfig' and BCMA builds on MIPS targets"), already depends on MIPS so doesn't have the same issue. Sorry for the breakage! James > --- > drivers/ssb/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 > =20 > config SSB_PCIHOST_POSSIBLE > bool > - depends on SSB && (PCI =3D y || PCI =3D SSB) && PCI_DRIVERS_LEGACY > + depends on SSB && (PCI =3D y || PCI =3D SSB) && (PCI_DRIVERS_LEGACY || = !MIPS) > default y > =20 > config SSB_PCIHOST > --=20 > 2.15.1 >=20 --citGix+cyBYE+lqp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd80NauSabkiESfLYbAtpk944dnoFAlpq/jcACgkQbAtpk944 dnoJ7BAAp8ZL9TaQ6/JF0Sxbj+hyxNM2WfCH6hz3YaxrsYBL4SgmbDzhUd4fTpqw BM4SM5khbrtr9DriVKNn4rL4P/0mqzzwC/5OhBSE3H6nK7aVEBjnnepFPUHc/doH QuBFimcAwJa2cZnenmkGVte2fNLjjLk1JhBwnSsCnlrrJa2uGsOEQK/eTJ22Vw/o QELGehKt1VmvrZC1vQp6tegoXN69uOA9ClqPNUyPmChafxqoNS8VyWH6bQmlXAq3 2oqS5Vzvc+re8Rs1CRCj0n/l0XP/wQLLyqoZD0lMKyFfXThvZZdYtIyz7Kj8YboK b/ZkTDw32fKsOgDFsDwTXrw0Z7P/3dXWZ5FuJcGo5xTgENNbq6ZaMxIzKqUHJbFA P6NOVRapeWtBi3OHPr7TACr4GBkz85FISuVh8Raz6j7Ot9ed2eheSuB17xQ0TV5N Gm+gssmiyiOgtUZog15OJIjFGvP6usQ1R8kGagoLdbgVzhAAie/bK6xzKEfcdDiJ xBA9UxVS0O+8hTCi/jiFG6VMLwd87I9Pr3cZ2sM/xXZg9Ys0RnZ7fOBYsBYaP96Y Bwtmxw7QRdwhgbg8HdwYpn2XDd4fyC/Jovt4QIkyYv5jHJhpRW4U6MEHEGv9LkPc fjJ6Z1X5cnkWh0FI0/bgukk/zHkpjUDbMte/5YWGDyOcjIwlHWU= =XUPc -----END PGP SIGNATURE----- --citGix+cyBYE+lqp--