diff options
author | Wanpeng Qian <wanpengqian@gmail.com> | 2022-11-20 03:06:36 +0000 |
---|---|---|
committer | Chuck Tuffli <chuck@FreeBSD.org> | 2022-11-20 03:14:00 +0000 |
commit | 41be508d31a594f5212ef9e717df1f3e9ca295d8 (patch) | |
tree | ac9530cefbd7e615a754d350330a1b3fbf367fa6 /sbin | |
parent | 424bf1d5ca5bdba0597b546ec3931eb05bfabcab (diff) | |
download | src-41be508d31a594f5212ef9e717df1f3e9ca295d8.tar.gz src-41be508d31a594f5212ef9e717df1f3e9ca295d8.zip |
nvmecontrol: Fix IEEE OUI Identifier output
Current sequence of IEEE OUI Identifier output is wrong.
For Intel, current output is e4 d2 5c, specification is 5CD2E4h
For Samsung, current output is 38 25 00, specification is 002538h
also check with Linux nvme-cli.
Reviewed by: imp, chuck
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D33856
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/nvmecontrol/identify_ext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/nvmecontrol/identify_ext.c b/sbin/nvmecontrol/identify_ext.c index 1e35ae855e3e..2e4f4ea044e1 100644 --- a/sbin/nvmecontrol/identify_ext.c +++ b/sbin/nvmecontrol/identify_ext.c @@ -107,7 +107,7 @@ nvme_print_controller(struct nvme_controller_data *cdata) printf("Firmware Version: %s\n", str); printf("Recommended Arb Burst: %d\n", cdata->rab); printf("IEEE OUI Identifier: %02x %02x %02x\n", - cdata->ieee[0], cdata->ieee[1], cdata->ieee[2]); + cdata->ieee[2], cdata->ieee[1], cdata->ieee[0]); printf("Multi-Path I/O Capabilities: %s%s%s%s%s\n", (cdata->mic == 0) ? "Not Supported" : "", ((cdata->mic >> NVME_CTRLR_DATA_MIC_ANAR_SHIFT) & |