"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dmiopt.c" between
dmidecode-3.2.tar.xz and dmidecode-3.3.tar.xz

About: dmidecode is a tool for dumping a computers DMI (some say SMBIOS) table contents in a human-readable format.

dmiopt.c  (dmidecode-3.2.tar.xz):dmiopt.c  (dmidecode-3.3.tar.xz)
skipping to change at line 151 skipping to change at line 151
* Handling of option --string * Handling of option --string
*/ */
/* This lookup table could admittedly be reworked for improved performance. /* This lookup table could admittedly be reworked for improved performance.
Due to the low count of items in there at the moment, it did not seem Due to the low count of items in there at the moment, it did not seem
worth the additional code complexity though. */ worth the additional code complexity though. */
static const struct string_keyword opt_string_keyword[] = { static const struct string_keyword opt_string_keyword[] = {
{ "bios-vendor", 0, 0x04 }, { "bios-vendor", 0, 0x04 },
{ "bios-version", 0, 0x05 }, { "bios-version", 0, 0x05 },
{ "bios-release-date", 0, 0x08 }, { "bios-release-date", 0, 0x08 },
{ "bios-revision", 0, 0x15 }, /* 0x14 and 0x15 */
{ "firmware-revision", 0, 0x17 }, /* 0x16 and 0x17 */
{ "system-manufacturer", 1, 0x04 }, { "system-manufacturer", 1, 0x04 },
{ "system-product-name", 1, 0x05 }, { "system-product-name", 1, 0x05 },
{ "system-version", 1, 0x06 }, { "system-version", 1, 0x06 },
{ "system-serial-number", 1, 0x07 }, { "system-serial-number", 1, 0x07 },
{ "system-uuid", 1, 0x08 }, /* dmi_system_uuid() */ { "system-uuid", 1, 0x08 }, /* dmi_system_uuid() */
{ "system-sku-number", 1, 0x19 },
{ "system-family", 1, 0x1a }, { "system-family", 1, 0x1a },
{ "baseboard-manufacturer", 2, 0x04 }, { "baseboard-manufacturer", 2, 0x04 },
{ "baseboard-product-name", 2, 0x05 }, { "baseboard-product-name", 2, 0x05 },
{ "baseboard-version", 2, 0x06 }, { "baseboard-version", 2, 0x06 },
{ "baseboard-serial-number", 2, 0x07 }, { "baseboard-serial-number", 2, 0x07 },
{ "baseboard-asset-tag", 2, 0x08 }, { "baseboard-asset-tag", 2, 0x08 },
{ "chassis-manufacturer", 3, 0x04 }, { "chassis-manufacturer", 3, 0x04 },
{ "chassis-type", 3, 0x05 }, /* dmi_chassis_type() */ { "chassis-type", 3, 0x05 }, /* dmi_chassis_type() */
{ "chassis-version", 3, 0x06 }, { "chassis-version", 3, 0x06 },
{ "chassis-serial-number", 3, 0x07 }, { "chassis-serial-number", 3, 0x07 },
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)