There are two other values for SET MAX feature field according to ata
protocol. So definite them.

Signed-off-by: Xiang Chen <chenxian...@hisilicon.com>
Signed-off-by: John Garry <john.ga...@huawei.com>
---
 include/linux/ata.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/ata.h b/include/linux/ata.h
index c7a3538..40d150a 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,
-- 
1.9.1

Reply via email to