document rfact
This commit is contained in:
parent
ed0b72db8f
commit
bee07ea181
@ -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.
|
||||
@ -213,11 +213,12 @@ are:
|
||||
These commands make use of:
|
||||
.Bd -literal
|
||||
typedef struct envsys_basic_info {
|
||||
u_int sensor; /* sensor number */
|
||||
u_int units; /* type of sensor */
|
||||
char desc[33]; /* sensor description */
|
||||
u_int rpms; /* for fans */
|
||||
u_int32_t validflags; /* sensor valid flags */
|
||||
u_int sensor; /* sensor number */
|
||||
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
|
||||
.Pp
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user