@@ -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
@@ -54,6 +55,7 @@ impl PdPort {
5455 | Platform :: Framework16Amd7080 ,
5556 PdPort :: Right23 ,
5657 ) => 0x40 ,
58+ ( Platform :: Framework16Amd7080 , PdPort :: Back ) => 0x42 ,
5759 ( Platform :: FrameworkDesktopAmdAiMax300 , PdPort :: Back ) => 0x08 ,
5860 ( Platform :: FrameworkDesktopAmdAiMax300 , _) => unsupported?,
5961 // Framework Intel Platforms (CCG5 and CCG6)
@@ -90,8 +92,9 @@ impl PdPort {
9092 ) ) ) ;
9193
9294 Ok ( match ( platform, self ) {
93- ( Platform :: GenericFramework ( _, ( left, _) ) , PdPort :: Left01 ) => * left,
94- ( 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,
9598 ( Platform :: IntelGen11 , _) => 6 ,
9699 ( Platform :: IntelGen12 | Platform :: IntelGen13 , PdPort :: Left01 ) => 6 ,
97100 ( Platform :: IntelGen12 | Platform :: IntelGen13 , PdPort :: Right23 ) => 7 ,
@@ -111,6 +114,7 @@ impl PdPort {
111114 | Platform :: Framework12IntelGen13 ,
112115 PdPort :: Right23 ,
113116 ) => 2 ,
117+ ( Platform :: Framework16Amd7080 , PdPort :: Back ) => 5 ,
114118 ( Platform :: FrameworkDesktopAmdAiMax300 , PdPort :: Back ) => 1 ,
115119 ( Platform :: FrameworkDesktopAmdAiMax300 , _) => unsupported?,
116120 ( Platform :: UnknownSystem , _) => {
0 commit comments