From a90e5575514fb74a5a712415af7b9207d3178b97 Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok/asmodai Date: Wed, 21 Jan 2004 21:18:22 +0000 Subject: [PATCH] Add support for the following AC'97 codecs: Diamond Technology Monster (DT0398) Intersil (Harris) HMP9701 Integrated Technology Express (ITE) ITE2226E and ITE2646E Texas Instruments TLC320AD90 Winbond W83971D --- sys/dev/sound/pcm/ac97.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/sys/dev/sound/pcm/ac97.c b/sys/dev/sound/pcm/ac97.c index 3c1717ad44..3144848705 100644 --- a/sys/dev/sound/pcm/ac97.c +++ b/sys/dev/sound/pcm/ac97.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.49 2003/11/11 22:15:17 kuriyama Exp $ - * $DragonFly: src/sys/dev/sound/pcm/ac97.c,v 1.3 2004/01/21 20:02:08 asmodai Exp $ + * $DragonFly: src/sys/dev/sound/pcm/ac97.c,v 1.4 2004/01/21 21:18:22 asmodai Exp $ */ #include @@ -33,7 +33,7 @@ #include "mixer_if.h" -SND_DECLARE_FILE("$DragonFly: src/sys/dev/sound/pcm/ac97.c,v 1.3 2004/01/21 20:02:08 asmodai Exp $"); +SND_DECLARE_FILE("$DragonFly: src/sys/dev/sound/pcm/ac97.c,v 1.4 2004/01/21 21:18:22 asmodai Exp $"); MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec"); @@ -105,15 +105,20 @@ static const struct ac97_vendorid ac97vendorid[] = { { 0x43525900, "Cirrus Logic" }, { 0x434d4900, "C-Media Electronics" }, { 0x43585400, "Conexant" }, + { 0x44543000, "Diamond Technology" }, { 0x454d4300, "eMicro" }, { 0x45838300, "ESS Technology" }, + { 0x48525300, "Intersil" }, { 0x49434500, "ICEnsemble" }, + { 0x49544500, "ITE, Inc." }, { 0x4e534300, "National Semiconductor" }, { 0x50534300, "Philips Semiconductor" }, { 0x83847600, "SigmaTel" }, { 0x53494c00, "Silicon Laboratory" }, { 0x54524100, "TriTech" }, + { 0x54584e00, "Texas Instruments" }, { 0x56494100, "VIA Technologies" }, + { 0x57454300, "Winbond" }, { 0x574d4c00, "Wolfson" }, { 0x594d4800, "Yamaha" }, { 0x01408300, "Creative" }, @@ -152,13 +157,17 @@ static struct ac97_codecid ac97codecid[] = { { 0x434d4961, 0x00, 0, "CMI9739", 0 }, { 0x434d4941, 0x00, 0, "CMI9738", 0 }, { 0x43585429, 0x00, 0, "CX20468", 0 }, + { 0x44543000, 0x00, 0, "DT0398", 0 }, { 0x454d4323, 0x00, 0, "EM28023", 0 }, { 0x454d4328, 0x00, 0, "EM28028", 0 }, { 0x45838308, 0x00, 0, "ES1988", 0 }, /* Formerly ES1921(?) */ + { 0x48525300, 0x00, 0, "HMP9701", 0 }, { 0x49434501, 0x00, 0, "ICE1230", 0 }, { 0x49434511, 0x00, 0, "ICE1232", 0 }, { 0x49434514, 0x00, 0, "ICE1232A", 0 }, { 0x49434551, 0x03, 0, "VT1616", 0 }, /* Via badged ICE */ + { 0x49544520, 0x00, 0, "ITE2226E", 0 }, + { 0x49544560, 0x07, 0, "ITE2646E", 0 }, /* XXX: patch needed */ { 0x4e534340, 0x00, 0, "LM4540", 0 }, /* Spec blank on revid */ { 0x4e534343, 0x00, 0, "LM4543", 0 }, /* Ditto */ { 0x4e534346, 0x00, 0, "LM4546A", 0 }, @@ -186,11 +195,13 @@ static struct ac97_codecid ac97codecid[] = { { 0x54524106, 0x00, 0, "TR28026", 0 }, { 0x54524108, 0x00, 0, "TR28028", 0 }, { 0x54524123, 0x00, 0, "TR28602", 0 }, + { 0x54584320, 0x00, 0, "TLC320AD90", 0 }, { 0x56494161, 0x00, 0, "VIA1612A", 0 }, { 0x574d4c00, 0x00, 0, "WM9701A", 0 }, { 0x574d4c03, 0x00, 0, "WM9703/4/7/8", 0 }, { 0x574d4c04, 0x00, 0, "WM9704Q", 0 }, { 0x574d4c05, 0x00, 0, "WM9705/10", 0 }, + { 0x57454301, 0x00, 0, "W83971D", 0 }, { 0x594d4800, 0x00, 0, "YMF743", 0 }, { 0x594d4802, 0x00, 0, "YMF752", 0 }, { 0x594d4803, 0x00, 0, "YMF753", 0 }, -- 2.41.0