Received: by 10.192.165.148 with SMTP id m20csp1020456imm; Thu, 10 May 2018 04:29:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq9+4OL4wcZrwK43rAHTjwAM6I5qJvIPNY5S8QsMB6B3SHllYxZGMWud1wJz45WDfcXL6UB X-Received: by 2002:a63:be4b:: with SMTP id g11-v6mr313188pgo.41.1525951756458; Thu, 10 May 2018 04:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525951756; cv=none; d=google.com; s=arc-20160816; b=E4oaFKArUU7f+t9Uh09MTf+rHwSJ15kunLSBRnSo1RmTBtryBZ2IcocpMiYzkRM905 UVZjt/af7GLzJlBAqjRrJnaqu6M7ySS16ySvyg3Z/FKuAuGC2LWWWFOpRUteYesJX9hB FASgH64hv/QQk5+GOgN6E9eqfj1LQ/aJP6KlgJR95qYjAS+S2PCotCpY1u4Uk9TUkZsk WGnQHHui5Ndd01yAQW0d8p61sFlTPY+nLSsNhg5E+sZvFU+ep2eC0OyI4CAVatvVZ9/o BGaM/wySYnUT8llJSh4NXuOsZQlbA2qAtVJkVsOL5hXlu4I0QUrJdHpF1jVFwHbV+CJz ioEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=LyXGEtLWGgOkhChMLtr79LodzidCYG52P2il4NLXgSU=; b=yAteJhjvBfYr4n/L/bl+qP3A5yfT5XgdbtQIE0qmswxHJc2OA6awBHJn+hqpvzIX1z P3mK1hJh3PZlaZ4aiNQXXJcV6DLize9kczWzZpgMWFxBPzwZmIyUDrLWCbhxiEtsb01L l1UnWe//TwO/PREnC4SG4OqRfNEPzapgNgwNniajMkAgPF340Q5A53vUZ2zg057idncu 4nx9czbdvurJKHgjLPV1Gsz5kiXRKVFK7SCmB6SA016htRDfq3tBruVEKVgOT9k0J/yg sxC2vFhBcupNfL8g6Ll6EpH29Fywt/K4qtxFtEYMtp+1mnXx8oY1r9tzCWWMDso+kEsA 6I6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h15-v6si650352plk.485.2018.05.10.04.28.51; Thu, 10 May 2018 04:29:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935480AbeEJL0l (ORCPT + 99 others); Thu, 10 May 2018 07:26:41 -0400 Received: from bues.ch ([80.190.117.144]:55328 "EHLO bues.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935115AbeEJL0k (ORCPT ); Thu, 10 May 2018 07:26:40 -0400 Received: by bues.ch with esmtpsa (Exim 4.89) (envelope-from ) id 1fGjiQ-0005xM-M0; Thu, 10 May 2018 13:26:30 +0200 Date: Thu, 10 May 2018 13:26:12 +0200 From: Michael =?UTF-8?B?QsO8c2No?= To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Kalle Valo , Larry Finger , Matt Redfearn , "linux-wireless@vger.kernel.org" , Hauke Mehrtens , LKML , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Subject: Re: [PATCH 4.17 2/2] ssb: make SSB_PCICORE_HOSTMODE depend on SSB = y Message-ID: <20180510132612.25c8c20e@wiggum> In-Reply-To: References: <20180510111401.1161-1-zajec5@gmail.com> <20180510111401.1161-2-zajec5@gmail.com> <20180510131725.111079af@wiggum> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/PyILieRqIXwLZLz+e2YE=TJ"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/PyILieRqIXwLZLz+e2YE=TJ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 10 May 2018 13:20:01 +0200 Rafa=C5=82 Mi=C5=82ecki wrote: > On 10 May 2018 at 13:17, Michael B=C3=BCsch wrote: > > On Thu, 10 May 2018 13:14:01 +0200 > > Rafa=C5=82 Mi=C5=82ecki wrote: > > =20 > >> From: Rafa=C5=82 Mi=C5=82ecki > >> > >> SSB_PCICORE_HOSTMODE protects MIPS specific code that calls not export= ed > >> symbols pcibios_enable_device and register_pci_controller. This code is > >> supposed to be compiled only with ssb builtin. > >> > >> This fixes: > >> ERROR: "pcibios_enable_device" [drivers/ssb/ssb.ko] undefined! > >> ERROR: "register_pci_controller" [drivers/ssb/ssb.ko] undefined! > >> make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 > >> > >> Signed-off-by: Rafa=C5=82 Mi=C5=82ecki > >> --- > >> drivers/ssb/Kconfig | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig > >> index b3f5cae98ea6..c574dd210500 100644 > >> --- a/drivers/ssb/Kconfig > >> +++ b/drivers/ssb/Kconfig > >> @@ -131,7 +131,7 @@ config SSB_DRIVER_PCICORE > >> > >> config SSB_PCICORE_HOSTMODE > >> bool "Hostmode support for SSB PCI core" > >> - depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS > >> + depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB =3D y > >> help > >> PCIcore hostmode operation (external PCI bus). > >> =20 > > > > > > I think we also need to depend on PCI_DRIVERS_LEGACY. > > See the other patch that floats around. =20 >=20 > I believe it's already handled by SSB_PCIHOST_POSSIBLE's dependency on > PCI_DRIVERS_LEGACY. That dependency seems to be wrong there. Was it added among some other "let's just unbreak some random build" change as well? SSB_PCIHOST enables support for SSB on top of PCI. (Which is 99% of it uses). I don't see how this uses the legacy API. SSB_PCICORE_HOSTMODE enables PCI on top of SSB. Which is a MIPS corner case. This uses the legacy MIPS API to register a PCI bus. --=20 Michael --Sig_/PyILieRqIXwLZLz+e2YE=TJ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEihRzkKVZOnT2ipsS9TK+HZCNiw4FAlr0LFQACgkQ9TK+HZCN iw4fBxAA4MbuyoXLlqcFbKPsL+DurCb+P7y3aGUoeQL5ZqtYmX38xRXV3jPaPYBG 4olkODEzw3IP3KweXuBzP6Vc1EtfdAqV42hjJyp5EyEHbabCAA6EjqvAg0O/UuVi aA/PHZ4cX/Kr8us/9ctrZOhvb1qXaLwybNWViBoarQTnsS9x2mwVHdIEeXpjLBVB v6MKyqIX3OiFCHj0lmoiGM5zMCI+A1u769oFr4htVUywxCdKvfaiYc2o5ug9+rjw eoLMAdG+ZJTU3GUYVmt9/Dr9eReXASwWz0nd7K3ztV6xMKJFqxoeVtUkQwRnKxAJ HuGqcJRYYG4+V58owBEgaufNU1MJVXo88zoVlQ4/CPxkkKDyW4WiyRGmw0Zf6Z9G M6p2jyO4uKxV3w2uQLQHgzMnLFGsCVW7rvcVYK1xv2mO2bKEwGi/oCIhmOM3058L Esvv9NuueKyM0ddPGD7YXgCfwOdOg5PkGnWsh/WnurOgxzIolhLFEnILDa8iia2Y Mmrd+Wnaxdw+prakwITuGgymSaCxnQcCd0h8OdqgZZqDUqyvlBqTGOyECgT8CUhX mM/QNyYNJHiaQ3gEpcfw7G7LEinjqZkCFkIoPC+hhgr5pmFekHpR+nq3Q13DCGWc eyooKarmcJn7bbgSBYeuzbdmV/KhEW0AKzigCIRjlVkcUqwhE0o= =d7ZQ -----END PGP SIGNATURE----- --Sig_/PyILieRqIXwLZLz+e2YE=TJ--