Date: Tue, 12 Oct 2010 17:53:01 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/acpica acpi_ec.c Message-ID: <201010121753.o9CHrNC7003576@repoman.freebsd.org>
index | next in thread | raw e-mail
avg 2010-10-12 17:53:01 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_ec.c
Log:
SVN rev 213737 on 2010-10-12 17:53:01Z by avg
acpi_ec: changes in communication with hardware
Short description of the changes:
- attempt to retry some commands for which it is possible (read, query)
- always make a short sleep before checking EC status in polled mode
- periodically poll EC status in interrupt mode
- change logic for detecting broken interrupt delivery and falling back
to polled mode
- check that EC is ready for input before starting a new command, wait
if necessary
This commit is based on the original patch by David Naylor.
PR: kern/150517
Submitted by: David Naylor <naylor.b.david@gmail.com>
Reviewed by: jkim
MFC after: 3 weeks
Revision Changes Path
1.91 +89 -83 src/sys/dev/acpica/acpi_ec.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010121753.o9CHrNC7003576>
