svn commit: r322992 - head/sbin/nvmecontrol
Warner Losh
imp at FreeBSD.org
Mon Aug 28 23:54:09 UTC 2017
Author: imp
Date: Mon Aug 28 23:54:08 2017
New Revision: 322992
URL: https://svnweb.freebsd.org/changeset/base/322992
Log:
Print the controller's ID in identify.
Submitted by: Matt Williams
Sponsored by: Netflix
Modified:
head/sbin/nvmecontrol/identify.c
Modified: head/sbin/nvmecontrol/identify.c
==============================================================================
--- head/sbin/nvmecontrol/identify.c Mon Aug 28 23:30:11 2017 (r322991)
+++ head/sbin/nvmecontrol/identify.c Mon Aug 28 23:54:08 2017 (r322992)
@@ -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