]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
dec_pci: QOM'ify DEC 21154 PCI-PCI bridge
authorAndreas Färber <afaerber@suse.de>
Mon, 20 Aug 2012 17:07:59 +0000 (19:07 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Aug 2012 15:47:15 +0000 (10:47 -0500)
commitab6153673727cc1b88258675fa02113cf3271aa8
tree5d01ed8a1d0386533d40e79ce622b3fb1f76ce66
parentc5589ee9745319944886231935680fb8d110e6cb
dec_pci: QOM'ify DEC 21154 PCI-PCI bridge

Introduce type constant. Introduce cast macro and drop dummy busdev
field used with FROM_SYSBUS() that would've broken SYS_BUS_DEVICE().
Avoid accessing parent fields directly.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/dec_pci.c
hw/dec_pci.h