projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4508787
)
PCI: ibmhp: register busn_res
author
Yinghai Lu
<yinghai@kernel.org>
Fri, 18 May 2012 01:51:13 +0000
(18:51 -0700)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 13 Jun 2012 21:42:25 +0000
(15:42 -0600)
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/ibmphp_core.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/ibmphp_core.c
b/drivers/pci/hotplug/ibmphp_core.c
index
4fda7e6
..
a62f296
100644
(file)
--- a/
drivers/pci/hotplug/ibmphp_core.c
+++ b/
drivers/pci/hotplug/ibmphp_core.c
@@
-805,9
+805,11
@@
static int ibm_configure_device(struct pci_func *func)
}
}
if (!(flag) && (func->dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)) {
+ int max;
pci_read_config_byte(func->dev, PCI_SECONDARY_BUS, &bus);
child = pci_add_new_bus(func->dev->bus, func->dev, bus);
- pci_do_scan_bus(child);
+ max = pci_do_scan_bus(child);
+ pci_bus_update_busn_res_end(child, max);
}
return 0;