diff options
author | avg <avg@FreeBSD.org> | 2010-10-12 17:53:01 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2010-10-12 17:53:01 +0000 |
commit | 25fc6050f996192609bb84ec57545156d89181c6 (patch) | |
tree | 3881792fe24bb97ec7b4a96a2f9175d375439d80 /tools | |
parent | 55173efe7fb586b3f82fb5b6a00ed89187b91c5b (diff) | |
download | FreeBSD-src-25fc6050f996192609bb84ec57545156d89181c6.zip FreeBSD-src-25fc6050f996192609bb84ec57545156d89181c6.tar.gz |
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
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions