• Mark Lord's avatar
    [PATCH] sata_mv: remove local copy of queue indexes · a6432436
    Mark Lord authored
    The driver currently keeps local copies of the hardware request/response queue indexes.
    But it expends significant effort ensuring consistency between the two views,
    and still gets it wrong after an error or reset occurs.
    
    This patch removes the local copies, in favour of just accessing the hardware
    whenever we need them.  Eventually this may need to be tweaked again for NCQ,
    but for now this works and solves problems some users were seeing.
    Signed-off-by: default avatarMark Lord <liml@rtr.ca>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    a6432436
sata_mv.c 64 KB