aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2011-02-03 09:20:57 -0500
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2011-11-04 15:52:54 -0400
commit7a63e07b9a98b77dd075e06b93c1d8dc871ddad5 (patch)
tree0437d980784a6b45c7e1c4178ca21f98560cff9f /include/linux/nvme.h
parent388f037f4e7f0a24bac6b1a24f144f5d939f58cf (diff)
NVMe: Add remaining status codes
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 0aaecb059d14..dbbdc126401b 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -321,14 +321,29 @@ enum {
321 NVME_SC_ABORT_QUEUE = 0x8, 321 NVME_SC_ABORT_QUEUE = 0x8,
322 NVME_SC_FUSED_FAIL = 0x9, 322 NVME_SC_FUSED_FAIL = 0x9,
323 NVME_SC_FUSED_MISSING = 0xa, 323 NVME_SC_FUSED_MISSING = 0xa,
324 NVME_SC_INVALID_NS = 0xb,
324 NVME_SC_LBA_RANGE = 0x80, 325 NVME_SC_LBA_RANGE = 0x80,
325 NVME_SC_CAP_EXCEEDED = 0x81, 326 NVME_SC_CAP_EXCEEDED = 0x81,
326 NVME_SC_NS_NOT_READY = 0x82, 327 NVME_SC_NS_NOT_READY = 0x82,
327 NVME_SC_CQ_INVALID = 0x100, 328 NVME_SC_CQ_INVALID = 0x100,
328 NVME_SC_QID_INVALID = 0x101, 329 NVME_SC_QID_INVALID = 0x101,
329 NVME_SC_QUEUE_SIZE = 0x102, 330 NVME_SC_QUEUE_SIZE = 0x102,
331 NVME_SC_ABORT_LIMIT = 0x103,
332 NVME_SC_ABORT_MISSING = 0x104,
333 NVME_SC_ASYNC_LIMIT = 0x105,
334 NVME_SC_FIRMWARE_SLOT = 0x106,
335 NVME_SC_FIRMWARE_IMAGE = 0x107,
336 NVME_SC_INVALID_VECTOR = 0x108,
337 NVME_SC_INVALID_LOG_PAGE = 0x109,
338 NVME_SC_INVALID_FORMAT = 0x10a,
339 NVME_SC_BAD_ATTRIBUTES = 0x180,
330 NVME_SC_WRITE_FAULT = 0x280, 340 NVME_SC_WRITE_FAULT = 0x280,
331 NVME_SC_READ_ERROR = 0x281, 341 NVME_SC_READ_ERROR = 0x281,
342 NVME_SC_GUARD_CHECK = 0x282,
343 NVME_SC_APPTAG_CHECK = 0x283,
344 NVME_SC_REFTAG_CHECK = 0x284,
345 NVME_SC_COMPARE_FAILED = 0x285,
346 NVME_SC_ACCESS_DENIED = 0x286,
332}; 347};
333 348
334struct nvme_completion { 349struct nvme_completion {