[PATCH] sata_mv: spurious interrupt workaround
authorMark Lord <liml@rtr.ca>
Fri, 19 May 2006 20:33:03 +0000 (16:33 -0400)
committerJeff Garzik <jeff@garzik.org>
Sat, 20 May 2006 04:31:45 +0000 (00:31 -0400)
commite857f141945f29c16f72ffcfdbce097f8be6c4e9
treecd6bcdeaed84701fddc693eedfddae0fcba68e27
parenteb46d684600ac145501805a294c94675e82eab2e
[PATCH] sata_mv: spurious interrupt workaround

The 60xx chips, and possibly others, incorrectly assert DEV_IRQ interrupts
on a regular basis.  The cause of this is under investigation (by me and
in theory by Marvell also), but regardless we do need to deal with these events.

This patch tidies up some interrupt handler code, and ensures that we ignore
DEV_IRQ interrupts when the drive still  has ATA_BUSY asserted.

Signed-off-by: Mark Lord <liml@rtr.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/sata_mv.c