[PATCH] sata_sil24: put port into known state before softresetting
authorTejun Heo <htejun@gmail.com>
Tue, 11 Apr 2006 13:32:19 +0000 (22:32 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 11 Apr 2006 17:31:36 +0000 (13:31 -0400)
commit2555d6c268240fb3f5f335bd62d0518025343c0f
treea4cd391fb73cf9c37fa4976d7d999ddea546d383
parentb5bc421c96ca56a9abaad4619da01fe0071904a2
[PATCH] sata_sil24: put port into known state before softresetting

Make sure the controller has no pending commands and ready for command
before issuing SRST.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/sata_sil24.c