qemu-e2k/include/hw/pci
David Gibson e492dc5a26 pci: Eliminate pci_find_primary_bus()
pci_find_primary_bus() only has one user, in pc_xen_hvm_init().  That's
inside the machine construction code, so it already has easy access to the
machine's primary PCI bus.

Get it directly, and thereby remove pci_find_primary_bus().  This removes
one of only a handful of users of the ugly pci_host_bridges global.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
2017-12-05 19:13:45 +02:00
..
msi.h
msix.h
pci_bridge.h pci: Move bridge data structures from pci_bus.h to pci_bridge.h 2017-12-05 19:13:45 +02:00
pci_bus.h pci: Move bridge data structures from pci_bus.h to pci_bridge.h 2017-12-05 19:13:45 +02:00
pci_host.h
pci_ids.h net: add Sun HME (Happy Meal Ethernet) on-board NIC 2017-09-21 08:38:42 +01:00
pci_regs.h
pci.h pci: Eliminate pci_find_primary_bus() 2017-12-05 19:13:45 +02:00
pcie_aer.h
pcie_host.h
pcie_port.h hw/pci: add QEMU-specific PCI capability to the Generic PCI Express Root Port 2017-09-08 16:15:17 +03:00
pcie_regs.h
pcie.h
shpc.h pci: Convert shpc_init() to Error 2017-07-03 22:29:49 +03:00
slotid_cap.h pci: Convert shpc_init() to Error 2017-07-03 22:29:49 +03:00