From 75859d3d37615a82995c00ab8555f76d2fcbcf8b Mon Sep 17 00:00:00 2001 From: "Constantine A. Murenin" Date: Fri, 10 Jul 2009 00:03:07 +0000 Subject: fix the mask for the sign bit and some comment; ok deraadt --- sys/dev/i2c/sdtemp.c | 6 +++--- 1 file 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 -/* 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 -- cgit v1.2.3