summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-09-06 15:10:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-09-06 15:10:00 +0000
commit362ed32916d92454f9a388927dfa21d67f64ecd0 (patch)
tree5510a5a25a747a3aa56fef22deaf84884e8d742a /sys/dev/i2c
parente979741369bd50f2904c73d1c1a652a49928f6ef (diff)
negate -12V input value; spotted by Alexander Lobodzinski
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r--sys/dev/i2c/lm93.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/lm93.c b/sys/dev/i2c/lm93.c
index 75f21cfd9a2..a2569574ff0 100644
--- a/sys/dev/i2c/lm93.c
+++ b/sys/dev/i2c/lm93.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lm93.c,v 1.4 2007/09/05 20:40:55 deraadt Exp $ */
+/* $OpenBSD: lm93.c,v 1.5 2007/09/06 15:09:59 deraadt Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -107,7 +107,7 @@ struct {
{ LMN_IN12_V, LM93_IN12_V, "Mem_Core 2.6V", 2625, 0 },
{ LMN_IN13_V, LM93_IN13_V, "Mem_Vtt 1.3V", 1312, 0 },
{ LMN_IN14_V, LM93_IN14_V, "Gbit_Core 1.3V", 1312, 0 },
- { LMN_IN15_V, LM93_IN15_V, "-12V", 1236*10, 0 },
+ { LMN_IN15_V, LM93_IN15_V, "-12V", -1236*10, 0 },
{ LMN_IN16_V, LM93_IN16_V, "+3.3V S/B", 3600, 0 },
{ LMN_TACH1, LM93_TACH1L, "tach1", 0, 0 },