diff options
author | Mark Lord <kernel@teksavvy.com> | 2010-08-19 21:40:44 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-08-25 19:24:16 -0400 |
commit | 44b733809a5aba7f6b15a548d31a56d25bf3851c (patch) | |
tree | 200fbdd7c379be0050a2719b27fa49f87c8cb10d /drivers/ata/pata_cs5520.c | |
parent | 60f5d6ef6b6e70fe850554381fd8336f11530002 (diff) |
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
Diffstat (limited to 'drivers/ata/pata_cs5520.c')
0 files changed, 0 insertions, 0 deletions