[PATCH] sata_sil24: update sil24_hardreset()
authorTejun Heo <htejun@gmail.com>
Wed, 31 May 2006 09:27:59 +0000 (18:27 +0900)
committerTejun Heo <htejun@gmail.com>
Wed, 31 May 2006 09:27:59 +0000 (18:27 +0900)
commite8e008e7b5ed8c65675cc9b3e778b8bb909f65ab
tree88ab9cff204c3a09630b145835bb0f7576a72791
parent135da34573f6d3bab2976a75063f7232a4311a74
[PATCH] sata_sil24: update sil24_hardreset()

Use phy debouncing instead of unconditional wait after DEV_RST and
make sil24_hardreset() to request followup SRST as that's the only way
to wait for !BSY.  Note that the original implementation never worked
- if the cached status was !BSY, ata_busy_sleep() finished
immediately; otherwise, it timed out regardless of the actual device
status.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/sata_sil24.c