]> Zhao Yanbai Git Server - minix.git/commit
ahci: rewrite timeout initialization code
authorDavid van Moolenbroek <david@minix3.org>
Tue, 12 Feb 2013 13:53:09 +0000 (13:53 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Tue, 12 Feb 2013 13:53:09 +0000 (13:53 +0000)
commit23b12e29a2120a8b7a18e8703ce2ab9d68660eda
treebb8f2b863042f86d8c7939dfa2cb9164ef0bf23c
parentad0b58fe835b996b6eba9b6df83b2e35071ef126
ahci: rewrite timeout initialization code

- the "ahci_sig_timeout" variable now denotes the entire checking
  period, and the delay between checks has been hardcoded; what was
  previously "ahci_sig_checks" is now computed from those two;
- timeout values are no longer used for both millisecond and clock
  tick values, and better typed;
- the computation of timeouts is no longer off by half a second.
drivers/ahci/ahci.c
drivers/ahci/ahci.h