Subject: CVS commit: src/sys/arch/macppc/dev
To: None <source-changes@NetBSD.org>
From: Michael Lorenz <macallan@netbsd.org>
List: source-changes
Date: 05/09/2007 00:09:28
Module Name:	src
Committed By:	macallan
Date:		Wed May  9 00:09:28 UTC 2007

Modified Files:
	src/sys/arch/macppc/dev: battery.c pmu.c pmuvar.h

Log Message:
add an optional callback from pmu's worker thread, use it to poll AC power
status on legacy batteries where we don't get environment interrupts. Also
report AC status changes to powerd.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/arch/macppc/dev/battery.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/macppc/dev/pmu.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/macppc/dev/pmuvar.h

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