]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sata_mv: fis irq register fixes
authorMark Lord <liml@rtr.ca>
Wed, 14 May 2008 13:19:30 +0000 (09:19 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:27:57 +0000 (17:27 -0400)
commite40060772d85f3534d3d517197696e24bb01f45b
tree962f7918afbb38a298c55a0c1307253e579e1c8a
parent9dcffd99d0b1c0c1b8b2c0f85d240e791eca1055
sata_mv: fis irq register fixes

Fix handling of the FIS_IRQ_CAUSE register in sata_mv.

This register exists *only* on GenIIe devices, so don't bother
writing to it on older chips.  Also, it has to be read/cleared
in mv_err_intr() before clearing the main ERR_IRQ_CAUSE register.

This keeps sata_mv from getting stuck forever on certain error types.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c