Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Add the Avance Logic ALC203 code, found on e.g. a...
details: https://anonhg.NetBSD.org/src/rev/71cdcef2c0cd
branches: trunk
changeset: 771658:71cdcef2c0cd
user: mbalmer <mbalmer%NetBSD.org@localhost>
date: Sun Nov 27 15:08:04 2011 +0000
description:
Add the Avance Logic ALC203 code, found on e.g. alix3d3 boards.
diffstat:
sys/dev/ic/ac97.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (45 lines):
diff -r 7161edbb2ab7 -r 71cdcef2c0cd sys/dev/ic/ac97.c
--- a/sys/dev/ic/ac97.c Sun Nov 27 14:55:57 2011 +0000
+++ b/sys/dev/ic/ac97.c Sun Nov 27 15:08:04 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ac97.c,v 1.92 2011/11/23 23:07:31 jmcneill Exp $ */
+/* $NetBSD: ac97.c,v 1.93 2011/11/27 15:08:04 mbalmer Exp $ */
/* $OpenBSD: ac97.c,v 1.8 2000/07/19 09:01:35 csapuntz Exp $ */
/*
@@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ac97.c,v 1.92 2011/11/23 23:07:31 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ac97.c,v 1.93 2011/11/27 15:08:04 mbalmer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -632,6 +632,8 @@
0xffffffff, "Avance Logic ALC250", NULL, },
{ AC97_CODEC_ID('A', 'L', 'G', 0x60),
0xfffffff0, "Avance Logic ALC655", NULL, },
+ { AC97_CODEC_ID('A', 'L', 'G', 0x70),
+ 0xffffffff, "Avance Logic ALC203", NULL, },
{ AC97_CODEC_ID('A', 'L', 'G', 0x80),
0xfffffff0, "Avance Logic ALC658", NULL, },
{ AC97_CODEC_ID('A', 'L', 'G', 0x90),
@@ -1319,7 +1321,7 @@
for (i = 0; ; i++) {
if (ac97codecid[i].id == 0) {
char pnp[4];
-
+
AC97_GET_CODEC_ID(id, pnp);
#define ISASCII(c) ((c) >= ' ' && (c) < 0x7f)
if (ISASCII(pnp[0]) && ISASCII(pnp[1]) &&
@@ -1421,7 +1423,7 @@
if (rate != 44100) {
/* We can't believe ext_id */
as->ext_id = 0;
- aprint_normal_dev(sc_dev,
+ aprint_normal_dev(sc_dev,
"Ignore these capabilities.\n");
}
/* restore the default value */
Home |
Main Index |
Thread Index |
Old Index