[PATCH 4/6] [POWERPC] allow pSeries to build without CONFIG_PCI

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Mar 5 05:43:46 EST 2007


On Sun, 2007-03-04 at 15:07 +0100, Arnd Bergmann wrote:
> On Sunday 04 March 2007 07:04:44 Stephen Rothwell wrote:
> >  config PCI
> >         bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ 
> > -               || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2 || PPC_PS3 
> > +               || PPC_MPC52xx || (EMBEDDED &&  (PPC_PSERIES || PPC_ISERIES)) \ 
> > +               || MPC7448HPC2 || PPC_PS3 
> 
> This may be a dumb question, but system would you want to run a pSeries
> kernel without PCI on? Is this just for build tests, or is there an
> actual application for this?

When running in an LPAR, it's fairly common to have no PCI devices, and
it's thus possible to imagine somebody wanting to build something
without PCI.

I dislike the giant conditional though.

Ben.





More information about the Linuxppc-dev mailing list