Blob Blame History Raw
--- dmidecode-2.10/dmidecode.c~	2009-08-24 16:09:42.228443932 -0400
+++ dmidecode-2.10/dmidecode.c	2009-08-24 16:23:50.480316768 -0400
@@ -1541,12 +1541,18 @@ static const char *dmi_slot_type(u8 code
 		"PCI Express x2",
 		"PCI Express x4",
 		"PCI Express x8",
-		"PCI Express x16" /* 0xAA */
+		"PCI Express x16", /* 0xAA */
+		"PCI Express Gen 2",
+		"PCI Express Gen 2 x1",
+		"PCI Express Gen 2 x2",
+		"PCI Express Gen 2 x4",
+		"PCI Express Gen 2 x8",
+		"PCI Express Gen 2 x16", /* 0xB0 */
 	};
 
 	if (code >= 0x01 && code <= 0x13)
 		return type[code - 0x01];
-	if (code >= 0xA0 && code <= 0xAA)
+	if (code >= 0xA0 && code <= 0xB0)
 		return type_0xA0[code - 0xA0];
 	return out_of_spec;
 }