aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-05-18 13:35:50 -0400
committerBjorn Helgaas <bhelgaas@google.com>2012-06-13 17:42:22 -0400
commit98a3583107ed587ed3cfe2a1d8e5347421de5a80 (patch)
tree402af5b2aee4af6f6ffaefb0f856b33f70e4a9b5 /include
parent82ec90eac304e81b1389175b4dded7abecc678ef (diff)
PCI: add busn_res operation functions
Will use them insert/update busn res in pci_bus struct. [bhelgaas: print conflicting entry if insertion fails] Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 6b10966cd1b9..c4df570f3bbb 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -667,6 +667,9 @@ struct pci_bus *pci_scan_bus(int bus, struct pci_ops *ops, void *sysdata);
667struct pci_bus *pci_create_root_bus(struct device *parent, int bus, 667struct pci_bus *pci_create_root_bus(struct device *parent, int bus,
668 struct pci_ops *ops, void *sysdata, 668 struct pci_ops *ops, void *sysdata,
669 struct list_head *resources); 669 struct list_head *resources);
670int pci_bus_insert_busn_res(struct pci_bus *b, int bus, int busmax);
671int pci_bus_update_busn_res_end(struct pci_bus *b, int busmax);
672void pci_bus_release_busn_res(struct pci_bus *b);
670struct pci_bus * __devinit pci_scan_root_bus(struct device *parent, int bus, 673struct pci_bus * __devinit pci_scan_root_bus(struct device *parent, int bus,
671 struct pci_ops *ops, void *sysdata, 674 struct pci_ops *ops, void *sysdata,
672 struct list_head *resources); 675 struct list_head *resources);