Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d69bb6e authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

NVMe: Define Log Page constants



Taken from the 1.1a version of the spec

Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent f3db22fe
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -306,6 +306,10 @@ enum {
	NVME_FEAT_WRITE_ATOMIC	= 0x0a,
	NVME_FEAT_WRITE_ATOMIC	= 0x0a,
	NVME_FEAT_ASYNC_EVENT	= 0x0b,
	NVME_FEAT_ASYNC_EVENT	= 0x0b,
	NVME_FEAT_SW_PROGRESS	= 0x0c,
	NVME_FEAT_SW_PROGRESS	= 0x0c,
	NVME_LOG_ERROR		= 0x01,
	NVME_LOG_SMART		= 0x02,
	NVME_LOG_FW_SLOT	= 0x03,
	NVME_LOG_RESERVATION	= 0x80,
	NVME_FWACT_REPL		= (0 << 3),
	NVME_FWACT_REPL		= (0 << 3),
	NVME_FWACT_REPL_ACTV	= (1 << 3),
	NVME_FWACT_REPL_ACTV	= (1 << 3),
	NVME_FWACT_ACTV		= (2 << 3),
	NVME_FWACT_ACTV		= (2 << 3),