From: Christoph Hellwig Date: Mon, 6 Jun 2016 21:20:46 +0000 (+0200) Subject: nvme.h: add AER constants X-Git-Tag: v4.1.12-102.0.20170601_1400~57 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2c38f5e5ff914855d7137a529eeb9337e4d3cf92;p=users%2Fjedix%2Flinux-maple.git nvme.h: add AER constants Reviewed-by: Jay Freyensee Reviewed-by: Sagi Grimberg Reviewed-by: Ming Lin Signed-off-by: Christoph Hellwig Reviewed-by: Keith Busch Signed-off-by: Jens Axboe (cherry picked from commit 79f370eac63796a8933b210bca02f006ba32d22e) Orabug: 25130845 Signed-off-by: Ashok Vairavan Reviewed-by: Martin K. Petersen --- diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 9807d98ca93a8..a9b8c7bcaf853 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 {