Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2018 21:06:28 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r328733 - stable/11/sbin/nvmecontrol
Message-ID:  <201802012106.w11L6SpB073042@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Feb  1 21:06:28 2018
New Revision: 328733
URL: https://svnweb.freebsd.org/changeset/base/328733

Log:
  MFC r322992 (by imp): Print the controller's ID in identify.

Modified:
  stable/11/sbin/nvmecontrol/identify.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sbin/nvmecontrol/identify.c
==============================================================================
--- stable/11/sbin/nvmecontrol/identify.c	Thu Feb  1 21:04:10 2018	(r328732)
+++ stable/11/sbin/nvmecontrol/identify.c	Thu Feb  1 21:06:28 2018	(r328733)
@@ -66,8 +66,9 @@ print_controller(struct nvme_controller_data *cdata)
 		printf("Unlimited\n");
 	else
 		printf("%d\n", PAGE_SIZE * (1 << cdata->mdts));
-
+	printf("Controller ID:              0x%02x\n", cdata->ctrlr_id);
 	printf("\n");
+
 	printf("Admin Command Set Attributes\n");
 	printf("============================\n");
 	printf("Security Send/Receive:       %s\n",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802012106.w11L6SpB073042>