summaryrefslogtreecommitdiff
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.com>2018-05-25 18:34:00 +0300
committerChristoph Hellwig <hch@lst.de>2018-06-01 15:37:35 +0300
commitaafd3afe9d2e731f50477cd1b4db7efa86d2637a (patch)
treeac28f9d33f8b6dc019516be9e06dbc605ac8890a /include/linux/nvme.h
parentb3984e064ec15aa349a635affd70d16eedbb539b (diff)
downloadlinux-aafd3afe9d2e731f50477cd1b4db7efa86d2637a.tar.xz
nvme.h: add AEN configuration symbols
Signed-off-by: Hannes Reinecke <hare@suse.com> [hch: split from a larger patch] Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 7ce0f3cf4409..2950ce957656 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -446,6 +446,11 @@ enum {
NVME_AER_NOTICE_FW_ACT_STARTING = 0x01,
};
+enum {
+ NVME_AEN_CFG_NS_ATTR = 1 << 8,
+ NVME_AEN_CFG_FW_ACT = 1 << 9,
+};
+
struct nvme_lba_range_type {
__u8 type;
__u8 attributes;