Trendnet: Another mapping fix

Physical to logical mapping was reverted for SFP ports.
This commit is contained in:
diijkstra
2026-03-21 12:22:36 +01:00
parent b0370f7bb3
commit 905cf38f1f
+1 -1
View File
@@ -326,7 +326,7 @@ __code const struct machine machine = {
.max_port = 8, .max_port = 8,
.n_sfp = 2, .n_sfp = 2,
.log_to_phys_port = {0, 0, 0, 6, 1, 2, 3, 4, 5}, .log_to_phys_port = {0, 0, 0, 6, 1, 2, 3, 4, 5},
.phys_to_log_port = {4, 5, 6, 7, 3, 8, 0, 0, 0}, .phys_to_log_port = {4, 5, 6, 7, 8, 3, 0, 0, 0},
.is_sfp = {0, 0, 0, 1, 0, 0, 0, 0, 2}, .is_sfp = {0, 0, 0, 1, 0, 0, 0, 0, 2},
.sfp_port[0].pin_detect = GPIO38, .sfp_port[0].pin_detect = GPIO38,
.sfp_port[0].pin_los = GPIO50_I2C_SCL2_UART1_TX, .sfp_port[0].pin_los = GPIO50_I2C_SCL2_UART1_TX,