diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-11-11 01:25:08 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 04:38:49 -0500 |
commit | 4c9d2800be5dfabf26acdeb401cbabe9edc1dcf2 (patch) | |
tree | 8d9a4f96cba4a1cc16a1e661d00f88e3e048491f /arch/powerpc/Kconfig | |
parent | 803d4573e60bc890d7fbc040ad1c18c2dc7f8279 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 65588a6bd2fe..3d26ba7ad76d 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -223,6 +223,11 @@ config PPC_DCR | |||
223 | depends on PPC_DCR_NATIVE || PPC_DCR_MMIO | 223 | depends on PPC_DCR_NATIVE || PPC_DCR_MMIO |
224 | default y | 224 | default y |
225 | 225 | ||
226 | config PPC_OF_PLATFORM_PCI | ||
227 | bool | ||
228 | depends on PPC64 # not supported on 32 bits yet | ||
229 | default n | ||
230 | |||
226 | config BOOKE | 231 | config BOOKE |
227 | bool | 232 | bool |
228 | depends on E200 || E500 | 233 | depends on E200 || E500 |
@@ -469,6 +474,7 @@ config PPC_CELL_NATIVE | |||
469 | bool | 474 | bool |
470 | select PPC_CELL | 475 | select PPC_CELL |
471 | select PPC_DCR_MMIO | 476 | select PPC_DCR_MMIO |
477 | select PPC_OF_PLATFORM_PCI | ||
472 | select MPIC | 478 | select MPIC |
473 | default n | 479 | default n |
474 | 480 | ||