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 LM75A ID register (for completeness).



details:   https://anonhg.NetBSD.org/src/rev/1c1b989ab234
branches:  trunk
changeset: 342654:1c1b989ab234
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sun Jan 03 17:28:33 2016 +0000

description:
Add LM75A ID register (for completeness).

diffstat:

 sys/dev/i2c/lm75reg.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r af2d82130411 -r 1c1b989ab234 sys/dev/i2c/lm75reg.h
--- a/sys/dev/i2c/lm75reg.h     Sun Jan 03 17:27:57 2016 +0000
+++ b/sys/dev/i2c/lm75reg.h     Sun Jan 03 17:28:33 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lm75reg.h,v 1.4 2013/08/07 19:38:45 soren Exp $        */
+/*     $NetBSD: lm75reg.h,v 1.5 2016/01/03 17:28:33 jdc Exp $  */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -66,6 +66,7 @@
 #define        LM75_REG_CONFIG                 0x01
 #define        LM75_REG_THYST_SET_POINT        0x02
 #define        LM75_REG_TOS_SET_POINT          0x03
+#define        LM75_REG_ID                     0x07    /* LM75A only */
 
 #define        LM77_REG_TCRIT_SET_POINT        0x03
 #define        LM77_REG_TLOW_SET_POINT         0x04



Home | Main Index | Thread Index | Old Index