Date: Fri, 6 Jul 2007 23:45:51 GMT From: "Constantine A. Murenin" <cnst@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 123040 for review Message-ID: <200707062345.l66Njpx3091970@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123040 Change 123040 by cnst@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}, \ } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707062345.l66Njpx3091970>