summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorConstantine A. Murenin <cnst@cvs.openbsd.org>2007-06-25 22:50:19 +0000
committerConstantine A. Murenin <cnst@cvs.openbsd.org>2007-06-25 22:50:19 +0000
commit761e9232f1d1ce2e8a80b8250d6d13fccc7d24ae (patch)
tree6b909cbf36d7f44c42d7bdec6a7d947bc454067f /sys
parentdee05d4bf02a3372ec1bab91858867b2ad24deb5 (diff)
support early W83627EHF-A; tested by Sam Fourman Jr; discussed with Gong Jun; ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/lm78.c6
-rw-r--r--sys/dev/ic/lm78var.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/ic/lm78.c b/sys/dev/ic/lm78.c
index 7323beecb52..80911066fcd 100644
--- a/sys/dev/ic/lm78.c
+++ b/sys/dev/ic/lm78.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lm78.c,v 1.19 2007/06/24 05:34:35 dlg Exp $ */
+/* $OpenBSD: lm78.c,v 1.20 2007/06/25 22:50:18 cnst Exp $ */
/*
* Copyright (c) 2005, 2006 Mark Kettenis
@@ -505,6 +505,10 @@ wb_match(struct lm_softc *sc)
printf(": W83627THF\n");
lm_setup_sensors(sc, w83637hf_sensors);
break;
+ case WB_CHIPID_W83627EHF_A:
+ printf(": W83627EHF-A\n");
+ lm_setup_sensors(sc, w83627ehf_sensors);
+ break;
case WB_CHIPID_W83627EHF:
printf(": W83627EHF\n");
lm_setup_sensors(sc, w83627ehf_sensors);
diff --git a/sys/dev/ic/lm78var.h b/sys/dev/ic/lm78var.h
index 7ab9437bd16..d664e3b0754 100644
--- a/sys/dev/ic/lm78var.h
+++ b/sys/dev/ic/lm78var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lm78var.h,v 1.13 2007/06/24 05:34:35 dlg Exp $ */
+/* $OpenBSD: lm78var.h,v 1.14 2007/06/25 22:50:18 cnst Exp $ */
/*
* Copyright (c) 2005, 2006 Mark Kettenis
@@ -111,6 +111,7 @@
#define WB_CHIPID_W83791SD 0x72
#define WB_CHIPID_W83792D 0x7a
#define WB_CHIPID_W83637HF 0x80
+#define WB_CHIPID_W83627EHF_A 0x88 /* early version, only for ASUS MBs */
#define WB_CHIPID_W83627THF 0x90
#define WB_CHIPID_W83627EHF 0xa1
#define WB_CHIPID_W83627DHG 0xc1