diff options
Diffstat (limited to 'include/asm-powerpc/pci-bridge.h')
-rw-r--r-- | include/asm-powerpc/pci-bridge.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h index 89e73fcd58bb..00d21513d009 100644 --- a/include/asm-powerpc/pci-bridge.h +++ b/include/asm-powerpc/pci-bridge.h | |||
@@ -125,9 +125,18 @@ static inline struct device_node *pci_bus_to_OF_node(struct pci_bus *bus) | |||
125 | return bus->sysdata; /* Must be root bus (PHB) */ | 125 | return bus->sysdata; /* Must be root bus (PHB) */ |
126 | } | 126 | } |
127 | 127 | ||
128 | /** Find the bus corresponding to the indicated device node */ | ||
129 | struct pci_bus * pcibios_find_pci_bus(struct device_node *dn); | ||
130 | |||
128 | extern void pci_process_bridge_OF_ranges(struct pci_controller *hose, | 131 | extern void pci_process_bridge_OF_ranges(struct pci_controller *hose, |
129 | struct device_node *dev, int primary); | 132 | struct device_node *dev, int primary); |
130 | 133 | ||
134 | /** Remove all of the PCI devices under this bus */ | ||
135 | void pcibios_remove_pci_devices(struct pci_bus *bus); | ||
136 | |||
137 | /** Discover new pci devices under this bus, and add them */ | ||
138 | void pcibios_add_pci_devices(struct pci_bus * bus); | ||
139 | |||
131 | extern int pcibios_remove_root_bus(struct pci_controller *phb); | 140 | extern int pcibios_remove_root_bus(struct pci_controller *phb); |
132 | 141 | ||
133 | extern void phbs_remap_io(void); | 142 | extern void phbs_remap_io(void); |