diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-06-10 15:03:40 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-06-14 16:00:16 +1000 |
commit | cc406eb92d69690e26c3c5f52f48060c6c8c0b43 (patch) | |
tree | e73788c4a0d0d07fc6fa96e29f2e6c4d0bc03ffd /hw/phb3.c | |
parent | 72552138f07fb29dd7f4ceb0831f492e71b060d0 (diff) | |
download | skiboot-cc406eb92d69690e26c3c5f52f48060c6c8c0b43.zip skiboot-cc406eb92d69690e26c3c5f52f48060c6c8c0b43.tar.gz skiboot-cc406eb92d69690e26c3c5f52f48060c6c8c0b43.tar.bz2 |
core/pci: Extend pci_restore_bridge_buses() for PCI slot
Currently, pci_restore_bridge_buses() restores the assigned bus
ranges for all PCI bridges behind the specified PHB. This extends
the function and allows doing same thing for the PCI bridges behind
the specified slot. The extended functionality is going to be used
by PCI hotplug logic in the subsequent patches.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/phb3.c')
-rw-r--r-- | hw/phb3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2093,7 +2093,7 @@ static void phb3_setup_for_link_up(struct phb3 *p) */ if (p->flags & PHB3_RESTORE_BUS_NUM) { p->flags &= ~PHB3_RESTORE_BUS_NUM; - pci_restore_bridge_buses(&p->phb); + pci_restore_bridge_buses(&p->phb, NULL); } } |