@@ -534,12 +534,15 @@ static const char *dmi_chassis_type(u8 code)
534
534
"CompactPCI" ,
535
535
"AdvancedTCA" ,
536
536
"Blade" ,
537
- "Blade Enclosing" /* 0x1D */
537
+ "Blade Enclosing" ,
538
+ "Tablet" ,
539
+ "Convertible" ,
540
+ "Detachable" /* 0x20 */
538
541
};
539
542
540
543
code &= 0x7F ; /* bits 6:0 are chassis type, 7th bit is the lock bit */
541
544
542
- if (code >= 0x01 && code <= 0x1D )
545
+ if (code >= 0x01 && code <= 0x20 )
543
546
return type [code - 0x01 ];
544
547
return out_of_spec ;
545
548
}
@@ -700,6 +703,7 @@ static const char *dmi_processor_family(const struct dmi_header *h, u16 ver)
700
703
{ 0x29 , "Core Duo Mobile" },
701
704
{ 0x2A , "Core Solo Mobile" },
702
705
{ 0x2B , "Atom" },
706
+ { 0x2C , "Core M" },
703
707
704
708
{ 0x30 , "Alpha" },
705
709
{ 0x31 , "Alpha 21064" },
@@ -749,6 +753,9 @@ static const char *dmi_processor_family(const struct dmi_header *h, u16 ver)
749
753
{ 0x63 , "68010" },
750
754
{ 0x64 , "68020" },
751
755
{ 0x65 , "68030" },
756
+ { 0x66 , "Athlon X4" },
757
+ { 0x67 , "Opteron X1000" },
758
+ { 0x68 , "Opteron X2000" },
752
759
753
760
{ 0x70 , "Hobbit" },
754
761
@@ -1176,10 +1183,14 @@ static const char *dmi_processor_upgrade(u8 code)
1176
1183
"Socket FM1" ,
1177
1184
"Socket FM2" ,
1178
1185
"Socket LGA2011-3" ,
1179
- "Socket LGA1356-3" /* 0x2C */
1186
+ "Socket LGA1356-3" ,
1187
+ "Socket LGA1150" ,
1188
+ "Socket BGA1168" ,
1189
+ "Socket BGA1234" ,
1190
+ "Socket BGA1364" /* 0x30 */
1180
1191
};
1181
1192
1182
- if (code >= 0x01 && code <= 0x2C )
1193
+ if (code >= 0x01 && code <= 0x30 )
1183
1194
return upgrade [code - 0x01 ];
1184
1195
return out_of_spec ;
1185
1196
}
@@ -1675,7 +1686,20 @@ static const char *dmi_slot_type(u8 code)
1675
1686
"AGP 2x" ,
1676
1687
"AGP 4x" ,
1677
1688
"PCI-X" ,
1678
- "AGP 8x" /* 0x13 */
1689
+ "AGP 8x" ,
1690
+ "M.2 Socket 1-DP" ,
1691
+ "M.2 Socket 1-SD" ,
1692
+ "M.2 Socket 2" ,
1693
+ "M.2 Socket 3" ,
1694
+ "MXM Type I" ,
1695
+ "MXM Type II" ,
1696
+ "MXM Type III" ,
1697
+ "MXM Type III-HE" ,
1698
+ "MXM Type IV" ,
1699
+ "MXM 3.0 Type A" ,
1700
+ "MXM 3.0 Type B" ,
1701
+ "PCI Express 2 SFF-8639" ,
1702
+ "PCI Express 3 SFF-8639" /* 0x20 */
1679
1703
};
1680
1704
static const char * type_0xA0 [] = {
1681
1705
"PC-98/C20" , /* 0xA0 */
@@ -1707,7 +1731,7 @@ static const char *dmi_slot_type(u8 code)
1707
1731
* function dmi_slot_id below needs updating too.
1708
1732
*/
1709
1733
1710
- if (code >= 0x01 && code <= 0x13 )
1734
+ if (code >= 0x01 && code <= 0x20 )
1711
1735
return type [code - 0x01 ];
1712
1736
if (code >= 0xA0 && code <= 0xB6 )
1713
1737
return type_0xA0 [code - 0xA0 ];
@@ -1787,6 +1811,8 @@ static void dmi_slot_id(u8 code1, u8 code2, u8 type, const char *prefix)
1787
1811
case 0x11 : /* AGP */
1788
1812
case 0x12 : /* PCI-X */
1789
1813
case 0x13 : /* AGP */
1814
+ case 0x1F : /* PCI Express 2 */
1815
+ case 0x20 : /* PCI Express 3 */
1790
1816
case 0xA5 : /* PCI Express */
1791
1817
case 0xA6 : /* PCI Express */
1792
1818
case 0xA7 : /* PCI Express */
@@ -2317,10 +2343,14 @@ static const char *dmi_memory_device_type(u8 code)
2317
2343
"Reserved" ,
2318
2344
"DDR3" ,
2319
2345
"FBD2" ,
2320
- "DDR4" /* 0x1A */
2346
+ "DDR4" ,
2347
+ "LPDDR" ,
2348
+ "LPDDR2" ,
2349
+ "LPDDR3" ,
2350
+ "LPDDR4" /* 0x1E */
2321
2351
};
2322
2352
2323
- if (code >= 0x01 && code <= 0x1A )
2353
+ if (code >= 0x01 && code <= 0x1E )
2324
2354
return type [code - 0x01 ];
2325
2355
return out_of_spec ;
2326
2356
}
0 commit comments