Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/sys Pull up 1.4->1.5 (requested by thorpej):
details: https://anonhg.NetBSD.org/src/rev/02276f875ed9
branches: netbsd-1-5
changeset: 488812:02276f875ed9
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun Jul 30 17:55:18 2000 +0000
description:
Pull up 1.4->1.5 (requested by thorpej):
Pull in <sys/ioccom.h>, and define ENVSYS_NSENSORS (number of sensor
types).
diffstat:
sys/sys/envsys.h | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 39c79eb843b3 -r 02276f875ed9 sys/sys/envsys.h
--- a/sys/sys/envsys.h Sun Jul 30 17:54:10 2000 +0000
+++ b/sys/sys/envsys.h Sun Jul 30 17:55:18 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: envsys.h,v 1.4 2000/03/09 04:13:58 groo Exp $ */
+/* $NetBSD: envsys.h,v 1.4.4.1 2000/07/30 17:55:18 bouyer Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -39,6 +39,8 @@
#ifndef _SYS_ENVSYS_H_
#define _SYS_ENVSYS_H_
+#include <sys/ioccom.h>
+
/* Returns API Version * 1000 */
#define ENVSYS_VERSION _IOR('E', 0, int32_t)
@@ -82,8 +84,14 @@
/* type of sensor for units */
enum envsys_units {
- ENVSYS_STEMP, ENVSYS_SFANRPM, ENVSYS_SVOLTS_AC, ENVSYS_SVOLTS_DC,
- ENVSYS_SOHMS, ENVSYS_SWATTS, ENVSYS_SAMPS
+ ENVSYS_STEMP = 0,
+ ENVSYS_SFANRPM,
+ ENVSYS_SVOLTS_AC,
+ ENVSYS_SVOLTS_DC,
+ ENVSYS_SOHMS,
+ ENVSYS_SWATTS,
+ ENVSYS_SAMPS,
+ ENVSYS_NSENSORS,
};
/* flags for validflags */
Home |
Main Index |
Thread Index |
Old Index