1 --- dmidecode/dmidecode.c~ 2008/11/14 10:27:31 1.140
2 +++ dmidecode/dmidecode.c 2009/04/30 08:19:37 1.141
4 #define out_of_spec "<OUT OF SPEC>"
5 static const char *bad_index = "<BAD INDEX>";
7 +#define SUPPORTED_SMBIOS_VER 0x0206
10 * Type-independant Stuff
12 @@ -4005,6 +4007,13 @@
16 + if (ver > SUPPORTED_SMBIOS_VER)
18 + printf("# SMBIOS implementations newer than version %u.%u are not\n"
19 + "# fully supported by this version of dmidecode.\n",
20 + SUPPORTED_SMBIOS_VER >> 8, SUPPORTED_SMBIOS_VER & 0xFF);
23 if (opt.flags & FLAG_DUMP_BIN)
25 dmi_table_dump(base, len, devmem);