aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/83xx/pci.c2
-rw-r--r--arch/powerpc/platforms/85xx/pci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/83xx/pci.c b/arch/powerpc/platforms/83xx/pci.c
index 8da935c6e269..f49ed277e843 100644
--- a/arch/powerpc/platforms/83xx/pci.c
+++ b/arch/powerpc/platforms/83xx/pci.c
@@ -61,6 +61,7 @@ int __init mpc83xx_add_bridge(struct device_node *dev)
61 " bus 0\n", dev->full_name); 61 " bus 0\n", dev->full_name);
62 } 62 }
63 63
64 pci_assign_all_buses = 1;
64 hose = pcibios_alloc_controller(); 65 hose = pcibios_alloc_controller();
65 if (!hose) 66 if (!hose)
66 return -ENOMEM; 67 return -ENOMEM;
@@ -80,7 +81,6 @@ int __init mpc83xx_add_bridge(struct device_node *dev)
80 if ((rsrc.start & 0xfffff) == 0x8600) { 81 if ((rsrc.start & 0xfffff) == 0x8600) {
81 setup_indirect_pci(hose, immr + 0x8380, immr + 0x8384); 82 setup_indirect_pci(hose, immr + 0x8380, immr + 0x8384);
82 primary = 0; 83 primary = 0;
83 hose->bus_offset = hose->first_busno;
84 } 84 }
85 85
86 printk(KERN_INFO "Found MPC83xx PCI host bridge at 0x%016llx. " 86 printk(KERN_INFO "Found MPC83xx PCI host bridge at 0x%016llx. "
diff --git a/arch/powerpc/platforms/85xx/pci.c b/arch/powerpc/platforms/85xx/pci.c
index be67f67ee6f4..a25b3e77a7d2 100644
--- a/arch/powerpc/platforms/85xx/pci.c
+++ b/arch/powerpc/platforms/85xx/pci.c
@@ -55,6 +55,7 @@ int __init mpc85xx_add_bridge(struct device_node *dev)
55 " bus 0\n", dev->full_name); 55 " bus 0\n", dev->full_name);
56 } 56 }
57 57
58 pci_assign_all_buses = 1;
58 hose = pcibios_alloc_controller(); 59 hose = pcibios_alloc_controller();
59 if (!hose) 60 if (!hose)
60 return -ENOMEM; 61 return -ENOMEM;
@@ -71,7 +72,6 @@ int __init mpc85xx_add_bridge(struct device_node *dev)
71 if ((rsrc.start & 0xfffff) == 0x9000) { 72 if ((rsrc.start & 0xfffff) == 0x9000) {
72 setup_indirect_pci(hose, immr + 0x9000, immr + 0x9004); 73 setup_indirect_pci(hose, immr + 0x9000, immr + 0x9004);
73 primary = 0; 74 primary = 0;
74 hose->bus_offset = hose->first_busno;
75 } 75 }
76 76
77 printk(KERN_INFO "Found MPC85xx PCI host bridge at 0x%016llx. " 77 printk(KERN_INFO "Found MPC85xx PCI host bridge at 0x%016llx. "