Subject: PR/36226 CVS commit: src/sys
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: netbsd-bugs
Date: 07/01/2007 07:40:02
The following reply was made to PR kern/36226; it has been noted by GNATS.

From: Juan Romero Pardines <xtraeme@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36226 CVS commit: src/sys
Date: Sun,  1 Jul 2007 07:37:02 +0000 (UTC)

 Module Name:	src
 Committed By:	xtraeme
 Date:		Sun Jul  1 07:37:01 UTC 2007
 
 Modified Files:
 	src/sys/dev/sysmon: files.sysmon sysmon_envsys.c sysmon_power.c
 	    sysmonvar.h
 	src/sys/kern: init_main.c
 	src/sys/sys: envsys.h power.h
 Added Files:
 	src/sys/dev/sysmon: sysmon_envsys_events.c sysmon_envsysvar.h
 
 Log Message:
 Imported envsys 2, a brief description of the new features:
 (Part 1: API)
 
 * Support for detachable sensors.
 * Cleaned up the API for simplicity and efficiency.
 * Ability to send capacity/critical/warning events to powerd(8).
 * Adapted all the code to the new locking order.
 * Compatibility with the old envsys API: the ENVSYS_GTREINFO
   and ENVSYS_GTREDATA ioctl(2)s are supported.
 * Added support for a 'dictionary based communication channel' between
   sysmon_power(9) and powerd(8), that means there is no 32 bytes event
   size restriction anymore.
 * Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
 * All drivers with the n^2 gtredata bug were fixed, PR kern/36226.
 
 Tested by:
 
 blymn: smsc(4).
 bouyer: ipmi(4), mfi(4).
 kefren: ug(4).
 njoly: viaenv(4), adt7463.c.
 riz: owtemp(4).
 xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.5 -r1.6 src/sys/dev/sysmon/files.sysmon
 cvs rdiff -r1.17 -r1.18 src/sys/dev/sysmon/sysmon_envsys.c \
     src/sys/dev/sysmon/sysmon_power.c
 cvs rdiff -r0 -r1.1 src/sys/dev/sysmon/sysmon_envsys_events.c \
     src/sys/dev/sysmon/sysmon_envsysvar.h
 cvs rdiff -r1.14 -r1.15 src/sys/dev/sysmon/sysmonvar.h
 cvs rdiff -r1.304 -r1.305 src/sys/kern/init_main.c
 cvs rdiff -r1.11 -r1.12 src/sys/sys/envsys.h
 cvs rdiff -r1.4 -r1.5 src/sys/sys/power.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.