]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Make pci_rescan_bus handle add_list
authorYinghai Lu <yinghai@kernel.org>
Sat, 21 Jan 2012 10:08:23 +0000 (02:08 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 14 Feb 2012 16:44:53 +0000 (08:44 -0800)
commitb2d2e89df857c81cb979c0548710a57d7b07dc27
tree4cc4a7d8059186eca4b20a9733f3c0954ff09d96
parent432656d998ff731f8c39dabd8bffefd8275b60b3
PCI: Make pci_rescan_bus handle add_list

This allows us to allocate resources to hotplug bridges during
remove/rescan.

We need to move the function to setup-bus.c so it can use
__pci_bus_size_bridges and __pci_bus_assign_resources directly to take
the add_list resource tracking list.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/probe.c
drivers/pci/setup-bus.c