summaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-10-30 14:31:10 -0600
committerBjorn Helgaas <bhelgaas@google.com>2012-10-30 14:31:10 -0600
commit1778794031aae75d4464904319d320edc3e77d39 (patch)
treeb5157865ab7a86f320ec7fc8128b62ddbb7d0a16 /include/linux/pci.h
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff)
downloadlwn-1778794031aae75d4464904319d320edc3e77d39.tar.gz
lwn-1778794031aae75d4464904319d320edc3e77d39.zip
PCI: Separate out pci_assign_unassigned_bus_resources()
It is main portion of pci_rescan_bus(). Separate it out and prepare to use it for PCI root bus hot add later. 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 ee2179546c63..f543eb3b1c0c 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -958,6 +958,7 @@ void pci_bus_size_bridges(struct pci_bus *bus);
int pci_claim_resource(struct pci_dev *, int);
void pci_assign_unassigned_resources(void);
void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge);
+void pci_assign_unassigned_bus_resources(struct pci_bus *bus);
void pdev_enable_device(struct pci_dev *);
int pci_enable_resources(struct pci_dev *, int mask);
void pci_fixup_irqs(u8 (*)(struct pci_dev *, u8 *),