aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-10-30 16:31:10 -0400
committerBjorn Helgaas <bhelgaas@google.com>2012-10-30 16:31:10 -0400
commit1778794031aae75d4464904319d320edc3e77d39 (patch)
treeb5157865ab7a86f320ec7fc8128b62ddbb7d0a16 /include/linux/pci.h
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff)
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);
958int pci_claim_resource(struct pci_dev *, int); 958int pci_claim_resource(struct pci_dev *, int);
959void pci_assign_unassigned_resources(void); 959void pci_assign_unassigned_resources(void);
960void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge); 960void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge);
961void pci_assign_unassigned_bus_resources(struct pci_bus *bus);
961void pdev_enable_device(struct pci_dev *); 962void pdev_enable_device(struct pci_dev *);
962int pci_enable_resources(struct pci_dev *, int mask); 963int pci_enable_resources(struct pci_dev *, int mask);
963void pci_fixup_irqs(u8 (*)(struct pci_dev *, u8 *), 964void pci_fixup_irqs(u8 (*)(struct pci_dev *, u8 *),