Merge pull request #62 from vDorst/fix_SWTG024AS_port_mapping

SWGT024_V2_0: Fix port mapping. Port 2 & 3 were swapped.
This commit is contained in:
logicog
2025-12-24 09:33:19 +01:00
committed by GitHub
+1 -1
View File
@@ -58,7 +58,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, 6, 5, 7, 3, 8, 0, 0, 0}, .phys_to_log_port = {4, 5, 6, 7, 3, 8, 0, 0, 0},
.is_sfp= {0, 0, 0, 2, 0, 0, 0, 0, 1}, .is_sfp= {0, 0, 0, 2, 0, 0, 0, 0, 1},
// Left SFP port (J4) // Left SFP port (J4)
.sfp_port[0].pin_detect = 30, .sfp_port[0].pin_detect = 30,