pci-bridge: Turn PCIBridge into abstract QOM type
commitf055e96bd4311d287c0e03faec02a1bdbc351925
authorAndreas Färber <afaerber@suse.de>
Thu, 11 Jul 2013 15:13:43 +0000 (11 17:13 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 18:44:47 +0000 (29 20:44 +0200)
treeb2fd16ffacacbb26c7da89f171ffc027da4d8c39
parent45c0a675f9572f236b4be881576de9a626d2618f
pci-bridge: Turn PCIBridge into abstract QOM type

Introduce TYPE_PCI_BRIDGE as base type and use PCI_BRIDGE() casts.

Reviewed-by: Don Koch <dkoch@verizon.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
[AF: Updated pbm-bridge parent to TYPE_PCI_BRIDGE]
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/pci-bridge/dec.c
hw/pci-bridge/i82801b11.c
hw/pci-bridge/ioh3420.c
hw/pci-bridge/pci_bridge_dev.c
hw/pci-bridge/xio3130_downstream.c
hw/pci-bridge/xio3130_upstream.c
hw/pci-host/apb.c
hw/pci/pci.c
hw/pci/pci_bridge.c
hw/pci/pcie.c
include/hw/pci/pci_bus.h