DragonFly bugs List (threaded) for 2007-05
DragonFly BSD
DragonFly bugs List (threaded) for 2007-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

patch to add Realtek ALC862 codec support to hda


From: Joe Talbott <josepht@xxxxxxxxxx>
Date: Thu, 10 May 2007 17:09:39 -0400
Mail-followup-to: bugs@crater.dragonflybsd.org

Here's a small patch to add support for Realtek ALC862 codec to the hda
sound driver.

Joe
Index: sys/dev/sound/pci/hda/hdac.c
===================================================================
RCS file: /home/dcvs/src/sys/dev/sound/pci/hda/hdac.c,v
retrieving revision 1.2
diff -u -r1.2 hdac.c
--- sys/dev/sound/pci/hda/hdac.c	6 Jan 2007 08:34:52 -0000	1.2
+++ sys/dev/sound/pci/hda/hdac.c	20 Feb 2007 00:05:49 -0000
@@ -347,6 +347,7 @@
 #define REALTEK_VENDORID	0x10ec
 #define HDA_CODEC_ALC260	HDA_CODEC_CONSTRUCT(REALTEK, 0x0260)
 #define HDA_CODEC_ALC861	HDA_CODEC_CONSTRUCT(REALTEK, 0x0861)
+#define HDA_CODEC_ALC862	HDA_CODEC_CONSTRUCT(REALTEK, 0x0862)
 #define HDA_CODEC_ALC880	HDA_CODEC_CONSTRUCT(REALTEK, 0x0880)
 #define HDA_CODEC_ALC882	HDA_CODEC_CONSTRUCT(REALTEK, 0x0882)
 #define HDA_CODEC_ALC883	HDA_CODEC_CONSTRUCT(REALTEK, 0x0883)
@@ -395,6 +396,7 @@
 } hdac_codecs[] = {
 	{ HDA_CODEC_ALC260,    "Realtek ALC260" },
 	{ HDA_CODEC_ALC861,    "Realtek ALC861" },
+	{ HDA_CODEC_ALC862,    "Realtek ALC862" },
 	{ HDA_CODEC_ALC880,    "Realtek ALC880" },
 	{ HDA_CODEC_ALC882,    "Realtek ALC882" },
 	{ HDA_CODEC_ALC883,    "Realtek ALC883" },


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]