]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: add helpers for building PCI bus resource lists
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:25:35 +0000 (16:25 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 6 Dec 2011 17:26:25 +0000 (09:26 -0800)
commitf111dd030be3257fe9c01098dc19b8c9d2d3d10a
tree85c22904ded0143e3330c9803b5831697d595253
parentdf33acf4c684119ab9882e5f29e49d5f29060df5
PCI: add helpers for building PCI bus resource lists

We'd like to supply a list of resources when we create a new PCI bus,
e.g., the root bus under a PCI host bridge.  These are helpers for
constructing that list.

These are exported because the plan is to replace this exported interface:
    pci_scan_bus_parented()
with this one:
    pci_add_resource(resources, ...)
    pci_scan_root_bus(..., resources)

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/bus.c
include/linux/pci.h