Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/pnpbios Add a bunch of PNP ID strings that are...



details:   https://anonhg.NetBSD.org/src/rev/a661606ca81d
branches:  trunk
changeset: 522296:a661606ca81d
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Fri Feb 15 22:06:50 2002 +0000

description:
Add a bunch of PNP ID strings that are apparantly for the ESS chips.
Snarfed from a Microsoft document.

diffstat:

 sys/arch/i386/pnpbios/ess_pnpbios.c |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r b18666fec900 -r a661606ca81d sys/arch/i386/pnpbios/ess_pnpbios.c
--- a/sys/arch/i386/pnpbios/ess_pnpbios.c       Fri Feb 15 22:01:37 2002 +0000
+++ b/sys/arch/i386/pnpbios/ess_pnpbios.c       Fri Feb 15 22:06:50 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ess_pnpbios.c,v 1.5 2001/11/15 07:03:35 lukem Exp $    */
+/*     $NetBSD: ess_pnpbios.c,v 1.6 2002/02/15 22:06:50 nathanw Exp $  */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ess_pnpbios.c,v 1.5 2001/11/15 07:03:35 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ess_pnpbios.c,v 1.6 2002/02/15 22:06:50 nathanw Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -77,7 +77,14 @@
 {
        struct pnpbiosdev_attach_args *aa = aux;
 
-       if (strcmp(aa->idstr, "ESS0104") && strcmp(aa->idstr, "ESS1869"))
+       if (strcmp(aa->idstr, "ESS0104") && /* 1788 */
+           strcmp(aa->idstr, "ESS0114") && /* 1788 */
+           strcmp(aa->idstr, "CPQAE27") && /* 1788 */
+           strcmp(aa->idstr, "ESS1869") && /* 1869 */
+           strcmp(aa->idstr, "CPQB0AB") && /* 1869 */
+           strcmp(aa->idstr, "CPQB0AC") && /* 1869 */
+           strcmp(aa->idstr, "CPQB0AD") && /* 1869 */
+           strcmp(aa->idstr, "CPQB0F1"))   /* 1869 */
                return (0);
 
        return (1);



Home | Main Index | Thread Index | Old Index