aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/machdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/machdep.h')
-rw-r--r--include/asm-powerpc/machdep.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h
index ed9103148690..79c704ed5381 100644
--- a/include/asm-powerpc/machdep.h
+++ b/include/asm-powerpc/machdep.h
@@ -204,12 +204,6 @@ struct machdep_calls {
204 /* 204 /*
205 * optional PCI "hooks" 205 * optional PCI "hooks"
206 */ 206 */
207
208 /* Called when pci_enable_device() is called (initial=0) or
209 * when a device with no assigned resource is found (initial=1).
210 * Returns 0 to allow assignment/enabling of the device. */
211 int (*pcibios_enable_device_hook)(struct pci_dev *, int initial);
212
213 /* Called in indirect_* to avoid touching devices */ 207 /* Called in indirect_* to avoid touching devices */
214 int (*pci_exclude_device)(struct pci_controller *, unsigned char, unsigned char); 208 int (*pci_exclude_device)(struct pci_controller *, unsigned char, unsigned char);
215 209
@@ -225,6 +219,10 @@ struct machdep_calls {
225 /* Called for each PCI bus in the system when it's probed */ 219 /* Called for each PCI bus in the system when it's probed */
226 void (*pcibios_fixup_bus)(struct pci_bus *); 220 void (*pcibios_fixup_bus)(struct pci_bus *);
227 221
222 /* Called when pci_enable_device() is called. Returns 0 to
223 * allow assignment/enabling of the device. */
224 int (*pcibios_enable_device_hook)(struct pci_dev *);
225
228 /* Called to shutdown machine specific hardware not already controlled 226 /* Called to shutdown machine specific hardware not already controlled
229 * by other drivers. 227 * by other drivers.
230 */ 228 */