aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/pci-bridge.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-22 01:03:21 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-22 01:03:21 -0400
commitf7abbc190b0edec34627d5348ba1d5fa5577da77 (patch)
treedc6a97aaef1cf9174af7e09329db85be0af13c16 /include/asm-ppc64/pci-bridge.h
parenta5b518ed314bfd25ea5e433ce09f8b27080023db (diff)
ppc64: Add a `primary' argument to pci_process_bridge_OF_ranges
... for consistency with ppc32 and to make the powermac merge easier. Also make it use just a single resource in the host bridge for multiple consecutive elements of the ranges property. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc64/pci-bridge.h')
-rw-r--r--include/asm-ppc64/pci-bridge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc64/pci-bridge.h b/include/asm-ppc64/pci-bridge.h
index 7d8ecb507a3d..60cf8c838af0 100644
--- a/include/asm-ppc64/pci-bridge.h
+++ b/include/asm-ppc64/pci-bridge.h
@@ -123,7 +123,7 @@ static inline struct device_node *pci_bus_to_OF_node(struct pci_bus *bus)
123} 123}
124 124
125extern void pci_process_bridge_OF_ranges(struct pci_controller *hose, 125extern void pci_process_bridge_OF_ranges(struct pci_controller *hose,
126 struct device_node *dev); 126 struct device_node *dev, int primary);
127 127
128extern int pcibios_remove_root_bus(struct pci_controller *phb); 128extern int pcibios_remove_root_bus(struct pci_controller *phb);
129 129