summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/pci.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-06-22 00:29:46 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 01:57:29 -0500
commit5229ee185287f4fd0d7809e6554b40ec83a4ba6c (patch)
treed256a3ede9fad13c47bdb7f04e1c005b83186c5b /arch/powerpc/platforms/85xx/pci.c
parent7d52c7b0cd46f42ae2c9df37f1a385d9aaf95842 (diff)
downloadblackbird-op-linux-5229ee185287f4fd0d7809e6554b40ec83a4ba6c.tar.gz
blackbird-op-linux-5229ee185287f4fd0d7809e6554b40ec83a4ba6c.zip
[POWERPC] Remove hack to determine the 2nd PHBs bus number
Now that we have the pci_controller in the exclude function we can easy figure out if the bus number is the PHB or not. The old style of using a variable setup at init time was actually broken and would only work in specific cases. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/pci.c')
-rw-r--r--arch/powerpc/platforms/85xx/pci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/85xx/pci.c b/arch/powerpc/platforms/85xx/pci.c
index 72a1bc5e0c2d..be67f67ee6f4 100644
--- a/arch/powerpc/platforms/85xx/pci.c
+++ b/arch/powerpc/platforms/85xx/pci.c
@@ -33,8 +33,6 @@
#define DBG(x...)
#endif
-int mpc85xx_pci2_busno = 0;
-
#ifdef CONFIG_PCI
int __init mpc85xx_add_bridge(struct device_node *dev)
{
@@ -74,7 +72,6 @@ int __init mpc85xx_add_bridge(struct device_node *dev)
setup_indirect_pci(hose, immr + 0x9000, immr + 0x9004);
primary = 0;
hose->bus_offset = hose->first_busno;
- mpc85xx_pci2_busno = hose->first_busno;
}
printk(KERN_INFO "Found MPC85xx PCI host bridge at 0x%016llx. "
OpenPOWER on IntegriCloud