summaryrefslogtreecommitdiff
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-22 12:09:54 +0300
committerChristoph Hellwig <hch@lst.de>2018-05-31 19:46:48 +0300
commit868c2392a700fc1e72fb1bc044b7cceecd4f095c (patch)
tree20e99c2307e43475a08aed7c47a0e0c336a7788f /include/linux/nvme.h
parent1367bc82858018fd1a5a81b8fad4628e7163d1bf (diff)
downloadlinux-868c2392a700fc1e72fb1bc044b7cceecd4f095c.tar.xz
nvme.h: untangle AEN notice definitions
Stop including the event type in the definitions for the notice type. 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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 4112e2bd747f..c37103a4ad38 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -436,10 +436,14 @@ enum {
enum {
NVME_AER_ERROR = 0,
NVME_AER_SMART = 1,
+ NVME_AER_NOTICE = 2,
NVME_AER_CSS = 6,
NVME_AER_VS = 7,
- NVME_AER_NOTICE_NS_CHANGED = 0x0002,
- NVME_AER_NOTICE_FW_ACT_STARTING = 0x0102,
+};
+
+enum {
+ NVME_AER_NOTICE_NS_CHANGED = 0x00,
+ NVME_AER_NOTICE_FW_ACT_STARTING = 0x01,
};
struct nvme_lba_range_type {