aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/dev/ic/nvmevar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/dev/ic/nvmevar.h b/sys/include/dev/ic/nvmevar.h
index aa68331..355abd8 100644
--- a/sys/include/dev/ic/nvmevar.h
+++ b/sys/include/dev/ic/nvmevar.h
@@ -37,6 +37,10 @@
#define NVME_OP_CREATE_IOCQ 0x05
#define NVME_OP_IDENTIFY 0x06
+/* Identify CNS values */
+#define ID_CNS_CTRL 0x01 /* Identify controller */
+#define ID_CNS_NSID_LIST 0x07 /* Active NSID list */
+
struct nvme_identify_cmd {
uint8_t opcode;
uint8_t flags;