nvme.h: add AEN configuration symbols
authorHannes Reinecke <hare@suse.com>
Fri, 25 May 2018 15:34:00 +0000 (17:34 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Jun 2018 12:37:35 +0000 (14:37 +0200)
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>
include/linux/nvme.h

index 7ce0f3cf44090c4ec0dd230539c92a8e72292812..2950ce957656d241e24d72e123ceef963ae359fe 100644 (file)
@@ -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;