ac97: don't override the pci subsystem id
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 7 Nov 2011 15:33:09 +0000 (16:33 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 7 Nov 2011 16:57:37 +0000 (10:57 -0600)
commit25a21c94c0055e078acb7f7455e66c8a15f32385
tree2e121785fdc62ac0652287924aa3eddf2b6fc8af
parent19857e625a8dc299b3fdfb8acdcbe1569745e290
ac97: don't override the pci subsystem id

This patch removes the code lines which set the subsystem id for the
emulated ac97 card to 8086:0000.  Due to the device id being zero the
subsystem id isn't vaild anyway.  With the patch applied the sound card
gets the default qemu subsystem id (1af4:1100) instead.

[ v2: old & broken id is maintained for -M pc-$oldqemuversion ]

Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/ac97.c
hw/pc_piix.c