summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2018-02-01 21:06:28 +0000
committermav <mav@FreeBSD.org>2018-02-01 21:06:28 +0000
commit826f0b5928039f9e15179575bea9621446739bd0 (patch)
tree8200c54737c3bdf91aee70aac302e63554075f96
parentaded2913d9c2dd4a0d7e51902fc4d1b9bd0cbfab (diff)
downloadFreeBSD-src-826f0b5928039f9e15179575bea9621446739bd0.zip
FreeBSD-src-826f0b5928039f9e15179575bea9621446739bd0.tar.gz
MFC r322992 (by imp): Print the controller's ID in identify.
-rw-r--r--sbin/nvmecontrol/identify.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/nvmecontrol/identify.c b/sbin/nvmecontrol/identify.c
index c7da98e..e799452 100644
--- a/sbin/nvmecontrol/identify.c
+++ b/sbin/nvmecontrol/identify.c
@@ -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",
OpenPOWER on IntegriCloud