Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316438
b: refs/heads/master
c: b17c0e6
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Bjorn Helgaas committed Jun 13, 2012
1 parent 25a3aa6 commit 6359991
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 30aa80da43a5f23728eae1516e3a1aad40e808dd
refs/heads/master: b17c0e6f665023ae729ca112516c7b6f3b71f9d3
5 changes: 4 additions & 1 deletion trunk/arch/tile/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ int __init pcibios_init(void)
if (pci_scan_flags[i] == 0 && controllers[i].ops != NULL) {
struct pci_controller *controller = &controllers[i];
struct pci_bus *bus;
LIST_HEAD(resources);

if (tile_init_irqs(i, controller)) {
pr_err("PCI: Could not initialize IRQs\n");
Expand All @@ -327,7 +328,9 @@ int __init pcibios_init(void)
* This is inlined in linux/pci.h and calls into
* pci_scan_bus_parented() in probe.c.
*/
bus = pci_scan_bus(0, controller->ops, controller);
pci_add_resource(&resources, &ioport_resource);
pci_add_resource(&resources, &iomem_resource);
bus = pci_scan_root_bus(NULL, 0, controller->ops, controller, &resources);
controller->root_bus = bus;
controller->last_busno = bus->busn_res.end;
}
Expand Down

0 comments on commit 6359991

Please sign in to comment.