document rfact

This commit is contained in:
groo 2000-03-09 04:17:20 +00:00
parent ed0b72db8f
commit bee07ea181

View File

@ -1,4 +1,4 @@
.\" $NetBSD: envsys.4,v 1.2 2000/02/27 04:11:14 groo Exp $
.\" $NetBSD: envsys.4,v 1.3 2000/03/09 04:17:20 groo Exp $
.\"
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -217,6 +217,7 @@ typedef struct envsys_basic_info {
u_int units; /* type of sensor */
char desc[33]; /* sensor description */
u_int rpms; /* for fans */
u_int rfact; /* for volts, (factor x 10^4) */
u_int32_t validflags; /* sensor valid flags */
} envsys_basic_info_t;
.Ed
@ -239,6 +240,10 @@ terminated string for
.Pp
RPM sensor types additionally read the nominal RPM value from
.Va rpms .
Voltage sensors read
.Va rfact .
Drivers are expected to multiply DC voltage values by this factor before
returning them to the user.
.Pp
The driver will fill in the
.Va flags