qemu-e2k/hw/pci
David Gibson c473d18da1 pci: Use helper to find device's root bus in pci_find_domain()
Currently pci_find_domain() performs two functions - it locates the PCI
root bus above the given bus, then looks up that root bus's domain number.
This patch adds a helper function to perform the first task, finding the
root bus for a given PCI device.  This is then used in pci_find_domain().
This changes pci_find_domain()'s signature slightly, taking a PCIDevice
instead of a PCIBus - since all callers passed something of the form
dev->bus, this simplifies things slightly.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-07-07 23:10:57 +03:00
..
Makefile.objs pci: Cleanup configuration for pci-hotplug.c 2013-07-04 10:45:31 +03:00
msi.c
msix.c pci: add VMSTATE_MSIX 2013-06-03 11:37:44 +02:00
pci_bridge.c pci: Allow PCI bus creation interfaces to specify the type of bus 2013-03-26 21:02:18 +02:00
pci_host.c Fix typos and misspellings 2013-03-22 13:25:07 +01:00
pci-hotplug-old.c pci: Use helper to find device's root bus in pci_find_domain() 2013-07-07 23:10:57 +03:00
pci-stub.c
pci.c pci: Use helper to find device's root bus in pci_find_domain() 2013-07-07 23:10:57 +03:00
pcie_aer.c pci: Use helper to find device's root bus in pci_find_domain() 2013-07-07 23:10:57 +03:00
pcie_host.c
pcie_port.c pci_bridge: factor out common code 2013-03-26 21:02:17 +02:00
pcie.c pcie: Add endpoint capability initialization wrapper 2013-03-26 21:02:19 +02:00
shpc.c hw: move qdev-monitor.o to toplevel directory 2013-03-01 13:54:10 +01:00
slotid_cap.c hw: move qdev-monitor.o to toplevel directory 2013-03-01 13:54:10 +01:00