From 48d5bd2f8c1b609a7fd172a34e4f0d8417c6da62 Mon Sep 17 00:00:00 2001 From: matk Date: Fri, 23 Jan 2004 16:38:54 +0000 Subject: [PATCH] Sync with DFBSD v.1.16. Add new codecs IDs, fix some spelling. Approved by: des (interim mentor) --- sys/dev/sound/pcm/ac97.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/sys/dev/sound/pcm/ac97.c b/sys/dev/sound/pcm/ac97.c index 0a27e776fe0..e120e9589d8 100644 --- a/sys/dev/sound/pcm/ac97.c +++ b/sys/dev/sound/pcm/ac97.c @@ -102,15 +102,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" }, + { 0x53494c00, "Silicon Laboratories" }, { 0x54524100, "TriTech" }, + { 0x54584e00, "Texas Instruments" }, { 0x56494100, "VIA Technologies" }, + { 0x57454300, "Winbond" }, { 0x574d4c00, "Wolfson" }, { 0x594d4800, "Yamaha" }, { 0x01408300, "Creative" }, @@ -132,6 +137,8 @@ static struct ac97_codecid ac97codecid[] = { { 0x414b4d00, 0x00, 1, "AK4540", 0 }, { 0x414b4d01, 0x00, 1, "AK4542", 0 }, { 0x414b4d02, 0x00, 1, "AK4543", 0 }, + { 0x414b4d06, 0x00, 0, "AK4544A", 0 }, + { 0x454b4d07, 0x00, 0, "AK4545", 0 }, { 0x414c4320, 0x0f, 0, "ALC100", 0 }, { 0x414c4730, 0x0f, 0, "ALC101", 0 }, { 0x414c4710, 0x0f, 0, "ALC200", 0 }, @@ -139,6 +146,7 @@ static struct ac97_codecid ac97codecid[] = { { 0x414c4720, 0x0f, 0, "ALC650", 0 }, { 0x414c4760, 0x0f, 0, "ALC655", 0 }, { 0x414c4780, 0x0f, 0, "ALC658", 0 }, + { 0x414c4790, 0x0f, 0, "ALC850", 0 }, { 0x43525900, 0x07, 0, "CS4297", 0 }, { 0x43525910, 0x07, 0, "CS4297A", 0 }, { 0x43525920, 0x07, 0, "CS4294/98", 0 }, @@ -148,19 +156,24 @@ static struct ac97_codecid ac97codecid[] = { { 0x43525960, 0x07, 0, "CS4291A", 0 }, { 0x434d4961, 0x00, 0, "CMI9739", 0 }, { 0x434d4941, 0x00, 0, "CMI9738", 0 }, - { 0x43585429, 0x00, 0, "CX20468", 0 }, + { 0x43585421, 0x00, 0, "HSD11246", 0 }, + { 0x43585428, 0x07, 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 }, { 0x4e534348, 0x00, 0, "LM4548A", 0 }, - { 0x4e534331, 0x00, 0, "LM4549", 0 }, /* (?) */ + { 0x4e534331, 0x00, 0, "LM4549", 0 }, { 0x4e534349, 0x00, 0, "LM4549A", 0 }, { 0x4e534350, 0x00, 0, "LM4550", 0 }, { 0x50534301, 0x00, 0, "UCB1510", 0 }, @@ -183,11 +196,16 @@ static struct ac97_codecid ac97codecid[] = { { 0x54524106, 0x00, 0, "TR28026", 0 }, { 0x54524108, 0x00, 0, "TR28028", 0 }, { 0x54524123, 0x00, 0, "TR28602", 0 }, + { 0x54524e03, 0x07, 0, "TLV320AIC27", 0 }, + { 0x54584e20, 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 }, + { 0x574d4d09, 0x00, 0, "WM9709", 0 }, + { 0x574d4c12, 0x00, 0, "WM9711/12", 0 }, /* XXX: patch needed */ + { 0x57454301, 0x00, 0, "W83971D", 0 }, { 0x594d4800, 0x00, 0, "YMF743", 0 }, { 0x594d4802, 0x00, 0, "YMF752", 0 }, { 0x594d4803, 0x00, 0, "YMF753", 0 }, -- 2.45.2