diff options
Diffstat (limited to 'arch/sparc/kernel/pcic.c')
-rw-r--r-- | arch/sparc/kernel/pcic.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c index 6cc78c213c01..24384e1dc33d 100644 --- a/arch/sparc/kernel/pcic.c +++ b/arch/sparc/kernel/pcic.c | |||
@@ -391,12 +391,16 @@ static void __init pcic_pbm_scan_bus(struct linux_pcic *pcic) | |||
391 | struct linux_pbm_info *pbm = &pcic->pbm; | 391 | struct linux_pbm_info *pbm = &pcic->pbm; |
392 | 392 | ||
393 | pbm->pci_bus = pci_scan_bus(pbm->pci_first_busno, &pcic_ops, pbm); | 393 | pbm->pci_bus = pci_scan_bus(pbm->pci_first_busno, &pcic_ops, pbm); |
394 | if (!pbm->pci_bus) | ||
395 | return; | ||
396 | |||
394 | #if 0 /* deadwood transplanted from sparc64 */ | 397 | #if 0 /* deadwood transplanted from sparc64 */ |
395 | pci_fill_in_pbm_cookies(pbm->pci_bus, pbm, pbm->prom_node); | 398 | pci_fill_in_pbm_cookies(pbm->pci_bus, pbm, pbm->prom_node); |
396 | pci_record_assignments(pbm, pbm->pci_bus); | 399 | pci_record_assignments(pbm, pbm->pci_bus); |
397 | pci_assign_unassigned(pbm, pbm->pci_bus); | 400 | pci_assign_unassigned(pbm, pbm->pci_bus); |
398 | pci_fixup_irq(pbm, pbm->pci_bus); | 401 | pci_fixup_irq(pbm, pbm->pci_bus); |
399 | #endif | 402 | #endif |
403 | pci_bus_add_devices(pbm->pci_bus); | ||
400 | } | 404 | } |
401 | 405 | ||
402 | /* | 406 | /* |