• Mark Lord's avatar
    [libata] sata_mv: off-by-1 fix · 806a6e7a
    Mark Lord authored
    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: default avatarMark Lord <mlord@pobox.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    806a6e7a
sata_mv.c 63.2 KB