]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:24 +0000 (10:50 -0800)
commit27fa3aff7831b70b77c444aa44adac0a88e07dd6
treed4a118ee4bd4b44b50cbfcf78f454c1d2578e68e
parentb5f7f3ef64f919fabc5bca0f2f7cc0adfa1ebfc5
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.

This fixes bug#7996 and IMHO should also be included in -stable.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/sata_sil.c