svn commit: r187721 - head/sys/dev/sound/pci/hda

Alexander Motin mav at FreeBSD.org
Mon Jan 26 07:55:16 PST 2009


Author: mav
Date: Mon Jan 26 15:55:15 2009
New Revision: 187721
URL: http://svn.freebsd.org/changeset/base/187721

Log:
  Specify analog beep pin widget for several AD codecs.
  It gives working speaker control for that systems.

Modified:
  head/sys/dev/sound/pci/hda/hdac.c

Modified: head/sys/dev/sound/pci/hda/hdac.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdac.c	Mon Jan 26 15:39:42 2009	(r187720)
+++ head/sys/dev/sound/pci/hda/hdac.c	Mon Jan 26 15:55:15 2009	(r187721)
@@ -83,7 +83,7 @@
 
 #include "mixer_if.h"
 
-#define HDA_DRV_TEST_REV	"20090113_0125"
+#define HDA_DRV_TEST_REV	"20090126_0126"
 
 SND_DECLARE_FILE("$FreeBSD$");
 
@@ -2585,8 +2585,15 @@ hdac_widget_getcaps(struct hdac_widget *
 	   Change beeper pin node type to beeper to help parser. */
 	*waspin = 0;
 	switch (id) {
+	case HDA_CODEC_AD1882:
+	case HDA_CODEC_AD1883:
+	case HDA_CODEC_AD1984:
+	case HDA_CODEC_AD1984A:
+	case HDA_CODEC_AD1984B:
+	case HDA_CODEC_AD1987:
 	case HDA_CODEC_AD1988:
 	case HDA_CODEC_AD1988B:
+	case HDA_CODEC_AD1989B:
 		beeper = 26;
 		break;
 	case HDA_CODEC_ALC260:


More information about the svn-src-head mailing list