qdev: update pci device registration.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Jun 2009 12:12:07 +0000 (14:12 +0200)
committerPaul Brook <paul@codesourcery.com>
Thu, 9 Jul 2009 12:07:02 +0000 (13:07 +0100)
commit8bcbc0eb090556d8414077117e66cb43969e8fd6
tree59539fa84519cc5cc7aa24c4c7cb0435edfbdfbb
parent0bc877c212e39660285b86d615ef96355b7499be
qdev: update pci device registration.

Makes pci_qdev_register take a PCIDeviceInfo struct instead of a bunch
of parameters.  Also adds config_read and config_write callbacks to
PCIDeviceInfo, so drivers needing these can be converted to the qdev
device API too.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/e1000.c
hw/eepro100.c
hw/lsi53c895a.c
hw/ne2000.c
hw/pci.c
hw/pci.h
hw/pcnet.c
hw/rtl8139.c
hw/versatile_pci.c
hw/virtio-pci.c