Module Name: src Committed By: jdolecek Date: Sat Dec 1 18:29:19 UTC 2018
Modified Files: src/sbin/nvmectl: identify.c Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sbin/nvmectl/identify.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/nvmectl/identify.c diff -u src/sbin/nvmectl/identify.c:1.5 src/sbin/nvmectl/identify.c:1.6 --- src/sbin/nvmectl/identify.c:1.5 Wed Apr 18 10:11:44 2018 +++ src/sbin/nvmectl/identify.c Sat Dec 1 18:29:19 2018 @@ -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 @@ print_controller(struct nvm_identify_con 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",