summaryrefslogtreecommitdiff
path: root/sys/dev/ipmivar.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-07-28 20:46:13 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-07-28 20:46:13 +0000
commite646117c074b1adcf0fba93a06659050d3008003 (patch)
tree9b277a45f0a8619185c289691efa52231cb1e031 /sys/dev/ipmivar.h
parentada49c0e14c7ffadf8df314ab60a3a0ccc577a9d (diff)
Only read 1 sensor at a time instead of all of them. This should help
systems that have a burst of activity every 10 seconds. Also lower the polling frequency from 10 to 5 seconds. ok jordan@
Diffstat (limited to 'sys/dev/ipmivar.h')
-rw-r--r--sys/dev/ipmivar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ipmivar.h b/sys/dev/ipmivar.h
index 196df24dc6a..7644f25ed4f 100644
--- a/sys/dev/ipmivar.h
+++ b/sys/dev/ipmivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipmivar.h,v 1.15 2006/05/21 20:55:26 alek Exp $ */
+/* $OpenBSD: ipmivar.h,v 1.16 2006/07/28 20:46:12 marco Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave
@@ -101,6 +101,8 @@ struct ipmi_softc {
struct rwlock sc_lock;
struct ipmi_bmc_args *sc_iowait_args;
+
+ struct ipmi_sensor *current_sensor;
};
struct ipmi_thread {