[PATCH] sata_sil24: lengthen softreset timeout
authorTejun Heo <htejun@gmail.com>
Sat, 11 Mar 2006 02:44:08 +0000 (11:44 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 12 Mar 2006 00:29:42 +0000 (19:29 -0500)
commit8645984c357a0262a29b8a28353a576645e2c707
treea97b41a4c84a295dc075106226d053fd04a40c07
parent10d996ad1990ec2338c463042db6d5ef4f347187
[PATCH] sata_sil24: lengthen softreset timeout

sil24 softreset timeout was > 100ms (100 loops with msleep(1)), which
turned out to be too short for some devices (ASI ARAID99 2000).  This
patch converts sil24 softreset waiting loop to use proper timeout
condition and lengthen the timeout to ATA_TMOUT_BOOT secs and check
interval to 100ms.  Chisato Yamauchi discovered the problem and
supplied initial patch.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Chisato Yamauchi <cyamauch@plamo.linet.gr.jp>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/sata_sil24.c