summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2007-04-02 11:39:25 +0800
committerJeff Garzik <jeff@garzik.org>2007-04-04 02:12:27 -0400
commit6f23a31d1cbe791a1ce86ffa9b23251ab0a1ef45 (patch)
tree1c8f50f7e880d156e632a96dee270cb982d96edc /include
parent18d6e9d51891f91af4e7351cbab3cb180bb9f430 (diff)
downloadop-kernel-dev-6f23a31d1cbe791a1ce86ffa9b23251ab0a1ef45.zip
op-kernel-dev-6f23a31d1cbe791a1ce86ffa9b23251ab0a1ef45.tar.gz
libata: Limit ATAPI DMA to R/W commands only for TORiSAN DVD drives (take 3)
patch 4/4: Limit ATAPI DMA to R/W commands only for TORiSAN DRD-N216 DVD-ROM drives (http://bugzilla.kernel.org/show_bug.cgi?id=6710) Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index c04aec3..0cfbcb6 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -312,6 +312,7 @@ enum {
ATA_HORKAGE_NODMA = (1 << 1), /* DMA problems */
ATA_HORKAGE_NONCQ = (1 << 2), /* Don't use NCQ */
ATA_HORKAGE_MAX_SEC_128 = (1 << 3), /* Limit max sects to 128 */
+ ATA_HORKAGE_DMA_RW_ONLY = (1 << 4), /* ATAPI DMA for RW only */
};
enum hsm_task_states {
OpenPOWER on IntegriCloud