]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
scsi: ata: enhance the definition of SET MAX feature field value
authorchenxiang <chenxiang66@hisilicon.com>
Thu, 28 Dec 2017 10:20:46 +0000 (18:20 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:42:53 +0000 (10:42 -0500)
BugLink: http://bugs.launchpad.net/bugs/1756094
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>
(cherry picked from commit d5c15c2c22a8d4e0e82ca95eac5a6ccd175c0762)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
include/linux/ata.h

index c7a353825450a950a2f53f93774ef4c5bce934a0..40d150ad7e0714d6bf00dd62a503c3734c0b28d9 100644 (file)
@@ -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,