summaryrefslogtreecommitdiff
path: root/slirp/slirp_config.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-05-07 09:24:37 +0200
committermalc <av1474@comtv.ru>2012-05-07 16:31:40 +0400
commit7873bfb866c89f9e6eab28b14d0c2007b361150c (patch)
tree52fae75f15b2fbdabc29f5c08e5d9964f487a6b3 /slirp/slirp_config.h
parentf94e9b9b3535ea977c5a919f88adf36da95a8292 (diff)
downloadqemu-7873bfb866c89f9e6eab28b14d0c2007b361150c.tar.gz
qemu-7873bfb866c89f9e6eab28b14d0c2007b361150c.tar.bz2
qemu-7873bfb866c89f9e6eab28b14d0c2007b361150c.zip
hw/ac97: Mask out unused bits of volume controls
The Linux ac97 drivers does a number of register read/write tests to see how much resolution a volume control actually has. This patch takes this into account by masking out any bits written to a volume control reg which should not be there according to the spec. After this the Linux ac97 driver correctly uses a range of 0 - 0x1f for the PCM out volume, as stated in the spec, and we can fix the FIXME in update_combined_volume_out(). This patch was also tested with a Windows XP guest without any issues. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'slirp/slirp_config.h')
0 files changed, 0 insertions, 0 deletions