]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
atapicam(4) is currently off by three orders of magnitude regarding the
authorBrian Feldman <green@FreeBSD.org>
Thu, 17 Jun 2004 07:29:56 +0000 (07:29 +0000)
committerBrian Feldman <green@FreeBSD.org>
Thu, 17 Jun 2004 07:29:56 +0000 (07:29 +0000)
commit3c632a584774287f75fa66651df01325d71bfa80
treef2eb718fbca1f207bd965e78b479d5e08d377e28
parentd45f21f31a198826532747bdac974568a0be7009
atapicam(4) is currently off by three orders of magnitude regarding the
timeout values in the CAM CCBs.  Divide by 1000 to get values in seconds
which are what ata(4) timeouts internally use.

This does lose granularity, though, and small values can now round down
to zero.  It's probably worth making all ata(4) timeouts in terms of
hz/ticks/milliseconds/something.
sys/dev/ata/atapi-cam.c