Added the port-type and led colours

This commit is contained in:
Sylwester Petela committed 2026-09-17 20:01:29 +02:00
1 parent c69bf4c5ec
commit 73ec184c23
1 file changed
+3 -1
+3 -1
View File
@@ -1253,13 +1253,15 @@ __code const struct machine machine = {
.led_sets = { .led_sets = {
{ {
/* LED0 = RJ45: Amber LED: 2.5G */
LEDS_2G5 | LEDS_LINK | LEDS_ACT, LEDS_2G5 | LEDS_LINK | LEDS_ACT,
/* LED1 = RJ45: Green LED: 10M / 100M / 1000M */
LEDS_1G | LEDS_100M | LEDS_10M | LEDS_LINK | LEDS_ACT, LEDS_1G | LEDS_100M | LEDS_10M | LEDS_LINK | LEDS_ACT,
0, 0,
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, LEDS_10G | LEDS_5G | LEDS_2G5 | LEDS_1G | LEDS_100M | LEDS_LINK | LEDS_ACT,
0, 0,
0, 0,