aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2010-01-22 04:02:25 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-02-22 19:17:23 -0500
commit6841ec681a88b66651e4563040b9c7a7ad25d7b5 (patch)
tree412ddf4db54257d64136930ccd921e674fffd1f9 /include/linux/pci.h
parent977d17bb1749517b353874ccdc9b85abc7a58c2a (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.h1
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);
801void pci_bus_size_bridges(struct pci_bus *bus); 801void pci_bus_size_bridges(struct pci_bus *bus);
802int pci_claim_resource(struct pci_dev *, int); 802int pci_claim_resource(struct pci_dev *, int);
803void pci_assign_unassigned_resources(void); 803void pci_assign_unassigned_resources(void);
804void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge);
804void pdev_enable_device(struct pci_dev *); 805void pdev_enable_device(struct pci_dev *);
805void pdev_sort_resources(struct pci_dev *, struct resource_list *); 806void pdev_sort_resources(struct pci_dev *, struct resource_list *);
806int pci_enable_resources(struct pci_dev *, int mask); 807int pci_enable_resources(struct pci_dev *, int mask);