]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Assign resources on a per-bus basis
authorYinghai Lu <yinghai@kernel.org>
Mon, 22 Jul 2013 21:37:16 +0000 (14:37 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 25 Jul 2013 18:35:03 +0000 (12:35 -0600)
commitfa375a3791939bb2982098064bd5d19963dfc350
treed055dc5e4298e45eede69f51ce7ac14da2267bcd
parenta7bf9e8254c512da1ee60bfa1cf3f3100bf24173
PCI: Assign resources on a per-bus basis

Previously, we did resource assignment globally.  This patch splits up
pci_assign_unassigned_resources() so assignment is done for each root bus
in turn.  We check each root bus individually to see whether it needs any
reassignment, and if it does, we assign resources for just that bus.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-bus.c