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

Alexander Motin mav at FreeBSD.org
Mon Oct 16 12:54:55 UTC 2017


Author: mav
Date: Mon Oct 16 12:54:53 2017
New Revision: 324661
URL: https://svnweb.freebsd.org/changeset/base/324661

Log:
  Add Creative vendor ID.
  
  MFC after:	1 week

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

Modified: head/sys/dev/sound/pci/hda/hdac.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdac.c	Mon Oct 16 12:53:54 2017	(r324660)
+++ head/sys/dev/sound/pci/hda/hdac.c	Mon Oct 16 12:54:53 2017	(r324661)
@@ -175,6 +175,7 @@ static const struct {
 	{ HDA_NVIDIA_ALL, "NVIDIA",		0, 0 },
 	{ HDA_ATI_ALL,    "ATI",		0, 0 },
 	{ HDA_AMD_ALL,    "AMD",		0, 0 },
+	{ HDA_CREATIVE_ALL,    "Creative",	0, 0 },
 	{ HDA_VIA_ALL,    "VIA",		0, 0 },
 	{ HDA_SIS_ALL,    "SiS",		0, 0 },
 	{ HDA_ULI_ALL,    "ULI",		0, 0 },

Modified: head/sys/dev/sound/pci/hda/hdac.h
==============================================================================
--- head/sys/dev/sound/pci/hda/hdac.h	Mon Oct 16 12:53:54 2017	(r324660)
+++ head/sys/dev/sound/pci/hda/hdac.h	Mon Oct 16 12:54:53 2017	(r324661)
@@ -150,6 +150,10 @@
 #define RDC_VENDORID		0x17f3
 #define HDA_RDC_M3010		HDA_MODEL_CONSTRUCT(RDC, 0x3010)
 
+/* Creative */
+#define CREATIVE_VENDORID	0x1102
+#define HDA_CREATIVE_ALL	HDA_MODEL_CONSTRUCT(CREATIVE, 0xffff)
+
 /* VIA */
 #define VIA_VENDORID		0x1106
 #define HDA_VIA_VT82XX		HDA_MODEL_CONSTRUCT(VIA, 0x3288)


More information about the svn-src-all mailing list