diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-04-13 12:36:36 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-04-13 12:36:36 +0000 |
commit | f599afd5d6701311fc3b92a83f6a6e00b893d87c (patch) | |
tree | bdb330ed9ee420a59de63bf8d07d6d6905161b94 /sys/dev | |
parent | 32c4290e19217c25d97cf713afe652ac204b903a (diff) |
the io command set
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/nvmereg.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/nvmereg.h b/sys/dev/ic/nvmereg.h index a49dd64d5ac..7d50fbd2ff1 100644 --- a/sys/dev/ic/nvmereg.h +++ b/sys/dev/ic/nvmereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nvmereg.h,v 1.6 2016/01/15 03:39:13 dlg Exp $ */ +/* $OpenBSD: nvmereg.h,v 1.7 2016/04/13 12:36:35 dlg Exp $ */ /* * Copyright (c) 2014 David Gwynne <dlg@openbsd.org> @@ -187,6 +187,13 @@ struct nvme_cqe { #define NVM_ADMIN_FW_ACTIVATE 0x10 /* Firmware Activate */ #define NVM_ADMIN_FW_DOWNLOAD 0x11 /* Firmware Image Download */ +#define NVM_CMD_FLUSH 0x00 /* Flush */ +#define NVM_CMD_WRITE 0x01 /* Write */ +#define NVM_CMD_READ 0x02 /* Read */ +#define NVM_CMD_WR_UNCOR 0x04 /* Write Uncorrectable */ +#define NVM_CMD_COMPARE 0x05 /* Compare */ +#define NVM_CMD_DSM 0x09 /* Dataset Management */ + /* Power State Descriptor Data */ struct nvm_identify_psd { u_int16_t mp; /* Max Power */ |