No subject
Mon Jul 23 18:04:32 EST 2007
are new coding.
>=20
> > arch/powerpc/sysdev/fsl_rio.h | 20 +
> > 6 files changed, 1549 insertions(+), 0 deletions(-)
> > create mode 100644 arch/powerpc/kernel/rio.c
> > create mode 100644 arch/powerpc/sysdev/fsl_rio.c
> > create mode 100644 arch/powerpc/sysdev/fsl_rio.h
> >
> > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
> > index 00099ef..45f32f1 100644
> > --- a/arch/powerpc/Kconfig
> > +++ b/arch/powerpc/Kconfig
> > @@ -492,6 +492,14 @@ source "drivers/pci/Kconfig"
> >
> > source "drivers/pcmcia/Kconfig"
> >
> > +config RAPIDIO
> > + bool "RapidIO support" if MPC8540 || MPC8560 || MPC8641=20
> || MPC8548
> > + help
> > + If you say Y here, the kernel will include drivers and
> > + infrastructure code to support RapidIO interconnect devices.
>=20
> why not make this depend on something like HAS_RAPIDIO and let the =20
> boards select HAS_RAPIDIO if they have it
It's more clear, We can know how many and which processors support
RapidIO. :-)
>=20
> > +
> > +source "drivers/rapidio/Kconfig"
> > +
> > source "drivers/pci/hotplug/Kconfig"
> >
> > endmenu
> > diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/=20
> > Makefile
> > index 42c42ec..02d4100 100644
> > --- a/arch/powerpc/kernel/Makefile
> > +++ b/arch/powerpc/kernel/Makefile
> > @@ -70,6 +70,7 @@ pci64-$(CONFIG_PPC64) +=3D=20
> pci_64.o pci_dn.o isa-=20
> > bridge.o
> > pci32-$(CONFIG_PPC32) :=3D pci_32.o
> > obj-$(CONFIG_PCI) +=3D $(pci64-y) $(pci32-y) pci-common.o
> > obj-$(CONFIG_PCI_MSI) +=3D msi.o
> > +obj-$(CONFIG_RAPIDIO) +=3D rio.o
>=20
> should probably live in sysdev/rio.c
This just keep the same position of ppc arch.
Thanks!
-zw
More information about the Linuxppc-dev
mailing list