CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/12/22 12:04:42
Modified files:
sys/dev/isa : asmc.c
Log message:
The Apple SMC is implemented on a H8S/2117 chip. Communication with the chip
becomes much more reliably if we pay attention to the IBF and OBF flags.
This removes the need for excessive delays and retries, making operations
complete in microseconds instead of seconds.
This diff also removes flushing the read buffer after a read operations. This
doesn't seem to be necessary, but we might need to put that back if the
length of a reply changes for some keys.
ok jung@, deraadt@