diff options
author | John Rose <johnrose@austin.ibm.com> | 2006-03-14 17:46:45 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-16 16:55:07 +1100 |
commit | 92eb4602eb5c37db86cd9d2b1f4c8ca304fbc49f (patch) | |
tree | d6f53b85f0071e914cd1fa5d363259d584f1d3b2 /include | |
parent | 920573bd03bf690135967b5022362d34ede589c3 (diff) | |
download | linux-92eb4602eb5c37db86cd9d2b1f4c8ca304fbc49f.tar.gz linux-92eb4602eb5c37db86cd9d2b1f4c8ca304fbc49f.tar.bz2 linux-92eb4602eb5c37db86cd9d2b1f4c8ca304fbc49f.zip |
[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')
-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 */ |