diff options
author | Mark Lord <kernel@teksavvy.com> | 2010-08-19 21:40:44 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-01-06 18:07:39 -0500 |
commit | 7d86e26344e7a801802922e6481be4bea5b78357 (patch) | |
tree | d060c06afc97623aea65f6e5cb05d08ad391c909 /arch/x86/include | |
parent | cd790692c5a3ce8fe0bc4d73b3ea4f604ab903fe (diff) |
sata_mv: fix broken DSM/TRIM support (v2)
commit 44b733809a5aba7f6b15a548d31a56d25bf3851c upstream.
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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions