sata_mv: leave SError bits untouched in mv_err_intr
authorMark Lord <liml@rtr.ca>
Sat, 19 Apr 2008 19:07:49 +0000 (15:07 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 05:26:14 +0000 (01:26 -0400)
commit8d07379d251ab24d937e6cb0748b71106dddbc74
tree4c8388db13465e9c9a523114189cfdbc1d2830c1
parent8f767f8a02e6c65d393fd0f2ca19a91c9898cc2d
sata_mv: leave SError bits untouched in mv_err_intr

Here it is again, minus the checkpatch.pl complaint:

Rework mv_err_intr() to leave the SError bits as-is,
so that libata-eh has a chance to see/use them.

We originally thought that clearing them here was necessary
before writing back to edma_err_cause (per the Marvell datasheets),
but we will end up reseting the chip regardless in those cases.

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