@@ -39,8 +39,9 @@ impl PdPort {
3939 ) ) ;
4040
4141 Ok ( match ( platform, self ) {
42- ( Platform :: GenericFramework ( ( left, _) , _) , PdPort :: Left01 ) => * left,
43- ( Platform :: GenericFramework ( ( _, right) , _) , PdPort :: Right23 ) => * right,
42+ ( Platform :: GenericFramework ( ( left, _, _) , _) , PdPort :: Left01 ) => * left,
43+ ( Platform :: GenericFramework ( ( _, right, _) , _) , PdPort :: Right23 ) => * right,
44+ ( Platform :: GenericFramework ( ( _, _, back) , _) , PdPort :: Back ) => * back,
4445 // Framework AMD Platforms (CCG8)
4546 (
4647 Platform :: Framework13Amd7080
@@ -91,8 +92,9 @@ impl PdPort {
9192 ) ) ) ;
9293
9394 Ok ( match ( platform, self ) {
94- ( Platform :: GenericFramework ( _, ( left, _) ) , PdPort :: Left01 ) => * left,
95- ( Platform :: GenericFramework ( _, ( _, right) ) , PdPort :: Right23 ) => * right,
95+ ( Platform :: GenericFramework ( _, ( left, _, _) ) , PdPort :: Left01 ) => * left,
96+ ( Platform :: GenericFramework ( _, ( _, right, _) ) , PdPort :: Right23 ) => * right,
97+ ( Platform :: GenericFramework ( _, ( _, _, back) ) , PdPort :: Back ) => * back,
9698 ( Platform :: IntelGen11 , _) => 6 ,
9799 ( Platform :: IntelGen12 | Platform :: IntelGen13 , PdPort :: Left01 ) => 6 ,
98100 ( Platform :: IntelGen12 | Platform :: IntelGen13 , PdPort :: Right23 ) => 7 ,
0 commit comments