libata sata_qstor workaround for spurious interrupts
authorMark Lord <liml@rtr.ca>
Wed, 7 Nov 2007 15:53:41 +0000 (10:53 -0500)
committerJeff Garzik <jeff@garzik.org>
Thu, 8 Nov 2007 18:08:41 +0000 (13:08 -0500)
commit904c7bad994e6e7f9997174e0b33fcc521862136
tree496a8fdb73e5859cbc47ae09096f7dacc4081763
parent12ee7d3ceb08e9ab99a6c17c5c6a387645a32658
libata sata_qstor workaround for spurious interrupts

sata_qstor workaround for spurious interrupts.

The qstor hardware generates spurious interrupts from time to time when
switching in and out of packet mode.  These eventually result in the
IRQ being disabled, which kills other devices sharing this IRQ with us.

This workaround isn't perfect, but it's about the best we can do for
this hardware.  Spurious interrupts will still happen, but won't be
logged as such, and therefore won't cause the IRQ to be inadvertently
disabled.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_qstor.c