From 905cf38f1fe2b13b90227685eb1df88328ac4221 Mon Sep 17 00:00:00 2001 From: diijkstra <16804536+diijkstra@users.noreply.github.com> Date: Sat, 14 Mar 2026 18:54:40 +0100 Subject: [PATCH] Trendnet: Another mapping fix Physical to logical mapping was reverted for SFP ports. --- machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine.c b/machine.c index 7c924b1..4671eeb 100644 --- a/machine.c +++ b/machine.c @@ -326,7 +326,7 @@ __code const struct machine machine = { .max_port = 8, .n_sfp = 2, .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}, .sfp_port[0].pin_detect = GPIO38, .sfp_port[0].pin_los = GPIO50_I2C_SCL2_UART1_TX,