diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-22 01:03:21 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-22 01:03:21 -0400 |
commit | f7abbc190b0edec34627d5348ba1d5fa5577da77 (patch) | |
tree | dc6a97aaef1cf9174af7e09329db85be0af13c16 /arch/ppc64/kernel/maple_pci.c | |
parent | a5b518ed314bfd25ea5e433ce09f8b27080023db (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 'arch/ppc64/kernel/maple_pci.c')
-rw-r--r-- | arch/ppc64/kernel/maple_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/maple_pci.c b/arch/ppc64/kernel/maple_pci.c index b901470f55cc..633324b5e61b 100644 --- a/arch/ppc64/kernel/maple_pci.c +++ b/arch/ppc64/kernel/maple_pci.c | |||
@@ -359,7 +359,7 @@ static int __init add_bridge(struct device_node *dev) | |||
359 | 359 | ||
360 | /* Interpret the "ranges" property */ | 360 | /* Interpret the "ranges" property */ |
361 | /* This also maps the I/O region and sets isa_io/mem_base */ | 361 | /* This also maps the I/O region and sets isa_io/mem_base */ |
362 | pci_process_bridge_OF_ranges(hose, dev); | 362 | pci_process_bridge_OF_ranges(hose, dev, primary); |
363 | pci_setup_phb_io(hose, primary); | 363 | pci_setup_phb_io(hose, primary); |
364 | 364 | ||
365 | /* Fixup "bus-range" OF property */ | 365 | /* Fixup "bus-range" OF property */ |