Module Name:    src
Committed By:   jdolecek
Date:           Sat Dec  1 18:25:39 UTC 2018

Modified Files:
        src/sys/dev/ic: nvmereg.h

Log Message:
rename NVME_ID_CTRLR_ONCS_SAVE back to NVME_ID_CTRLR_ONCS_SET_FEATURES;
it's actually used in nvmectl sources too, and while 'Save' is more
correct it's not complete either, so better to leseen churn -
according to spec it's support for 'Save' for Set Features, and
support for 'Select' for Get Features


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ic/nvmereg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/nvmereg.h
diff -u src/sys/dev/ic/nvmereg.h:1.12 src/sys/dev/ic/nvmereg.h:1.13
--- src/sys/dev/ic/nvmereg.h:1.12	Sat Dec  1 15:07:58 2018
+++ src/sys/dev/ic/nvmereg.h	Sat Dec  1 18:25:39 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: nvmereg.h,v 1.12 2018/12/01 15:07:58 jdolecek Exp $	*/
+/*	$NetBSD: nvmereg.h,v 1.13 2018/12/01 18:25:39 jdolecek Exp $	*/
 /*	$OpenBSD: nvmereg.h,v 1.10 2016/04/14 11:18:32 dlg Exp $ */
 
 /*
@@ -519,7 +519,7 @@ struct nvm_identify_controller {
 	uint16_t	oncs;		/* Optional NVM Command Support */
 #define	NVME_ID_CTRLR_ONCS_TIMESTAMP	__BIT(6)
 #define	NVME_ID_CTRLR_ONCS_RESERVATION	__BIT(5)
-#define	NVME_ID_CTRLR_ONCS_SAVE		__BIT(4)
+#define	NVME_ID_CTRLR_ONCS_SET_FEATURES	__BIT(4)
 #define	NVME_ID_CTRLR_ONCS_WRITE_ZERO	__BIT(3)
 #define	NVME_ID_CTRLR_ONCS_DSM		__BIT(2)
 #define	NVME_ID_CTRLR_ONCS_WRITE_UNC	__BIT(1)

Reply via email to