Commit 79f370ea authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

nvme.h: add AER constants

Reviewed-by: default avatarJay Freyensee <james.p.freyensee@intel.com>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarMing Lin <ming.l@ssi.samsung.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarKeith Busch <keith.busch@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 69cd27e2
...@@ -284,6 +284,12 @@ struct nvme_reservation_status { ...@@ -284,6 +284,12 @@ struct nvme_reservation_status {
} regctl_ds[]; } regctl_ds[];
}; };
enum nvme_async_event_type {
NVME_AER_TYPE_ERROR = 0,
NVME_AER_TYPE_SMART = 1,
NVME_AER_TYPE_NOTICE = 2,
};
/* I/O commands */ /* I/O commands */
enum nvme_opcode { enum nvme_opcode {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment