Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Add forgotten register definitions for previous ...



details:   https://anonhg.NetBSD.org/src/rev/6e4f6b531ab8
branches:  trunk
changeset: 790501:6e4f6b531ab8
user:      rkujawa <rkujawa%NetBSD.org@localhost>
date:      Tue Oct 15 13:43:51 2013 +0000

description:
Add forgotten register definitions for previous commit.

diffstat:

 sys/dev/i2c/mcp980xreg.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6da8445d3289 -r 6e4f6b531ab8 sys/dev/i2c/mcp980xreg.h
--- a/sys/dev/i2c/mcp980xreg.h  Tue Oct 15 13:42:52 2013 +0000
+++ b/sys/dev/i2c/mcp980xreg.h  Tue Oct 15 13:43:51 2013 +0000
@@ -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_ */



Home | Main Index | Thread Index | Old Index