diff options
author | ariff <ariff@FreeBSD.org> | 2007-07-01 17:28:58 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2007-07-01 17:28:58 +0000 |
commit | f8b50fddf23757c71ef760ba26e81ef5b523e0c1 (patch) | |
tree | fcc448819f06a17576650429c75e705670ed3304 /sys/dev/sound | |
parent | c00a304dcf08c0c6c5caed895b10e0419a742c96 (diff) | |
download | FreeBSD-src-f8b50fddf23757c71ef760ba26e81ef5b523e0c1.zip FreeBSD-src-f8b50fddf23757c71ef760ba26e81ef5b523e0c1.tar.gz |
Fix no-sound issues with ASUS A9T notebook.
Note: The offending quirk should have been made model/codec specific,
but since there were no records / log which model requires it, the quirk
logic had to be inverted (blacklist instead of whitelist).
Tested by: Arkadiy Dudevitch <dudevitch@englerllc.com>
Approved by: re (hrs)
MFC after: 3 days
Diffstat (limited to 'sys/dev/sound')
-rw-r--r-- | sys/dev/sound/pcm/ac97_patch.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/ac97_patch.c b/sys/dev/sound/pcm/ac97_patch.c index ae4c153..6e326ca 100644 --- a/sys/dev/sound/pcm/ac97_patch.c +++ b/sys/dev/sound/pcm/ac97_patch.c @@ -44,7 +44,13 @@ void ad1886_patch(struct ac97_info* codec) void ad198x_patch(struct ac97_info* codec) { - ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0420); + switch (ac97_getsubvendor(codec)) { + case 0x11931043: /* Not for ASUS A9T (probably else too). */ + break; + default: + ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0420); + break; + } } void ad1981b_patch(struct ac97_info* codec) |