pcnet: make subsystem vendor id match hardware
commit7a7e5db99399dd5e17fc75036577f822a516b504
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 15 Mar 2010 11:34:16 +0000 (15 13:34 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 15 Mar 2010 11:52:06 +0000 (15 13:52 +0200)
tree30b3d86d69af9686946fff4fc163d809b23f219b
parent15e89f5916c9e82347cbd1fd416db3e348bab426
pcnet: make subsystem vendor id match hardware

Real pcnet device (AT2450) apparently has subsystem
device and vendor id set to 0, this is out of spec
(which requires that vendor id is obtained from PCI SIG)
but windows xp driver seems to need this in order
to associate.

qemu sets pci subsystem id to qumranet/qemu
since d350d97d196a632b6c7493acf07a061017fc6f7d,
debian does not yet have this patch.

https://bugzilla.redhat.com/show_bug.cgi?id=521247

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>
hw/pcnet.c