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