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

Mark Johnston markj at FreeBSD.org
Mon Apr 13 19:45:46 UTC 2020


Author: markj
Date: Mon Apr 13 19:45:45 2020
New Revision: 359894
URL: https://svnweb.freebsd.org/changeset/base/359894

Log:
  snd_hda(4): Recognize the ALC257 codec.
  
  PR:		245524
  Submitted by:	Jose Luis Duran <jlduran at gmail.com>
  MFC after:	1 week

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

Modified: head/sys/dev/sound/pci/hda/hdac.h
==============================================================================
--- head/sys/dev/sound/pci/hda/hdac.h	Mon Apr 13 19:22:05 2020	(r359893)
+++ head/sys/dev/sound/pci/hda/hdac.h	Mon Apr 13 19:45:45 2020	(r359894)
@@ -366,6 +366,7 @@
 #define HDA_CODEC_ALC235	HDA_CODEC_CONSTRUCT(REALTEK, 0x0235)
 #define HDA_CODEC_ALC255	HDA_CODEC_CONSTRUCT(REALTEK, 0x0255)
 #define HDA_CODEC_ALC256	HDA_CODEC_CONSTRUCT(REALTEK, 0x0256)
+#define HDA_CODEC_ALC257	HDA_CODEC_CONSTRUCT(REALTEK, 0x0257)
 #define HDA_CODEC_ALC260	HDA_CODEC_CONSTRUCT(REALTEK, 0x0260)
 #define HDA_CODEC_ALC262	HDA_CODEC_CONSTRUCT(REALTEK, 0x0262)
 #define HDA_CODEC_ALC267	HDA_CODEC_CONSTRUCT(REALTEK, 0x0267)

Modified: head/sys/dev/sound/pci/hda/hdacc.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdacc.c	Mon Apr 13 19:22:05 2020	(r359893)
+++ head/sys/dev/sound/pci/hda/hdacc.c	Mon Apr 13 19:45:45 2020	(r359894)
@@ -86,6 +86,7 @@ static const struct {
 	{ HDA_CODEC_ALC235, 0,		"Realtek ALC235" },
 	{ HDA_CODEC_ALC255, 0,		"Realtek ALC255" },
 	{ HDA_CODEC_ALC256, 0,		"Realtek ALC256" },
+	{ HDA_CODEC_ALC257, 0,		"Realtek ALC257" },
 	{ HDA_CODEC_ALC260, 0,		"Realtek ALC260" },
 	{ HDA_CODEC_ALC262, 0,		"Realtek ALC262" },
 	{ HDA_CODEC_ALC267, 0,		"Realtek ALC267" },


More information about the svn-src-all mailing list