Subject: acpiec(4) converted to mutex/rwlock/condvar
To: None <tech-kern@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 07/21/2007 04:00:18
Hi,

The following patch changes the acpiec(4) driver to use spin mutexes,
a rwlock with RW_WRITER for EXCLUSIVE access and a condvar.

This has been working great for some time on my laptop, no ec timeouts.

The previous patch I sent here some weeks ago wasn't correct and 2min
were enough to get ec timeouts.

http://www.netbsd.org/~xtraeme/acpi_ec.diff

Please review... cheers.

-- 
Juan Romero Pardines 	- The NetBSD Project
http://plog.xtrarom.org 	- NetBSD/pkgsrc news in Spanish