]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] sata_mv: remove local copy of queue indexes
authorMark Lord <liml@rtr.ca>
Fri, 19 May 2006 20:36:36 +0000 (16:36 -0400)
committerJeff Garzik <jeff@garzik.org>
Sat, 20 May 2006 04:31:45 +0000 (00:31 -0400)
commita6432436c5e14b416f27c8f87c5bf0bc36771f49
treec87e8148240a4efefeba72a239ee049e6d88bb0c
parente857f141945f29c16f72ffcfdbce097f8be6c4e9
[PATCH] sata_mv: remove local copy of queue indexes

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: Mark Lord <liml@rtr.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/sata_mv.c