Date: Sun, 20 Jul 2003 14:11:32 -0700 (PDT) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_ec.c Message-ID: <200307202111.h6KLBWpp059570@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2003/07/20 14:11:32 PDT
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_ec.c
Log:
Close a race condition by passing status retrieved via a non-SCI call
to EcGpeQueryHandler on to any waiting threads through the softc. Similar
behavior was in the original version.
Also:
* Merge EcQuery into EcGpeQueryHandler to simplify locking
* Hold EcLock from the initial read of the CSR down to the wakeup or
until after the query command has been processed.
* ec_gpebit only needs to be a UINT8
Revision Changes Path
1.35 +32 -43 src/sys/dev/acpica/acpi_ec.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307202111.h6KLBWpp059570>
