From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by ozlabs.org (Postfix) with ESMTP id BD99FDDF29 for ; Mon, 5 Mar 2007 06:00:00 +1100 (EST) From: Arnd Bergmann To: Benjamin Herrenschmidt Subject: Re: [PATCH 4/6] [POWERPC] allow pSeries to build without CONFIG_PCI Date: Sun, 4 Mar 2007 19:59:46 +0100 References: <20070304165839.4d2bf50b.sfr@canb.auug.org.au> <200703041507.06307.arnd@arndb.de> <1173033826.8184.68.camel@localhost.localdomain> In-Reply-To: <1173033826.8184.68.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Message-Id: <200703041959.46872.arnd@arndb.de> Cc: linuxppc-dev@ozlabs.org, paulus@samba.org, Stephen Rothwell List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sunday 04 March 2007, Benjamin Herrenschmidt wrote: > On Sun, 2007-03-04 at 15:07 +0100, Arnd Bergmann wrote: > > On Sunday 04 March 2007 07:04:44 Stephen Rothwell wrote: > > > =A0config PCI > > > =A0 =A0 =A0 =A0 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_= 85xx || PPC_86xx \=20 > > > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 || PPC_MPC52xx || (EMBEDDED && PPC_ISER= IES) || MPC7448HPC2 || PPC_PS3=20 > > > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 || PPC_MPC52xx || (EMBEDDED && =A0(PPC_= PSERIES || PPC_ISERIES)) \=20 > > > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 || MPC7448HPC2 || PPC_PS3=20 > >=20 > I dislike the giant conditional though. How about changing it to config PCI_ENABLE bool config PCI bool "PCI support" if PCI_ENABLE config PPC_PSERIES select PCI_ENABLE select PCI if !EMBEDDED config PPC_PS3 select PCI_ENABLE config PPC_PMAC select PCI Arnd <><