summaryrefslogtreecommitdiff
path: root/include/linux/ata.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-06-04 14:42:24 +0200
committerTejun Heo <tj@kernel.org>2017-06-05 15:29:22 -0400
commit818831c8b22f75353f59a63a484e20736c0567c9 (patch)
tree7b76516e71dcaa9a827475017827201a1b35b506 /include/linux/ata.h
parenta0fd2454a36ffab2ce39b3a91c1385a5f98e63f0 (diff)
downloadlwn-818831c8b22f75353f59a63a484e20736c0567c9.tar.gz
lwn-818831c8b22f75353f59a63a484e20736c0567c9.zip
libata: implement SECURITY PROTOCOL IN/OUT
This allows us to use the generic OPAL code with ATA devices. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/ata.h')
-rw-r--r--include/linux/ata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ata.h b/include/linux/ata.h
index c14bdcf31fdb..e65ae4b2ed48 100644
--- a/include/linux/ata.h
+++ b/include/linux/ata.h
@@ -341,6 +341,7 @@ enum {
ATA_LOG_IDENTIFY_DEVICE = 0x30,
/* Identify device log pages: */
+ ATA_LOG_SECURITY = 0x06,
ATA_LOG_SATA_SETTINGS = 0x08,
ATA_LOG_ZONED_INFORMATION = 0x09,