qdev: update pci device registration.
commit0aab0d3a4a62505ab7e79ee0a67fe3f04f6dae23
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Jun 2009 12:12:07 +0000 (30 14:12 +0200)
committerPaul Brook <paul@codesourcery.com>
Thu, 9 Jul 2009 12:07:02 +0000 (9 13:07 +0100)
tree59539fa84519cc5cc7aa24c4c7cb0435edfbdfbb
parente2b19c85ea0f3fd6091386adfd3a2acd21107cb4
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