Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81157
b: refs/heads/master
c: b1b166b
h: refs/heads/master
i:
  81155: 1f064eb
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Dec 21, 2007
1 parent 76c7b2a commit 9a6eb3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0094f2cdcfb6f2132b2ea3b4e85e0f6899c8595b
refs/heads/master: b1b166b7ea2ec15700a8ba5c6ec99c2f9ecad89e
5 changes: 3 additions & 2 deletions trunk/arch/powerpc/kernel/pci_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,10 @@ static int __init pcibios_init(void)
hose->last_busno = 0xff;
bus = pci_scan_bus_parented(hose->parent, hose->first_busno,
hose->ops, hose);
if (bus)
if (bus) {
pci_bus_add_devices(bus);
hose->last_busno = bus->subordinate;
hose->last_busno = bus->subordinate;
}
if (pci_assign_all_buses || next_busno <= hose->last_busno)
next_busno = hose->last_busno + pcibios_assign_bus_offset;
}
Expand Down

0 comments on commit 9a6eb3b

Please sign in to comment.