qemu-e2k/hw/pci
Marcel Apfelbaum ce6a28ee05 hw/pci: made pci_bus_is_root a PCIBusClass method
Refactoring it as a method of PCIBusClass will allow
different implementations for subclasses.

Removed the assumption that the root bus does not
have a parent device because is specific only
to the default class implementation.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
2015-06-03 18:19:16 +02:00
..
Makefile.objs pci-hotplug-old: Has been dead for five major releases, bury 2015-03-01 12:37:54 +01:00
msi.c Add stream ID to MSI write 2015-05-31 20:29:02 +02:00
msix.c Add stream ID to MSI write 2015-05-31 20:29:02 +02:00
pci-stub.c hmp: Name HMP command handler functions hmp_COMMAND() 2015-02-18 11:58:30 +01:00
pci.c hw/pci: made pci_bus_is_root a PCIBusClass method 2015-06-03 18:19:16 +02:00
pci_bridge.c pci_bridge: manually destroy memory regions within PCIBridgeWindows 2014-08-25 00:16:06 +02:00
pci_host.c hw/pci/pci_host.c: Avoid shifting left into sign bit 2014-03-27 19:22:49 +04:00
pcie.c pcie: correct mistaken register bit for End-End TLP Prefix Blocking 2015-03-18 12:14:45 +01:00
pcie_aer.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
pcie_host.c pcie: remove mmconfig memory leak and wrap mmconfig update with transaction 2015-02-16 17:24:53 +01:00
pcie_port.c qdev: HotplugHandler: Rename unplug callback to unplug_request 2014-10-15 05:03:13 +02:00
shpc.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
slotid_cap.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00