aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/machdep.h14
-rw-r--r--include/asm-powerpc/pci-bridge.h2
-rw-r--r--include/asm-powerpc/pci.h6
3 files changed, 11 insertions, 11 deletions
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h
index d5cd98214fab..ed9103148690 100644
--- a/include/asm-powerpc/machdep.h
+++ b/include/asm-powerpc/machdep.h
@@ -205,13 +205,6 @@ struct machdep_calls {
205 * optional PCI "hooks" 205 * optional PCI "hooks"
206 */ 206 */
207 207
208 /* Called after PPC generic resource fixup to perform
209 machine specific fixups */
210 void (*pcibios_fixup_resources)(struct pci_dev *);
211
212 /* Called for each PCI bus in the system when it's probed */
213 void (*pcibios_fixup_bus)(struct pci_bus *);
214
215 /* Called when pci_enable_device() is called (initial=0) or 208 /* Called when pci_enable_device() is called (initial=0) or
216 * when a device with no assigned resource is found (initial=1). 209 * when a device with no assigned resource is found (initial=1).
217 * Returns 0 to allow assignment/enabling of the device. */ 210 * Returns 0 to allow assignment/enabling of the device. */
@@ -225,6 +218,13 @@ struct machdep_calls {
225 218
226#endif /* CONFIG_PPC32 */ 219#endif /* CONFIG_PPC32 */
227 220
221 /* Called after PPC generic resource fixup to perform
222 machine specific fixups */
223 void (*pcibios_fixup_resources)(struct pci_dev *);
224
225 /* Called for each PCI bus in the system when it's probed */
226 void (*pcibios_fixup_bus)(struct pci_bus *);
227
228 /* Called to shutdown machine specific hardware not already controlled 228 /* Called to shutdown machine specific hardware not already controlled
229 * by other drivers. 229 * by other drivers.
230 */ 230 */
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h
index fed8f52071f1..4aeef7f3d766 100644
--- a/include/asm-powerpc/pci-bridge.h
+++ b/include/asm-powerpc/pci-bridge.h
@@ -235,7 +235,7 @@ extern void pcibios_remove_pci_devices(struct pci_bus *bus);
235 235
236/** Discover new pci devices under this bus, and add them */ 236/** Discover new pci devices under this bus, and add them */
237extern void pcibios_add_pci_devices(struct pci_bus *bus); 237extern void pcibios_add_pci_devices(struct pci_bus *bus);
238extern void pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus); 238extern void pcibios_fixup_new_pci_devices(struct pci_bus *bus);
239 239
240extern int pcibios_remove_root_bus(struct pci_controller *phb); 240extern int pcibios_remove_root_bus(struct pci_controller *phb);
241 241
diff --git a/include/asm-powerpc/pci.h b/include/asm-powerpc/pci.h
index 2883f566709d..9899d893c162 100644
--- a/include/asm-powerpc/pci.h
+++ b/include/asm-powerpc/pci.h
@@ -196,9 +196,6 @@ static inline struct resource *pcibios_select_root(struct pci_dev *pdev,
196 return root; 196 return root;
197} 197}
198 198
199extern void pcibios_fixup_device_resources(struct pci_dev *dev,
200 struct pci_bus *bus);
201
202extern void pcibios_setup_new_device(struct pci_dev *dev); 199extern void pcibios_setup_new_device(struct pci_dev *dev);
203 200
204extern void pcibios_claim_one_bus(struct pci_bus *b); 201extern void pcibios_claim_one_bus(struct pci_bus *b);
@@ -226,5 +223,8 @@ extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
226 const struct resource *rsrc, 223 const struct resource *rsrc,
227 resource_size_t *start, resource_size_t *end); 224 resource_size_t *start, resource_size_t *end);
228 225
226extern void pcibios_do_bus_setup(struct pci_bus *bus);
227extern void pcibios_fixup_of_probed_bus(struct pci_bus *bus);
228
229#endif /* __KERNEL__ */ 229#endif /* __KERNEL__ */
230#endif /* __ASM_POWERPC_PCI_H */ 230#endif /* __ASM_POWERPC_PCI_H */