@@ -1787,7 +1787,10 @@ static const char *dmi_slot_type(u8 code)
1787
1787
"MXM 3.0 Type A" ,
1788
1788
"MXM 3.0 Type B" ,
1789
1789
"PCI Express 2 SFF-8639" ,
1790
- "PCI Express 3 SFF-8639" /* 0x20 */
1790
+ "PCI Express 3 SFF-8639" ,
1791
+ "PCI Express Mini 52-pin with bottom-side keep-outs" ,
1792
+ "PCI Express Mini 52-pin without bottom-side keep-outs" ,
1793
+ "PCI Express Mini 76-pin" /* 0x23 */
1791
1794
};
1792
1795
static const char * type_0xA0 [] = {
1793
1796
"PC-98/C20" , /* 0xA0 */
@@ -1819,7 +1822,7 @@ static const char *dmi_slot_type(u8 code)
1819
1822
* function dmi_slot_id below needs updating too.
1820
1823
*/
1821
1824
1822
- if (code >= 0x01 && code <= 0x20 )
1825
+ if (code >= 0x01 && code <= 0x23 )
1823
1826
return type [code - 0x01 ];
1824
1827
if (code >= 0xA0 && code <= 0xB6 )
1825
1828
return type_0xA0 [code - 0xA0 ];
@@ -1901,6 +1904,9 @@ static void dmi_slot_id(u8 code1, u8 code2, u8 type, const char *prefix)
1901
1904
case 0x13 : /* AGP */
1902
1905
case 0x1F : /* PCI Express 2 */
1903
1906
case 0x20 : /* PCI Express 3 */
1907
+ case 0x21 : /* PCI Express Mini */
1908
+ case 0x22 : /* PCI Express Mini */
1909
+ case 0x23 : /* PCI Express Mini */
1904
1910
case 0xA5 : /* PCI Express */
1905
1911
case 0xA6 : /* PCI Express */
1906
1912
case 0xA7 : /* PCI Express */
0 commit comments