Module Name: src
Committed By: rkujawa
Date: Tue Oct 15 13:43:51 UTC 2013
Modified Files:
src/sys/dev/i2c: mcp980xreg.h
Log Message:
Add forgotten register definitions for previous commit.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/mcp980xreg.h
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/mcp980xreg.h
diff -u src/sys/dev/i2c/mcp980xreg.h:1.1 src/sys/dev/i2c/mcp980xreg.h:1.2
--- src/sys/dev/i2c/mcp980xreg.h:1.1 Mon May 6 22:04:12 2013
+++ src/sys/dev/i2c/mcp980xreg.h Tue Oct 15 13:43:51 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: mcp980xreg.h,v 1.1 2013/05/06 22:04:12 rkujawa Exp $ */
+/* $NetBSD: mcp980xreg.h,v 1.2 2013/10/15 13:43:51 rkujawa Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -54,4 +54,8 @@
#define MCP980X_CONFIG_ADC_RES_11BIT 2
#define MCP980X_CONFIG_ADC_RES_12BIT 3
+#define MCP980X_TEMP_HYSTERESIS 0x2
+#define MCP980X_TEMP_LIMIT 0x3
+#define MCP980X_TEMP_HYSTLIMIT_INT_SHIFT 8
+
#endif /* _MCP980XREG_H_ */