Subject: CVS commit: src/usr.sbin
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 07/01/2007 07:39:48
Module Name:	src
Committed By:	xtraeme
Date:		Sun Jul  1 07:39:47 UTC 2007

Modified Files:
	src/usr.sbin/envstat: Makefile envstat.8 envstat.c
	src/usr.sbin/powerd: Makefile powerd.8 powerd.c

Log Message:
Imported envsys 2, a brief description of the new features:
(Part 3: userland)

* 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.1 -r1.2 src/usr.sbin/envstat/Makefile
cvs rdiff -r1.15 -r1.16 src/usr.sbin/envstat/envstat.8
cvs rdiff -r1.24 -r1.25 src/usr.sbin/envstat/envstat.c
cvs rdiff -r1.3 -r1.4 src/usr.sbin/powerd/Makefile
cvs rdiff -r1.9 -r1.10 src/usr.sbin/powerd/powerd.8
cvs rdiff -r1.7 -r1.8 src/usr.sbin/powerd/powerd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.