qemu-e2k/hw/pci-host
David Gibson 1115ff6d26 pci: Rename root bus initialization functions for clarity
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>
2017-12-05 19:13:45 +02:00
..
apb.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
bonito.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
gpex.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
grackle.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
Makefile.objs hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller 2017-02-21 23:49:29 +00:00
pam.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
piix.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
ppce500.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
prep.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
q35.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
uninorth.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
versatile.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
xilinx-pcie.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00