aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/sys_nautilus.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/sys_nautilus.c')
-rw-r--r--arch/alpha/kernel/sys_nautilus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/alpha/kernel/sys_nautilus.c b/arch/alpha/kernel/sys_nautilus.c
index 837c0fa58317..700686d04869 100644
--- a/arch/alpha/kernel/sys_nautilus.c
+++ b/arch/alpha/kernel/sys_nautilus.c
@@ -207,6 +207,9 @@ nautilus_init_pci(void)
207 207
208 /* Scan our single hose. */ 208 /* Scan our single hose. */
209 bus = pci_scan_bus(0, alpha_mv.pci_ops, hose); 209 bus = pci_scan_bus(0, alpha_mv.pci_ops, hose);
210 if (!bus)
211 return;
212
210 hose->bus = bus; 213 hose->bus = bus;
211 pcibios_claim_one_bus(bus); 214 pcibios_claim_one_bus(bus);
212 215
@@ -253,6 +256,7 @@ nautilus_init_pci(void)
253 for the root bus, so just clear it. */ 256 for the root bus, so just clear it. */
254 bus->self = NULL; 257 bus->self = NULL;
255 pci_fixup_irqs(alpha_mv.pci_swizzle, alpha_mv.pci_map_irq); 258 pci_fixup_irqs(alpha_mv.pci_swizzle, alpha_mv.pci_map_irq);
259 pci_bus_add_devices(bus);
256} 260}
257 261
258/* 262/*