qemu/include/hw/pci
David Gibson 85c6e4fabb pci: Add root bus argument to pci_get_bus_devfn()
pci_get_bus_devfn() interprets a full PCI address string to give a PCIBus *
and device/function number within that bus.  Currently it assumes it is
working on an address under the primary PCI root bus.  This patch extends
it to allow the caller to specify a root bus.  This might seem a little odd
since the supplied address can (theoretically) include a PCI domain number.
However, attempting to use a non-zero domain number there is currently an
error, so that shouldn't really cause problems.

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
..
msi.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
msix.h pci: add VMSTATE_MSIX 2013-06-03 11:37:44 +02:00
pci.h pci: Add root bus argument to pci_get_bus_devfn() 2013-07-07 23:10:57 +03:00
pci_bridge.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pci_bus.h pci: use memory core for iommu support 2013-06-20 16:32:47 +02:00
pci_host.h pci: Replace pci_find_domain() with more general pci_root_bus_path() 2013-07-07 23:10:57 +03:00
pci_ids.h NVMe: Initial commit for new storage interface 2013-06-17 17:47:59 +02:00
pci_regs.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie_aer.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie_host.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie_port.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcie_regs.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
shpc.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
slotid_cap.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00