[libata] sata_mv: off-by-1 fix
authorMark Lord <mlord@pobox.com>
Wed, 22 Mar 2006 02:11:53 +0000 (21:11 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 22 Mar 2006 02:11:53 +0000 (21:11 -0500)
This patch addresses a number of weird behaviours observed
for the sata_mv driver, by fixing an "off by one" bug in processing
of the EDMA response queue.

Basically, sata_mv was looking in the wrong place for
command results, and this produced a lot of unpredictable behaviour.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found