Commit fc56877d authored by Duncan Laurie's avatar Duncan Laurie Committed by chrome-bot
Browse files

nvme: Output identified model number



Print the model number for the identified device so it can be
seen in the console.

BUG=b:35581264
TEST=build and boot and check identified model

Change-Id: I0fd92229ccf07ca4f900818e602597ec12ee78db
Signed-off-by: default avatarDuncan Laurie <dlaurie@google.com>
Reviewed-on: https://chromium-review.googlesource.com/606110

Reviewed-by: default avatarAaron Durbin <adurbin@chromium.org>
Reviewed-by: default avatarFurquan Shaikh <furquan@chromium.org>
parent 34484a64
......@@ -680,6 +680,9 @@ static NVME_STATUS nvme_identify(NvmeCtrlr *ctrlr) {
DEBUG(printf(" CQES : 0x%x\n", ctrlr->controller_data->cqes);)
DEBUG(printf(" NN : 0x%x\n", ctrlr->controller_data->nn);)
printf("Identified NVMe model %s\n",
(char *)ctrlr->controller_data->mn);
return status;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment