summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2005-10-23 13:52:13 +0000
committerkettenis <kettenis@openbsd.org>2005-10-23 13:52:13 +0000
commitba4302c2a6d693748961f5ca8ae5629ece7856ee (patch)
treec6c372b2cb9958b03fe03d9a8270ed0ec05d9409 /sys
parentPreliminary sensors support for iMac G5. (diff)
downloadwireguard-openbsd-ba4302c2a6d693748961f5ca8ae5629ece7856ee.tar.xz
wireguard-openbsd-ba4302c2a6d693748961f5ca8ae5629ece7856ee.zip
Document units.
ok dlg@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/sensors.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/sensors.h b/sys/sys/sensors.h
index 15c28163bfa..38b44cb7508 100644
--- a/sys/sys/sensors.h
+++ b/sys/sys/sensors.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sensors.h,v 1.7 2005/08/05 03:07:41 dlg Exp $ */
+/* $OpenBSD: sensors.h,v 1.8 2005/10/23 13:52:13 kettenis Exp $ */
/*
* Copyright (c) 2003, 2004 Alexander Yurchenko <grange@openbsd.org>
@@ -30,13 +30,13 @@
/* Sensor types */
enum sensor_type {
- SENSOR_TEMP, /* temperature */
+ SENSOR_TEMP, /* temperature (muK) */
SENSOR_FANRPM, /* fan revolution speed */
- SENSOR_VOLTS_DC, /* voltage */
- SENSOR_VOLTS_AC, /* voltage (alternating-current) */
+ SENSOR_VOLTS_DC, /* voltage (muV DC) */
+ SENSOR_VOLTS_AC, /* voltage (muV AC) */
SENSOR_OHMS, /* resistance */
SENSOR_WATTS, /* power */
- SENSOR_AMPS, /* current */
+ SENSOR_AMPS, /* current (muA) */
SENSOR_WATTHOUR, /* power capacity */
SENSOR_AMPHOUR, /* power capacity */
SENSOR_INDICATOR, /* boolean indicator */