mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
[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>
This commit is contained in:
parent
920573bd03
commit
92eb4602eb
4 changed files with 33 additions and 25 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue