hw/ac97: Make a bunch of mixer registers read only
The Linux ac97 driver tries to see if optional things like video inputvolume control are available in 2 ways:1) See if the mute bit is set after reset, if it is no further tests are done2) If the mute bit is not set it does a write/read test of the mute bit...
hw/ac97: Use AC97_Record_Gain_Mute not AC97_Line_In_Volume_Mute
After commit 19677a380a70348134ed7650b294522617eb03fc:"hw/ac97: add support for volume control"
We are (correctly) using AC97_Record_Gain_Mute and not AC97_Line_In_Volume_Mutefor recording volume, but various places in hw/ac97 were still assumimg that...
hw/ac97: Mask out unused bits of volume controls
The Linux ac97 drivers does a number of register read/write tests tosee how much resolution a volume control actually has.
This patch takes this into account by masking out any bits written toa volume control reg which should not be there according to the spec....
hw/ac97: Mask out the EAPD bit on Powerdown Ctrl/Stat writes
The Linux AC97 driver tests this bit to decide wether or not to showan External amplifier toggle control.
This patch was also tested with a Windows XP guest without any issues.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>...
hw/ac97: Fix log message in mixer_load
Fix a small copy and paste error in logging.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>Signed-off-by: malc <av1474@comtv.ru>
fix build with pulseaudio versions older than 0.9.11
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: malc <av1474@comtv.ru>
Bail out if CONFIG_TCG_PASS_AREG0 is defined
Signed-off-by: malc <av1474@comtv.ru>
Restore consistent formatting
Merge remote-tracking branch 'kwolf/for-anthony' into staging
ATA: Allow WIN_SECURITY_FREEZE_LOCK as nop
When using Windows 8 with an AHCI disk drive, it issues a blue screen.The reason is that WIN_SECURITY_FREEZE_LOCK / CFA_WEAR_LEVEL is notsupported by our ATA implementation, but Windows expects it to be there....
View all revisions | View revisions
Also available in: Atom