pci: move ids of config space into PCIDeviceInfo
authorIsaku Yamahata <yamahata@valinux.co.jp>
Wed, 25 May 2011 01:57:58 +0000 (10:57 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 12 Jun 2011 07:33:32 +0000 (10:33 +0300)
commit4bdd28792ee8b235bf12c0d288fa3995d5290449
tree7b5be659c76078f169f096036193ef2b1a9eb982
parentf705feb6cc5687cd3116ccba800a235ca487f26f
pci: move ids of config space into PCIDeviceInfo

vender id/device id... in configuration space are read-only registers
which are commonly defined for all pci devices.
So move those initialization into common place.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c
hw/pci.h