4xx PLB to PCI-X support
PATCH 3/21 4xx PLB to PCI-X support
This adds base support code for the 4xx PCI-X bridge. It also provides placeholders for the PCI and PCI-E version but they aren't supported with this patch.
The bridges are configured based on device-tree properties.
Signed-off-by Benjamin Herrenschmidt <[email protected]>
---
Tested on 440GP only so far.
arch/powerpc/sysdev/Makefile | 3 arch/powerpc/sysdev/ppc4xx_pci.c | 339 +++++++++++++++++++++++++++++++++++++++ arch/powerpc/sysdev/ppc4xx_pci.h | 106 ++++++++++++ 3 files changed, 448 insertions(+)
arch/powerpc/sysdev/Makefile +3 -0
@@ -27,6 +27,9 @@ obj-$(CONFIG_PPC_I8259) += i8259.o obj-$(CONFIG_PPC_83xx) += ipic.o obj-$(CONFIG_4xx) += uic.o obj-$(CONFIG_XILINX_VIRTEX) += xilinx_intc.o +ifeq ($(CONFIG_PCI),y) +obj-$(CONFIG_4xx) += ppc4xx_pci.o +endif endif # Temporary hack until we have migrated to asm-powerpc
arch/powerpc/sysdev/ppc4xx_pci.c new file +339 -0
339 lines not on this page · raw message
arch/powerpc/sysdev/ppc4xx_pci.h new file +106 -0
106 lines not on this page · raw message