Mark Lord 44b733809a sata_mv: fix broken DSM/TRIM support (v2)
Fix DSM/TRIM commands in sata_mv (v2).
These need to be issued using old-school "BM DMA",
rather than via the EDMA host queue.

Since the chips don't have proper BM DMA status,
we need to be more careful with setting the ATA_DMA_INTR bit,
since DSM/TRIM often has a long delay between "DMA complete"
and "command complete".

GEN_I chips don't have BM DMA, so no TRIM for them.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Cc: stable@kernel.org
2010-08-25 19:24:16 -04:00
..
2010-05-25 19:40:30 -04:00
2010-05-25 19:40:30 -04:00
2010-05-25 19:40:30 -04:00
2010-05-25 19:40:30 -04:00
2010-05-25 19:40:30 -04:00
2010-05-25 19:40:30 -04:00
2008-01-23 05:24:15 -05:00
2010-05-25 19:40:30 -04:00
2010-05-19 13:36:46 -04:00
2010-06-07 16:03:08 -04:00
2007-07-02 10:17:42 -04:00