diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2007-04-02 11:39:25 +0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-04 02:12:27 -0400 |
commit | 6f23a31d1cbe791a1ce86ffa9b23251ab0a1ef45 (patch) | |
tree | 1c8f50f7e880d156e632a96dee270cb982d96edc /include/linux/libata.h | |
parent | 18d6e9d51891f91af4e7351cbab3cb180bb9f430 (diff) | |
download | blackbird-op-linux-6f23a31d1cbe791a1ce86ffa9b23251ab0a1ef45.tar.gz blackbird-op-linux-6f23a31d1cbe791a1ce86ffa9b23251ab0a1ef45.zip |
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/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index c04aec360406..0cfbcb6f08eb 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 { |