powerpc/pci: Pull ppc32 PCI features into common
authorKumar Gala <galak@kernel.crashing.org>
Tue, 25 Aug 2009 16:20:45 +0000 (16:20 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 28 Aug 2009 04:24:15 +0000 (14:24 +1000)
commit89c2dd62a389c5fed07c4b13c906c43214fc7491
treef36a94c317f9731d303d0bed029fbd6b267930b7
parentfbe65447197789a3ccccc27755956f6a4c445089
powerpc/pci: Pull ppc32 PCI features into common

Some of the PCI features we have in ppc32 we will need on ppc64
platforms in the future.  These include support for:

* ppc_md.pci_exclude_device
* indirect config cycles
* early config cycles

We also simplified the logic in fake_pci_bus() to assume it will always
get a valid pci_controller.  Since all current callers seem to pass it
one.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/machdep.h
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/pci-common.c
arch/powerpc/kernel/pci_32.c