]> 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, 13 Dec 2011 18:42:09 +0000 (10:42 -0800)
commit8799a340a0529f0a211ec53657fb49e2820c1a2b
treef970a435c69742dd71d0b6f37a45b8274a91686b
parente86116063eae15db03f17526fd8e5e509985dba6
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