PERFORCE change 123040 for review

Constantine A. Murenin cnst at FreeBSD.org
Fri Jul 6 23:45:51 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=123040

Change 123040 by cnst at dale on 2007/07/06 23:45:36

	add new node to sysctl.h: 
		HW_SENSORS / "hw.sensors"
	
	Obtained from:	OpenBSD's sysctl.h r1.63 (2003-04-25) + applied local modifications for FreeBSD

Affected files ...

.. //depot/projects/soc2007/cnst-sensors/sys.sys/sysctl.h#2 edit

Differences ...

==== //depot/projects/soc2007/cnst-sensors/sys.sys/sysctl.h#2 (text+ko) ====

@@ -487,7 +487,8 @@
 #define HW_FLOATINGPT	10		/* int: has HW floating point? */
 #define HW_MACHINE_ARCH	11		/* string: machine architecture */
 #define	HW_REALMEM	12		/* int: 'real' memory */
-#define	HW_MAXID	13		/* number of valid hw ids */
+#define	HW_SENSORS	13		/* node: hardware monitors */
+#define	HW_MAXID	14		/* number of valid hw ids */
 
 #define CTL_HW_NAMES { \
 	{ 0, 0 }, \
@@ -502,6 +503,7 @@
 	{ "diskstats", CTLTYPE_STRUCT }, \
 	{ "floatingpoint", CTLTYPE_INT }, \
 	{ "realmem", CTLTYPE_ULONG }, \
+	{ "sensors", CTLTYPE_NODE}, \
 }
 
 /*


More information about the p4-projects mailing list