diff options
author | Erwan Velu <e.velu@criteo.com> | 2019-10-07 15:36:47 +0200 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2019-10-07 15:36:47 +0200 |
commit | 3a455213068eb3a3572908c77fafae35e5360998 (patch) | |
tree | 37defae1b3e14fc5d1afd8c406e62e06590fdec7 /dmiopt.c | |
parent | 9bce894b7730013120d4c71f964d4cf8402cb956 (diff) | |
download | dmidecode-git-3a455213068eb3a3572908c77fafae35e5360998.tar.gz |
dmidecode: Adding firmware-revision support to -s option
Most of servers like HPe, QCT, report the BMC version via the
Firmware Revision field. Add an option to the -s to export this
information directly.
A typical usage of this feature looks like:
[root@host ~]$ dmidecode -s firmware-revision
3.93
Signed-off-by: Erwan Velu <e.velu@criteo.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'dmiopt.c')
-rw-r--r-- | dmiopt.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -152,6 +152,7 @@ static const struct string_keyword opt_string_keyword[] = { { "bios-version", 0, 0x05 }, { "bios-release-date", 0, 0x08 }, { "bios-revision", 0, 0x15 }, /* 0x14 and 0x15 */ + { "firmware-revision", 0, 0x17 }, /* 0x16 and 0x17 */ { "system-manufacturer", 1, 0x04 }, { "system-product-name", 1, 0x05 }, { "system-version", 1, 0x06 }, |