diff options
author | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2009-07-10 00:03:07 +0000 |
---|---|---|
committer | Constantine A. Murenin <cnst@cvs.openbsd.org> | 2009-07-10 00:03:07 +0000 |
commit | 75859d3d37615a82995c00ab8555f76d2fcbcf8b (patch) | |
tree | 4d25db51d31cdb0175a675a04f2fda81bbeab489 /sys/dev/i2c/sdtemp.c | |
parent | 19047a85ede4ee90a5c8eaf64f320d9e10971f41 (diff) |
fix the mask for the sign bit and some comment; ok deraadt
Diffstat (limited to 'sys/dev/i2c/sdtemp.c')
-rw-r--r-- | sys/dev/i2c/sdtemp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/i2c/sdtemp.c b/sys/dev/i2c/sdtemp.c index c5fd66b6e7e..c56e6f4bcb7 100644 --- a/sys/dev/i2c/sdtemp.c +++ b/sys/dev/i2c/sdtemp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdtemp.c,v 1.7 2009/04/22 01:09:23 cnst Exp $ */ +/* $OpenBSD: sdtemp.c,v 1.8 2009/07/10 00:03:06 cnst Exp $ */ /* * Copyright (c) 2008 Theo de Raadt @@ -23,9 +23,9 @@ #include <dev/i2c/i2cvar.h> -/* JDEC JC-42.4 registers */ +/* JEDEC JC-42.4 registers */ #define JC_TEMP 0x05 -#define JC_TEMP_SIGN 0x10 +#define JC_TEMP_SIGN 0x1000 /* Sensors */ #define JCTEMP_TEMP 0 |