diff options
| author | 2009-07-10 00:03:06 +0000 | |
|---|---|---|
| committer | 2009-07-10 00:03:06 +0000 | |
| commit | 86dc91923b826be6254dc6f4e050e032ff9974a7 (patch) | |
| tree | 9e45c484af5f1bc0fc068864bb1b331babfa7d6d /sys/dev/i2c | |
| parent | repair -x (diff) | |
| download | wireguard-openbsd-86dc91923b826be6254dc6f4e050e032ff9974a7.tar.xz wireguard-openbsd-86dc91923b826be6254dc6f4e050e032ff9974a7.zip | |
fix the mask for the sign bit and some comment; ok deraadt
Diffstat (limited to 'sys/dev/i2c')
| -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 |
