Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic add IO flags for FUA and also LR while here
details: https://anonhg.NetBSD.org/src/rev/120ef6f845bb
branches: trunk
changeset: 347776:120ef6f845bb
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Sep 16 10:54:45 2016 +0000
description:
add IO flags for FUA and also LR while here
diffstat:
sys/dev/ic/nvmereg.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 99262eb1471b -r 120ef6f845bb sys/dev/ic/nvmereg.h
--- a/sys/dev/ic/nvmereg.h Fri Sep 16 09:59:45 2016 +0000
+++ b/sys/dev/ic/nvmereg.h Fri Sep 16 10:54:45 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nvmereg.h,v 1.3 2016/06/04 16:29:35 nonaka Exp $ */
+/* $NetBSD: nvmereg.h,v 1.4 2016/09/16 10:54:45 jdolecek Exp $ */
/* $OpenBSD: nvmereg.h,v 1.10 2016/04/14 11:18:32 dlg Exp $ */
/*
@@ -186,6 +186,8 @@
uint16_t nlb; /* Number of Logical Blocks */
uint16_t ioflags;
+#define NVM_SQE_IO_FUA __BIT(14) /* Force Unit Access (bypass cache) */
+#define NVM_SQE_IO_LR __BIT(15) /* Limited Retry */
uint8_t dsm; /* Dataset Management */
uint8_t _reserved2[3];
Home |
Main Index |
Thread Index |
Old Index