summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host-bridge.c
Commit message (Collapse)AuthorAgeFilesLines
* PCI: add host bridge release supportYinghai Lu2012-04-301-0/+8
| | | | | | | We need a hook to release host bridge resources allocated when creating root bus. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
* PCI: add generic device into pci_host_bridge structYinghai Lu2012-04-301-14/+1Star
| | | | | | | | | | | | Use that device for pci_root_bus bridge pointer. Use pci_release_bus_bridge_dev() to release allocated pci_host_bridge in remove path. Use root bus bridge pointer to get host bridge pointer instead of searching host bridge list. That leaves the host bridge list unused, so remove it. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
* PCI: rename pci_host_bridge() to find_pci_root_bridge()Yinghai Lu2012-04-301-5/+13
| | | | | | | pci_host_bridge() looks like a C++ constructor. Also separate find_pci_root_bus() out. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
* PCI: move host bridge-related code to host-bridge.cYinghai Lu2012-04-301-0/+93
Move host bridge-related code from probe.c to a new host-bridge.c. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>