aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/pci.h')
-rw-r--r--arch/powerpc/include/asm/pci.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h
index d9483c504d2d..7aca4839387b 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
@@ -61,8 +66,8 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
61} 66}
62 67
63#ifdef CONFIG_PCI 68#ifdef CONFIG_PCI
64extern void set_pci_dma_ops(struct dma_mapping_ops *dma_ops); 69extern void set_pci_dma_ops(struct dma_map_ops *dma_ops);
65extern struct dma_mapping_ops *get_pci_dma_ops(void); 70extern struct dma_map_ops *get_pci_dma_ops(void);
66#else /* CONFIG_PCI */ 71#else /* CONFIG_PCI */
67#define set_pci_dma_ops(d) 72#define set_pci_dma_ops(d)
68#define get_pci_dma_ops() NULL 73#define get_pci_dma_ops() NULL
@@ -228,6 +233,8 @@ extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
228 233
229extern void pcibios_setup_bus_devices(struct pci_bus *bus); 234extern void pcibios_setup_bus_devices(struct pci_bus *bus);
230extern void pcibios_setup_bus_self(struct pci_bus *bus); 235extern void pcibios_setup_bus_self(struct pci_bus *bus);
236extern void pcibios_setup_phb_io_space(struct pci_controller *hose);
237extern void pcibios_scan_phb(struct pci_controller *hose, void *sysdata);
231 238
232#endif /* __KERNEL__ */ 239#endif /* __KERNEL__ */
233#endif /* __ASM_POWERPC_PCI_H */ 240#endif /* __ASM_POWERPC_PCI_H */