]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59cb258ab37335c2de77fb6d6b9ea251c18c0836
tree4c8388db13465e9c9a523114189cfdbc1d2830c1
parentf999d2c5ca0e288ed031522771dd965cb5127171
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