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. .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -213,11 +213,12 @@ are:
These commands make use of: These commands make use of:
.Bd -literal .Bd -literal
typedef struct envsys_basic_info { typedef struct envsys_basic_info {
u_int sensor; /* sensor number */ u_int sensor; /* sensor number */
u_int units; /* type of sensor */ u_int units; /* type of sensor */
char desc[33]; /* sensor description */ char desc[33]; /* sensor description */
u_int rpms; /* for fans */ u_int rpms; /* for fans */
u_int32_t validflags; /* sensor valid flags */ u_int rfact; /* for volts, (factor x 10^4) */
u_int32_t validflags; /* sensor valid flags */
} envsys_basic_info_t; } envsys_basic_info_t;
.Ed .Ed
.Pp .Pp
@ -239,6 +240,10 @@ terminated string for
.Pp .Pp
RPM sensor types additionally read the nominal RPM value from RPM sensor types additionally read the nominal RPM value from
.Va rpms . .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 .Pp
The driver will fill in the The driver will fill in the
.Va flags .Va flags