projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a350f
)
PCI: sgihp: 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:26 +0000
(15:42 -0600)
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/sgi_hotplug.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/sgi_hotplug.c
b/drivers/pci/hotplug/sgi_hotplug.c
index de573113c102519e9851e70fc20c62fea5517683..b0bb3b537bb0facd406bc99381116d25b8668e31 100644
(file)
--- a/
drivers/pci/hotplug/sgi_hotplug.c
+++ b/
drivers/pci/hotplug/sgi_hotplug.c
@@
-398,11
+398,13
@@
static int enable_slot(struct hotplug_slot *bss_hotplug_slot)
sn_io_slot_fixup(dev);
if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) {
unsigned char sec_bus;
+ int max;
pci_read_config_byte(dev, PCI_SECONDARY_BUS,
&sec_bus);
new_bus = pci_add_new_bus(dev->bus, dev,
sec_bus);
- pci_scan_child_bus(new_bus);
+ max = pci_scan_child_bus(new_bus);
+ pci_bus_update_busn_res_end(new_bus, max);
new_ppb = 1;
}
pci_dev_put(dev);