aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pcm/ac97_patch.c
diff options
context:
space:
mode:
authorAriff Abdullah <ariff@FreeBSD.org>2007-10-26 20:49:23 +0000
committerAriff Abdullah <ariff@FreeBSD.org>2007-10-26 20:49:23 +0000
commitf29120c085d47db057be0b73ac322502d93f53e3 (patch)
treea1e64c310cf999ece45f8fa734535fea3d562f27 /sys/dev/sound/pcm/ac97_patch.c
parent5f66cfca515d7183a3fe545fae6e65b8894b8550 (diff)
downloadsrc-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.c1
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;