sata_sil: ignore and clear spurious IRQs while executing commands by polling
authorTejun Heo <htejun@gmail.com>
Sat, 24 Feb 2007 13:30:36 +0000 (22:30 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 25 Feb 2007 01:52:12 +0000 (20:52 -0500)
commite2f8fb72144a9f38d44ccf3f939e939392eda659
treed99ac949bde8fa37f2f697b2912a5ca17de8e06f
parent6a59dcf8678cbc4106a8a6e158d7408a87691358
sata_sil: ignore and clear spurious IRQs while executing commands by polling

sata_sil used to trigger HSM error if IRQ occurs during polling
command.  This didn't matter because polling wasn't used in sata_sil.
However, as of 2.6.20, all IDENTIFYs are performed by polling and
device detection sometimes fails due to spurious IRQ.  This patch
makes sata_sil ignore and clear spurious IRQ while executing commands
by polling.

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