From 73ec184c230510bf32712abb3e59e6e236e93c95 Mon Sep 17 00:00:00 2001 From: Sylwester Petela Date: Thu, 17 Sep 2026 20:01:29 +0200 Subject: [PATCH] Added the port-type and led colours --- machine.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/machine.c b/machine.c index cb70dbbf..3c6e8535 100644 --- a/machine.c +++ b/machine.c @@ -1253,13 +1253,15 @@ __code const struct machine machine = { .led_sets = { { + /* LED0 = RJ45: Amber LED: 2.5G */ LEDS_2G5 | LEDS_LINK | LEDS_ACT, + /* LED1 = RJ45: Green LED: 10M / 100M / 1000M */ LEDS_1G | LEDS_100M | LEDS_10M | LEDS_LINK | LEDS_ACT, 0, 0 }, { - /* SFP+ LED mapping retained from the working SWTGW218AS base. */ + /* SFP+ single Green LED. */ LEDS_10G | LEDS_5G | LEDS_2G5 | LEDS_1G | LEDS_100M | LEDS_LINK | LEDS_ACT, 0, 0,