aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ata.h
diff options
context:
space:
mode:
authorchenxiang <chenxiang66@hisilicon.com>2017-12-28 18:20:46 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-01-10 23:25:08 -0500
commitd5c15c2c22a8d4e0e82ca95eac5a6ccd175c0762 (patch)
treec0c5ba989a94992254eac6f8f7423b6dd4bb7bfe /include/linux/ata.h
parentscsi: smartpqi: allow static build ("built-in") (diff)
downloadlinux-dev-d5c15c2c22a8d4e0e82ca95eac5a6ccd175c0762.tar.xz
linux-dev-d5c15c2c22a8d4e0e82ca95eac5a6ccd175c0762.zip
scsi: ata: enhance the definition of SET MAX feature field value
There are two other values for SET MAX feature field according to ata protocol. So definite them. Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: John Garry <john.garry@huawei.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/ata.h')
-rw-r--r--include/linux/ata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ata.h b/include/linux/ata.h
index c7a353825450..40d150ad7e07 100644
--- a/include/linux/ata.h
+++ b/include/linux/ata.h
@@ -448,6 +448,8 @@ enum {
ATA_SET_MAX_LOCK = 0x02,
ATA_SET_MAX_UNLOCK = 0x03,
ATA_SET_MAX_FREEZE_LOCK = 0x04,
+ ATA_SET_MAX_PASSWD_DMA = 0x05,
+ ATA_SET_MAX_UNLOCK_DMA = 0x06,
/* feature values for DEVICE CONFIGURATION OVERLAY */
ATA_DCO_RESTORE = 0xC0,