diff options
Diffstat (limited to 'arch/powerpc/include/asm/pci.h')
-rw-r--r-- | arch/powerpc/include/asm/pci.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h index d9483c504d2d..b5ea626eea2d 100644 --- a/arch/powerpc/include/asm/pci.h +++ b/arch/powerpc/include/asm/pci.h | |||
@@ -22,6 +22,11 @@ | |||
22 | 22 | ||
23 | #include <asm-generic/pci-dma-compat.h> | 23 | #include <asm-generic/pci-dma-compat.h> |
24 | 24 | ||
25 | /* Return values for ppc_md.pci_probe_mode function */ | ||
26 | #define PCI_PROBE_NONE -1 /* Don't look at this bus at all */ | ||
27 | #define PCI_PROBE_NORMAL 0 /* Do normal PCI probing */ | ||
28 | #define PCI_PROBE_DEVTREE 1 /* Instantiate from device tree */ | ||
29 | |||
25 | #define PCIBIOS_MIN_IO 0x1000 | 30 | #define PCIBIOS_MIN_IO 0x1000 |
26 | #define PCIBIOS_MIN_MEM 0x10000000 | 31 | #define PCIBIOS_MIN_MEM 0x10000000 |
27 | 32 | ||
@@ -40,7 +45,6 @@ struct pci_dev; | |||
40 | */ | 45 | */ |
41 | #define pcibios_assign_all_busses() \ | 46 | #define pcibios_assign_all_busses() \ |
42 | (ppc_pci_has_flag(PPC_PCI_REASSIGN_ALL_BUS)) | 47 | (ppc_pci_has_flag(PPC_PCI_REASSIGN_ALL_BUS)) |
43 | #define pcibios_scan_all_fns(a, b) 0 | ||
44 | 48 | ||
45 | static inline void pcibios_set_master(struct pci_dev *dev) | 49 | static inline void pcibios_set_master(struct pci_dev *dev) |
46 | { | 50 | { |
@@ -61,8 +65,8 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) | |||
61 | } | 65 | } |
62 | 66 | ||
63 | #ifdef CONFIG_PCI | 67 | #ifdef CONFIG_PCI |
64 | extern void set_pci_dma_ops(struct dma_mapping_ops *dma_ops); | 68 | extern void set_pci_dma_ops(struct dma_map_ops *dma_ops); |
65 | extern struct dma_mapping_ops *get_pci_dma_ops(void); | 69 | extern struct dma_map_ops *get_pci_dma_ops(void); |
66 | #else /* CONFIG_PCI */ | 70 | #else /* CONFIG_PCI */ |
67 | #define set_pci_dma_ops(d) | 71 | #define set_pci_dma_ops(d) |
68 | #define get_pci_dma_ops() NULL | 72 | #define get_pci_dma_ops() NULL |
@@ -228,6 +232,8 @@ extern void pci_resource_to_user(const struct pci_dev *dev, int bar, | |||
228 | 232 | ||
229 | extern void pcibios_setup_bus_devices(struct pci_bus *bus); | 233 | extern void pcibios_setup_bus_devices(struct pci_bus *bus); |
230 | extern void pcibios_setup_bus_self(struct pci_bus *bus); | 234 | extern void pcibios_setup_bus_self(struct pci_bus *bus); |
235 | extern void pcibios_setup_phb_io_space(struct pci_controller *hose); | ||
236 | extern void pcibios_scan_phb(struct pci_controller *hose, void *sysdata); | ||
231 | 237 | ||
232 | #endif /* __KERNEL__ */ | 238 | #endif /* __KERNEL__ */ |
233 | #endif /* __ASM_POWERPC_PCI_H */ | 239 | #endif /* __ASM_POWERPC_PCI_H */ |