summaryrefslogtreecommitdiffstats
path: root/include/block/nvme.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/block/nvme.h')
-rw-r--r--include/block/nvme.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/block/nvme.h b/include/block/nvme.h
index 273640c2b1..f3fdb5bf11 100644
--- a/include/block/nvme.h
+++ b/include/block/nvme.h
@@ -843,6 +843,10 @@ enum NvmeIdCtrlOncs {
NVME_ONCS_TIMESTAMP = 1 << 6,
};
+enum NvmeIdCtrlFrmw {
+ NVME_FRMW_SLOT1_RO = 1 << 0,
+};
+
#define NVME_CTRL_SQES_MIN(sqes) ((sqes) & 0xf)
#define NVME_CTRL_SQES_MAX(sqes) (((sqes) >> 4) & 0xf)
#define NVME_CTRL_CQES_MIN(cqes) ((cqes) & 0xf)