diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/nslm7x.c | 8 | ||||
-rw-r--r-- | sys/dev/ic/nslm7xvar.h | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/sys/dev/ic/nslm7x.c b/sys/dev/ic/nslm7x.c index 8524a9bdf99..fcd50ac3052 100644 --- a/sys/dev/ic/nslm7x.c +++ b/sys/dev/ic/nslm7x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nslm7x.c,v 1.9 2005/12/24 23:30:55 kettenis Exp $ */ +/* $OpenBSD: nslm7x.c,v 1.10 2005/12/25 10:23:27 kettenis Exp $ */ /* $NetBSD: nslm7x.c,v 1.17 2002/11/15 14:55:41 ad Exp $ */ /*- @@ -258,7 +258,11 @@ wb_match(struct lm_softc *sc) switch(j) { case WB_CHIPID_83781: case WB_CHIPID_83781_2: - printf(": W83781D\n"); + case AS_CHIPID_99127: + if (j == AS_CHIPID_99127) + printf(": AS99127F\n"); + else + printf(": W83781D\n"); for (i = 0; i < 7; ++i) { sc->sensors[i].type = SENSOR_VOLTS_DC; diff --git a/sys/dev/ic/nslm7xvar.h b/sys/dev/ic/nslm7xvar.h index f0433b1d30b..4b055856294 100644 --- a/sys/dev/ic/nslm7xvar.h +++ b/sys/dev/ic/nslm7xvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nslm7xvar.h,v 1.4 2003/10/21 18:58:49 jmc Exp $ */ +/* $OpenBSD: nslm7xvar.h,v 1.5 2005/12/25 10:23:27 kettenis Exp $ */ /* $NetBSD: nslm7xvar.h,v 1.10 2002/11/15 14:55:42 ad Exp $ */ /*- @@ -92,6 +92,7 @@ #define WB_BANK0_CHIPID 0x58 #define WB_CHIPID_83781 0x10 #define WB_CHIPID_83781_2 0x11 +#define AS_CHIPID_99127 0x31 /* Asus W83781D clone */ #define WB_CHIPID_83782 0x30 #define WB_CHIPID_83627 0x21 #define WB_CHIPID_83627THF 0x90 |