diff options
author | Ariff Abdullah <ariff@FreeBSD.org> | 2007-10-26 20:49:23 +0000 |
---|---|---|
committer | Ariff Abdullah <ariff@FreeBSD.org> | 2007-10-26 20:49:23 +0000 |
commit | f29120c085d47db057be0b73ac322502d93f53e3 (patch) | |
tree | a1e64c310cf999ece45f8fa734535fea3d562f27 /sys/dev/sound/pcm/ac97_patch.c | |
parent | 5f66cfca515d7183a3fe545fae6e65b8894b8550 (diff) | |
download | src-f29120c085d47db057be0b73ac322502d93f53e3.tar.gz src-f29120c085d47db057be0b73ac322502d93f53e3.zip |
Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec,
automuting internal speakers.
Tested by: Frederic Chardon
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=173038
Diffstat (limited to 'sys/dev/sound/pcm/ac97_patch.c')
-rw-r--r-- | sys/dev/sound/pcm/ac97_patch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/ac97_patch.c b/sys/dev/sound/pcm/ac97_patch.c index 6e326ca324c8..da6fb1bb3225 100644 --- a/sys/dev/sound/pcm/ac97_patch.c +++ b/sys/dev/sound/pcm/ac97_patch.c @@ -60,6 +60,7 @@ void ad1981b_patch(struct ac97_info* codec) */ switch (ac97_getsubvendor(codec)) { case 0x02d91014: /* IBM Thinkcentre */ + case 0x099c103c: /* HP nx6110 */ ac97_wrcd(codec, AC97_AD_JACK_SPDIF, ac97_rdcd(codec, AC97_AD_JACK_SPDIF) | 0x0800); break; |