]> git.baikalelectronics.ru Git - kernel.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)
commite6c1a1d8ade9a3edb70c683f3f718b861c735926
treec87e8148240a4efefeba72a239ee049e6d88bb0c
parent9ca025eff761594c654101b8e1412203db5bccbb
[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