]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Generic OF platform driver for PCI host bridges.
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 11 Nov 2006 06:25:08 +0000 (17:25 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:38:49 +0000 (20:38 +1100)
commit4c9d2800be5dfabf26acdeb401cbabe9edc1dcf2
tree8d9a4f96cba4a1cc16a1e661d00f88e3e048491f
parent803d4573e60bc890d7fbc040ad1c18c2dc7f8279
[POWERPC] Generic OF platform driver for PCI host bridges.

When enabled in Kconfig, it will pick up any of_platform_device
matching it's match list (currently type "pci", "pcix", "pcie",
or "ht" and setup a PHB for it.

Platform must provide a ppc_md.pci_setup_phb() for it to work
(for doing the necessary initialisations specific to a given PHB
like setting up the config space ops).

It's currently only available on 64 bits as the 32 bits PCI code
can't quite cope with it in it's current form. I will fix that
later.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig
arch/powerpc/kernel/of_platform.c
arch/powerpc/kernel/pci_64.c
arch/powerpc/kernel/rtas_pci.c
arch/powerpc/platforms/cell/setup.c
arch/powerpc/platforms/pseries/pci_dlpar.c
include/asm-powerpc/machdep.h
include/asm-powerpc/ppc-pci.h