aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-11-04 00:39:31 -0400
committerBjorn Helgaas <bhelgaas@google.com>2013-01-07 17:58:48 -0500
commit3c449ed0075994b3f3371f8254560428ba787efc (patch)
treed4ed374d484cc1818c47b66fb71c1955ee277ae9 /include/linux/pci.h
parentb95168e010a405add13aa010d7c45b55dc4026c7 (diff)
PCI/ACPI: Reserve firmware-allocated resources for hot-added root buses
Firmware may have assigned PCI BARs for hot-added devices, so reserve those resources before trying to allocate more. [bhelgaas: move empty weak definition here] Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
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 15472d691ee6..907b455ab603 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -674,6 +674,7 @@ extern struct list_head pci_root_buses; /* list of all known PCI buses */
674/* Some device drivers need know if pci is initiated */ 674/* Some device drivers need know if pci is initiated */
675extern int no_pci_devices(void); 675extern int no_pci_devices(void);
676 676
677void pcibios_resource_survey_bus(struct pci_bus *bus);
677void pcibios_fixup_bus(struct pci_bus *); 678void pcibios_fixup_bus(struct pci_bus *);
678int __must_check pcibios_enable_device(struct pci_dev *, int mask); 679int __must_check pcibios_enable_device(struct pci_dev *, int mask);
679/* Architecture specific versions may override this (weak) */ 680/* Architecture specific versions may override this (weak) */