Anton Arapov 88d35e
diff -up dmidecode-2.12/dmidecode.c.smbios_fix dmidecode-2.12/dmidecode.c
Anton Arapov 88d35e
--- dmidecode-2.12/dmidecode.c.smbios_fix	2013-04-26 08:57:32.917716438 +0200
Anton Arapov 88d35e
+++ dmidecode-2.12/dmidecode.c	2013-04-26 08:57:54.439758540 +0200
Anton Arapov 88d35e
@@ -712,7 +712,6 @@ static const char *dmi_processor_family(
Anton Arapov 88d35e
 		{ 0x3D, "Opteron 6200" },
Anton Arapov 88d35e
 		{ 0x3E, "Opteron 4200" },
Anton Arapov 88d35e
 		{ 0x3F, "FX" },
Anton Arapov 88d35e
-
Anton Arapov 88d35e
 		{ 0x40, "MIPS" },
Anton Arapov 88d35e
 		{ 0x41, "MIPS R4000" },
Anton Arapov 88d35e
 		{ 0x42, "MIPS R4200" },
Anton Arapov 88d35e
@@ -729,7 +728,6 @@ static const char *dmi_processor_family(
Anton Arapov 88d35e
 		{ 0x4D, "Opteron 6300" },
Anton Arapov 88d35e
 		{ 0x4E, "Opteron 3300" },
Anton Arapov 88d35e
 		{ 0x4F, "FirePro" },
Anton Arapov 88d35e
-
Anton Arapov 88d35e
 		{ 0x50, "SPARC" },
Anton Arapov 88d35e
 		{ 0x51, "SuperSPARC" },
Anton Arapov 88d35e
 		{ 0x52, "MicroSPARC II" },
Anton Arapov 88d35e
@@ -1176,7 +1174,7 @@ static const char *dmi_processor_upgrade
Anton Arapov 88d35e
 		"Socket LGA1356-3" /* 0x2C */
Anton Arapov 88d35e
 	};
Anton Arapov 88d35e
 
Anton Arapov 88d35e
-	if (code >= 0x01 && code <= 0x2A)
Anton Arapov 88d35e
+	if (code >= 0x01 && code <= 0x2C)
Anton Arapov 88d35e
 		return upgrade[code - 0x01];
Anton Arapov 88d35e
 	return out_of_spec;
Anton Arapov 88d35e
 }
Anton Arapov 88d35e
@@ -2338,7 +2336,7 @@ static void dmi_memory_device_type_detai
Anton Arapov 88d35e
 	{
Anton Arapov 88d35e
 		int i;
Anton Arapov 88d35e
 
Anton Arapov 88d35e
-		for (i = 1; i <= 14; i++)
Anton Arapov 88d35e
+		for (i = 1; i <= 15; i++)
Anton Arapov 88d35e
 			if (code & (1 << i))
Anton Arapov 88d35e
 				printf(" %s", detail[i - 1]);
Anton Arapov 88d35e
 	}