--- src/sys/sys/sysctl.h 2007/09/23 13:38:07 1.24 +++ src/sys/sys/sysctl.h 2007/10/02 12:57:01 1.25 @@ -462,8 +462,8 @@ TAILQ_HEAD(sysctl_ctx_list, sysctl_ctx_e #define HW_FLOATINGPT 10 /* int: has HW floating point? */ #define HW_MACHINE_ARCH 11 /* string: machine architecture */ #define HW_MACHINE_PLATFORM 12 /* string: platform architecture */ -#define HW_MACHINE_RES13 13 /* no longer used (was machine_uname) */ -#define HW_MAXID 14 /* number of valid hw ids */ +#define HW_SENSORS 13 /* node: hardware sensors */ +#define HW_MAXID 14 /* number of valid hw ids */ #define CTL_HW_NAMES { \ { 0, 0 }, \ @@ -477,6 +477,9 @@ TAILQ_HEAD(sysctl_ctx_list, sysctl_ctx_e { "disknames", CTLTYPE_STRUCT }, \ { "diskstats", CTLTYPE_STRUCT }, \ { "floatingpoint", CTLTYPE_INT }, \ + { "arch", CTLTYPE_STRING }, \ + { "platform", CTLTYPE_STRING }, \ + { "sensors", CTLTYPE_NODE }, \ } /*