diff options
author | John Rose <johnrose@austin.ibm.com> | 2006-03-15 02:46:45 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-16 08:55:07 +0300 |
commit | 92eb4602eb5c37db86cd9d2b1f4c8ca304fbc49f (patch) | |
tree | d6f53b85f0071e914cd1fa5d363259d584f1d3b2 /include/asm-powerpc | |
parent | 920573bd03bf690135967b5022362d34ede589c3 (diff) | |
download | linux-92eb4602eb5c37db86cd9d2b1f4c8ca304fbc49f.tar.xz |
[PATCH] powerpc: properly configure DDR/P5IOC children devs
The dynamic add path for PCI Host Bridges can fail to configure children
adapters under P5IOC controllers. It fails to properly fixup bus/device
resources, and it fails to properly enable EEH. Both of these steps
need to occur before any children devices are enabled in
pci_bus_add_devices().
Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/ppc-pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/ppc-pci.h b/include/asm-powerpc/ppc-pci.h index f80482c7231f..cf79bc7ebb55 100644 --- a/include/asm-powerpc/ppc-pci.h +++ b/include/asm-powerpc/ppc-pci.h @@ -38,6 +38,7 @@ void *traverse_pci_devices(struct device_node *start, traverse_func pre, void pci_devs_phb_init(void); void pci_devs_phb_init_dynamic(struct pci_controller *phb); +int setup_phb(struct device_node *dev, struct pci_controller *phb); void __devinit scan_phb(struct pci_controller *hose); /* From rtas_pci.h */ |