Add more codec IDs.

This commit is contained in:
Alexander Motin 2009-11-13 21:06:33 +00:00
parent 4c1195a4d1
commit a1c0421a4a

View File

@ -86,7 +86,7 @@
#include "mixer_if.h"
#define HDA_DRV_TEST_REV "20090929_0137"
#define HDA_DRV_TEST_REV "20091113_0138"
SND_DECLARE_FILE("$FreeBSD$");
@ -764,6 +764,16 @@ static const struct {
#define HDA_CODEC_VT1702_5 HDA_CODEC_CONSTRUCT(VIA, 0x5398)
#define HDA_CODEC_VT1702_6 HDA_CODEC_CONSTRUCT(VIA, 0x6398)
#define HDA_CODEC_VT1702_7 HDA_CODEC_CONSTRUCT(VIA, 0x7398)
#define HDA_CODEC_VT1716S_0 HDA_CODEC_CONSTRUCT(VIA, 0x0433)
#define HDA_CODEC_VT1716S_1 HDA_CODEC_CONSTRUCT(VIA, 0xa721)
#define HDA_CODEC_VT1718S_0 HDA_CODEC_CONSTRUCT(VIA, 0x0428)
#define HDA_CODEC_VT1718S_1 HDA_CODEC_CONSTRUCT(VIA, 0x4428)
#define HDA_CODEC_VT1812 HDA_CODEC_CONSTRUCT(VIA, 0x0448)
#define HDA_CODEC_VT1818S HDA_CODEC_CONSTRUCT(VIA, 0x0440)
#define HDA_CODEC_VT1828S HDA_CODEC_CONSTRUCT(VIA, 0x4441)
#define HDA_CODEC_VT2002P_0 HDA_CODEC_CONSTRUCT(VIA, 0x0438)
#define HDA_CODEC_VT2002P_1 HDA_CODEC_CONSTRUCT(VIA, 0x4438)
#define HDA_CODEC_VT2020 HDA_CODEC_CONSTRUCT(VIA, 0x0441)
#define HDA_CODEC_VTXXXX HDA_CODEC_CONSTRUCT(VIA, 0xffff)
/* ATI */
@ -786,6 +796,7 @@ static const struct {
#define HDA_CODEC_INTELG45_2 HDA_CODEC_CONSTRUCT(INTEL, 0x2802)
#define HDA_CODEC_INTELG45_3 HDA_CODEC_CONSTRUCT(INTEL, 0x2803)
#define HDA_CODEC_INTELG45_4 HDA_CODEC_CONSTRUCT(INTEL, 0x29fb)
#define HDA_CODEC_INTELQ57 HDA_CODEC_CONSTRUCT(INTEL, 0x0054)
#define HDA_CODEC_INTELXXXX HDA_CODEC_CONSTRUCT(INTEL, 0xffff)
/* Codecs */
@ -917,6 +928,16 @@ static const struct {
{ HDA_CODEC_VT1702_5, "VIA VT1702_5" },
{ HDA_CODEC_VT1702_6, "VIA VT1702_6" },
{ HDA_CODEC_VT1702_7, "VIA VT1702_7" },
{ HDA_CODEC_VT1716S_0, "VIA VT1716S_0" },
{ HDA_CODEC_VT1716S_1, "VIA VT1716S_1" },
{ HDA_CODEC_VT1718S_0, "VIA VT1718S_0" },
{ HDA_CODEC_VT1718S_1, "VIA VT1718S_1" },
{ HDA_CODEC_VT1812, "VIA VT1812" },
{ HDA_CODEC_VT1818S, "VIA VT1818S" },
{ HDA_CODEC_VT1828S, "VIA VT1828S" },
{ HDA_CODEC_VT2002P_0, "VIA VT2002P_0" },
{ HDA_CODEC_VT2002P_1, "VIA VT2002P_1" },
{ HDA_CODEC_VT2020, "VIA VT2020" },
{ HDA_CODEC_ATIRS600_1,"ATI RS600 HDMI" },
{ HDA_CODEC_ATIRS600_2,"ATI RS600 HDMI" },
{ HDA_CODEC_ATIRS690, "ATI RS690/780 HDMI" },
@ -930,6 +951,7 @@ static const struct {
{ HDA_CODEC_INTELG45_2, "Intel G45 HDMI" },
{ HDA_CODEC_INTELG45_3, "Intel G45 HDMI" },
{ HDA_CODEC_INTELG45_4, "Intel G45 HDMI" },
{ HDA_CODEC_INTELQ57, "Intel Q57 HDMI" },
{ HDA_CODEC_SII1390, "Silicon Image SiI1390 HDMI" },
{ HDA_CODEC_SII1392, "Silicon Image SiI1392 HDMI" },
/* Unknown codec */