git: 5e3e4442305d - main - nvme: Add constants for the Fused Operation (FUSE) field in commands
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 May 2024 00:15:54 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=5e3e4442305d9e5af9862fac73feb0d7f37d4b56
commit 5e3e4442305d9e5af9862fac73feb0d7f37d4b56
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-05-02 23:31:02 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-05-02 23:31:02 +0000
nvme: Add constants for the Fused Operation (FUSE) field in commands
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D44845
---
sys/dev/nvme/nvme.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h
index 9775f5f945d6..a4baade7df5d 100644
--- a/sys/dev/nvme/nvme.h
+++ b/sys/dev/nvme/nvme.h
@@ -213,6 +213,11 @@
/* Command field definitions */
+enum nvme_fuse {
+ NVME_FUSE_NORMAL = 0x0,
+ NVME_FUSE_FIRST = 0x1,
+ NVME_FUSE_SECOND = 0x2
+};
#define NVME_CMD_FUSE_SHIFT (0)
#define NVME_CMD_FUSE_MASK (0x3)