summaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-06-06 23:20:46 +0200
committerJens Axboe <axboe@fb.com>2016-06-12 07:29:43 -0600
commit79f370eac63796a8933b210bca02f006ba32d22e (patch)
treed5e0b2ee25018fadb69e4c4f74822c0b84fad095 /include/linux/nvme.h
parent69cd27e2511616f9b402d1bad4c49f91aa7411a3 (diff)
downloadlinux-stable-79f370eac63796a8933b210bca02f006ba32d22e.tar.gz
linux-stable-79f370eac63796a8933b210bca02f006ba32d22e.tar.bz2
linux-stable-79f370eac63796a8933b210bca02f006ba32d22e.zip
nvme.h: add AER constants
Reviewed-by: Jay Freyensee <james.p.freyensee@intel.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Ming Lin <ming.l@ssi.samsung.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 9807d98ca93a..a9b8c7bcaf85 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -284,6 +284,12 @@ struct nvme_reservation_status {
} 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 */
enum nvme_opcode {