svn commit: r328733 - stable/11/sbin/nvmecontrol

Alexander Motin mav at FreeBSD.org
Thu Feb 1 21:06:29 UTC 2018


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",


More information about the svn-src-all mailing list