summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/mv64x60_pci.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-06-25 13:32:48 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 01:58:15 -0500
commit0a3786c5f7575c0739ad94057213b931a9423502 (patch)
tree8877819dec87178ffad772279642cde2e3b7a63a /arch/powerpc/sysdev/mv64x60_pci.c
parent5ab65ecdaffd85753e7ad957622afcd709a39deb (diff)
downloadop-kernel-dev-0a3786c5f7575c0739ad94057213b931a9423502.zip
op-kernel-dev-0a3786c5f7575c0739ad94057213b931a9423502.tar.gz
[POWERPC] Removed remnants of bus_offset
Removed the remants of bus_offset and use self_busno in the mv64x60 case and use pci_assign_all_buses on 83xx/85xx. 83xx/85xx have multiple PHBs and the firmwares on these devices tend not to handle topologies with P2P bridges well so we let Linux just reassign the bus numbers to match. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/mv64x60_pci.c')
-rw-r--r--arch/powerpc/sysdev/mv64x60_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/mv64x60_pci.c b/arch/powerpc/sysdev/mv64x60_pci.c
index 6b08e76..2e77384 100644
--- a/arch/powerpc/sysdev/mv64x60_pci.c
+++ b/arch/powerpc/sysdev/mv64x60_pci.c
@@ -147,7 +147,7 @@ static int __init mv64x60_add_bridge(struct device_node *dev)
hose->last_busno = bus_range ? bus_range[1] : 0xff;
setup_indirect_pci(hose, rsrc.start, rsrc.start + 4);
- hose->bus_offset = hose->first_busno;
+ hose->self_busno = hose->first_busno;
printk(KERN_INFO "Found MV64x60 PCI host bridge at 0x%016llx. "
"Firmware bus number: %d->%d\n",
OpenPOWER on IntegriCloud