diff options
author | Yinghai Lu <yinghai@kernel.org> | 2010-01-22 04:02:25 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-02-22 19:17:23 -0500 |
commit | 6841ec681a88b66651e4563040b9c7a7ad25d7b5 (patch) | |
tree | 412ddf4db54257d64136930ccd921e674fffd1f9 /include/linux/pci.h | |
parent | 977d17bb1749517b353874ccdc9b85abc7a58c2a (diff) |
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>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 8b79403cc072..f0c056780a1f 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -801,6 +801,7 @@ void pci_bus_assign_resources(const struct pci_bus *bus); | |||
801 | void pci_bus_size_bridges(struct pci_bus *bus); | 801 | void pci_bus_size_bridges(struct pci_bus *bus); |
802 | int pci_claim_resource(struct pci_dev *, int); | 802 | int pci_claim_resource(struct pci_dev *, int); |
803 | void pci_assign_unassigned_resources(void); | 803 | void pci_assign_unassigned_resources(void); |
804 | void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge); | ||
804 | void pdev_enable_device(struct pci_dev *); | 805 | void pdev_enable_device(struct pci_dev *); |
805 | void pdev_sort_resources(struct pci_dev *, struct resource_list *); | 806 | void pdev_sort_resources(struct pci_dev *, struct resource_list *); |
806 | int pci_enable_resources(struct pci_dev *, int mask); | 807 | int pci_enable_resources(struct pci_dev *, int mask); |