diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2003-06-29 21:21:26 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2003-06-29 21:21:26 +0000 |
commit | 8098e3b3652fa93c37cb874946c54c6a63f80579 (patch) | |
tree | 88d661be4b3a32c2641fd74558447568d34b652d /sys/dev/ic/nslm7xvar.h | |
parent | 425637c038da0f50979d98d55a665184ebfbe42c (diff) |
- cast rfact to int64_t before multiplication to avoid sign overflow
- don't hardcode funrpm sensors number in wb_fanrpm(), instead pass
it as a parameter since WB83697 actually has only 2 sensors, not 3
from Otto Moerbeek <otto@drijf.net>.
Diffstat (limited to 'sys/dev/ic/nslm7xvar.h')
-rw-r--r-- | sys/dev/ic/nslm7xvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/nslm7xvar.h b/sys/dev/ic/nslm7xvar.h index 483993fc1e7..50dcbfad79a 100644 --- a/sys/dev/ic/nslm7xvar.h +++ b/sys/dev/ic/nslm7xvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nslm7xvar.h,v 1.1 2003/04/25 21:24:15 grange Exp $ */ +/* $OpenBSD: nslm7xvar.h,v 1.2 2003/06/29 21:21:25 grange Exp $ */ /* $NetBSD: nslm7xvar.h,v 1.10 2002/11/15 14:55:42 ad Exp $ */ /*- @@ -114,7 +114,7 @@ #define WB_BANK5_VBAT 0x51 #define WB83781_NUM_SENSORS 13 -#define WB83697_NUM_SENSORS 14 +#define WB83697_NUM_SENSORS 13 #define WB_NUM_SENSORS 15 struct lm_softc { |