CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/01/15 09:50:29
Modified files:
sys/dev/ic : aac.c
Log message:
aac(4): tsleep(9) -> tsleep_nsec(9)
aac_wait_command() is odd.
It accepts a timeout in terms of ticks and passes that to tsleep(9),
but the comment above the function suggests the timeout itself is
ignored. On top of that, aac_wait_command()'s only caller passes in a
value from scsi_xfer.timeout, which is a count of milliseconds.
krw@ says not to worry too much about these discrepencies and to just
do what makes the most sense given the state of the code.
So, change aac_wait_command()'s "timeout" to "msecs" and pass that
tsleep_nsec(9).
ok krw@