Subject: CVS commit: [jmcneill-pm] src/sys
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 10/02/2007 21:44:11
Module Name:	src
Committed By:	joerg
Date:		Tue Oct  2 21:44:11 UTC 2007

Modified Files:
	src/sys/arch/amd64/conf [jmcneill-pm]: GENERIC
	src/sys/arch/i386/conf [jmcneill-pm]: ALL GENERIC GENERIC_LAPTOP
	    VIRTUALPC XEN3_DOM0
	src/sys/dev/acpi [jmcneill-pm]: acpi.c acpi_ec.c acpivar.h files.acpi
Removed Files:
	src/sys/dev/acpi [jmcneill-pm]: acpi_ecreg.h

Log Message:
Rewrite the ACPI Embedded Controller handler to use pure event driven
operation. On suspend a special flag is set to force explicit polling
as AcpiLeaveSleep accesses the interrupt before GPE handling is
restored. The driver uses a kernel thread to handle GPE queries and
mutex/condvar for synchronisation.

Split the ACPI EC into two drivers, one that is attached directly by
acpi.c for the ECDT driven attachment and the normal acpiec for late
attachment. Share almost all code between this two drivers. If acpiecdt
is attached, acpiec is returning. This was discussed with cube@ and is
the best solution so far.


To generate a diff of this commit:
cvs rdiff -r1.153.8.5 -r1.153.8.6 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -r1.115.4.3 -r1.115.4.4 src/sys/arch/i386/conf/ALL
cvs rdiff -r1.839.4.4 -r1.839.4.5 src/sys/arch/i386/conf/GENERIC
cvs rdiff -r1.238.4.3 -r1.238.4.4 src/sys/arch/i386/conf/GENERIC_LAPTOP
cvs rdiff -r1.54.8.1 -r1.54.8.2 src/sys/arch/i386/conf/VIRTUALPC
cvs rdiff -r1.6 -r1.6.28.1 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -r1.101.16.16 -r1.101.16.17 src/sys/dev/acpi/acpi.c
cvs rdiff -r1.41.6.4 -r1.41.6.5 src/sys/dev/acpi/acpi_ec.c
cvs rdiff -r1.3 -r0 src/sys/dev/acpi/acpi_ecreg.h
cvs rdiff -r1.28.22.1 -r1.28.22.2 src/sys/dev/acpi/acpivar.h
cvs rdiff -r1.45.6.1 -r1.45.6.2 src/sys/dev/acpi/files.acpi

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