Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [jmcneill-pm] src/sys/dev/acpi
Module Name: src
Committed By: joerg
Date: Thu Oct 4 10:38:27 UTC 2007
Modified Files:
src/sys/dev/acpi [jmcneill-pm]: acpi_ec.c
Log Message:
Random undocumented fact #741:
The ACPI Embedded Controller will generally only except new commands if
the input buffer is not full.
Push the command write into acpiec_gpe_state_machine and start the
processing with a few busy iterations in
acpiec_write/acpiec_read/acpiec_gpe_query. Also move the read of data
into the state machine to keep all register access in one place.
This fixes random read/write errors that occured with a chance of 10% or
so. It is unclear why the old code didn't hit it more often.
To generate a diff of this commit:
cvs rdiff -r1.41.6.6 -r1.41.6.7 src/sys/dev/acpi/acpi_ec.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index