From: Gollu Appalanaidu Date: Sat, 17 Apr 2021 19:52:42 +0000 (+0530) Subject: nvme-print: add controller register cap 44th bit X-Git-Tag: v1.15~83 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b2ec2046ce673c18ac687c1c431a6fe88af2e212;p=users%2Fsagi%2Fnvme-cli.git nvme-print: add controller register cap 44th bit Signed-off-by: Gollu Appalanaidu --- diff --git a/nvme-print.c b/nvme-print.c index cdec2954..9dde48ad 100755 --- a/nvme-print.c +++ b/nvme-print.c @@ -1889,6 +1889,9 @@ static void nvme_show_registers_cap(struct nvme_bar_cap *cap) (cap->bps_css_nssrs_dstrd & 0x0020) ? "Supported" : "Not Supported"); printf("\t One or more I/O Command Sets are %s\n", (cap->bps_css_nssrs_dstrd & 0x0800) ? "Supported" : "Not Supported"); + printf("\t %s\n", + (cap->bps_css_nssrs_dstrd & 0x1000) ? "Only Admin Command Set Supported" : + "I/O Command Set is Supported"); printf("\tNVM Subsystem Reset Supported (NSSRS): %s\n", (cap->bps_css_nssrs_dstrd & 0x0010) ? "Yes":"No"); printf("\tDoorbell Stride (DSTRD): %u bytes\n",