PCI: introduce pci_assign_unassigned_bridge_resources
authorYinghai Lu <yinghai@kernel.org>
Fri, 22 Jan 2010 09:02:25 +0000 (01:02 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:17:23 +0000 (16:17 -0800)
commit6841ec681a88b66651e4563040b9c7a7ad25d7b5
tree412ddf4db54257d64136930ccd921e674fffd1f9
parent977d17bb1749517b353874ccdc9b85abc7a58c2a
PCI: introduce pci_assign_unassigned_bridge_resources

For use by pciehp.

pci_setup_bridge() will not check enabled for the slot bridge, otherwise
update res is not updated to bridge BAR.  That is, bridge is already
enabled for port service.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Reviewed-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/setup-bus.c
include/linux/pci.h