Module Name: src
Committed By: hubertf
Date: Fri Jun 5 12:42:43 UTC 2009
Modified Files:
src/sys/dev/i2c: adm1021.c
Log Message:
>From the specs: address 0xff gives the die revision
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/adm1021.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/i2c/adm1021.c
diff -u src/sys/dev/i2c/adm1021.c:1.2 src/sys/dev/i2c/adm1021.c:1.3
--- src/sys/dev/i2c/adm1021.c:1.2 Tue May 12 14:23:33 2009
+++ src/sys/dev/i2c/adm1021.c Fri Jun 5 12:42:43 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: adm1021.c,v 1.2 2009/05/12 14:23:33 cegger Exp $ */
+/* $NetBSD: adm1021.c,v 1.3 2009/06/05 12:42:43 hubertf Exp $ */
/* $OpenBSD: adm1021.c,v 1.27 2007/06/24 05:34:35 dlg Exp $ */
/*
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adm1021.c,v 1.2 2009/05/12 14:23:33 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adm1021.c,v 1.3 2009/06/05 12:42:43 hubertf Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -38,7 +38,7 @@
#define ADM1021_CONFIG_WRITE 0x09
#define ADM1021_CONFIG_RUN 0x40
#define ADM1021_COMPANY 0xfe /* contains 0x41 */
-#define ADM1021_STEPPING 0xff /* contains 0x3? */
+#define ADM1021_DIE_REVISION 0xff
/* Sensors */
#define ADMTEMP_INT 0