Browse Source

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>
Hannes Reinecke 7 years ago
parent
commit
aafd3afe9d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      include/linux/nvme.h

+ 5 - 0
include/linux/nvme.h

@@ -446,6 +446,11 @@ enum {
 	NVME_AER_NOTICE_FW_ACT_STARTING = 0x01,
 	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 {
 struct nvme_lba_range_type {
 	__u8			type;
 	__u8			type;
 	__u8			attributes;
 	__u8			attributes;