mirror of https://github.com/xemu-project/xemu.git
![]() pci_bus_init(), pci_bus_new_inplace(), pci_bus_new() and pci_register_bus() are misleadingly named. They're not used for initializing *any* PCI bus, but only for a root PCI bus. Non-root buses - i.e. ones under a logical PCI to PCI bridge - are instead created with a direct qbus_create_inplace() (see pci_bridge_initfn()). This patch renames the functions to make it clear they're only used for a root bus. 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> |
||
---|---|---|
.. | ||
Makefile.objs | ||
dec.c | ||
dec.h | ||
gen_pcie_root_port.c | ||
i82801b11.c | ||
ioh3420.c | ||
ioh3420.h | ||
pci_bridge_dev.c | ||
pci_expander_bridge.c | ||
pcie_pci_bridge.c | ||
pcie_root_port.c | ||
xio3130_downstream.c | ||
xio3130_downstream.h | ||
xio3130_upstream.c | ||
xio3130_upstream.h |