Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec,

automuting internal speakers.

Tested by:	Frederic Chardon
MFC after:	3 days
This commit is contained in:
Ariff Abdullah 2007-10-26 20:49:23 +00:00
parent 5f66cfca51
commit f29120c085
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173038

View File

@ -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;