sata_mv: ensure empty request queue for FBS-NCQ EH
authorMark Lord <liml@rtr.ca>
Mon, 19 May 2008 13:01:24 +0000 (09:01 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:30:28 +0000 (17:30 -0400)
commit06aaca3f6301d04463b1ee0eb75c0352147159f2
treee4057424492a9237c736ed216c6df95a03da34ca
parent96e2c487933e5f69e98fffdcae2c35c78a671c07
sata_mv: ensure empty request queue for FBS-NCQ EH

Check for an empty request queue before stopping EDMA after a FBS-NCQ error,
as per recommendation from the Marvell datasheet.

This ensures that the EDMA won't suddenly become active again
just after our subsequent check of the empty/idle bits.

Also bump DRV_VERSION.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c