Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/nvmectl since NVMe 1.2 (which defined the ONCS bit), th...



details:   https://anonhg.NetBSD.org/src/rev/74c429ebe2fc
branches:  trunk
changeset: 446353:74c429ebe2fc
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Dec 01 18:29:19 2018 +0000

description:
since NVMe 1.2 (which defined the ONCS bit), the bit (4) is whether controller
supports 'Save' field in Set Features, and 'Select' field for Get Features,
not the support for the 'Set Features' command itself

diffstat:

 sbin/nvmectl/identify.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0b2a48fa3911 -r 74c429ebe2fc sbin/nvmectl/identify.c
--- a/sbin/nvmectl/identify.c   Sat Dec 01 18:25:39 2018 +0000
+++ b/sbin/nvmectl/identify.c   Sat Dec 01 18:29:19 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: identify.c,v 1.5 2018/04/18 10:11:44 nonaka Exp $      */
+/*     $NetBSD: identify.c,v 1.6 2018/12/01 18:29:19 jdolecek Exp $    */
 
 /*-
  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: identify.c,v 1.5 2018/04/18 10:11:44 nonaka Exp $");
+__RCSID("$NetBSD: identify.c,v 1.6 2018/12/01 18:29:19 jdolecek Exp $");
 #if 0
 __FBSDID("$FreeBSD: head/sbin/nvmecontrol/identify.c 329824 2018-02-22 13:32:31Z wma $");
 #endif
@@ -136,7 +136,7 @@
        printf("Write Zeroes Command:        %s\n",
                (cdata->oncs & NVME_ID_CTRLR_ONCS_WRITE_ZERO) ?
                "Supported" : "Not Supported");
-       printf("Set Features Command:        %s\n",
+       printf("Features Save/Select Field:  %s\n",
                (cdata->oncs & NVME_ID_CTRLR_ONCS_SET_FEATURES) ?
                "Supported" : "Not Supported");
        printf("Reservation:                 %s\n",



Home | Main Index | Thread Index | Old Index