openwrt-6.x/target/linux/realtek
Jonas Jelonek 6432b41180 realtek: rtl931x: fix setting number of leds per port
In rtl931x_led_init, the number of leds per port is not properly set. It
currently uses a hardcoded value of 1 which seems to be taken initially
from a specific device. This hardcoded value assumes any port always has
exactly two leds.

The RTL930x variant - rtl930x_led_init - does a better job at this. So
take it and use it for RTL931x too with the corresponding register.
While at it, rename the function to a proper naming scheme.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19241
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-13 16:47:42 +02:00
..
base-files realtek: add support for TP-Link TL-ST1008F v2.0 2025-06-16 13:30:52 +02:00
dts realtek: Use Otto timer on RTL931x 2025-06-22 23:12:02 +02:00
files/firmware/rtl838x_phy
files-6.12 realtek: rtl931x: fix setting number of leds per port 2025-07-13 16:47:42 +02:00
image realtek: add RTL931x support to rt-loader 2025-07-03 11:42:21 +02:00
patches-6.12 realtek: backport MIPS GIC patch 2025-06-22 23:12:02 +02:00
profiles
rtl838x realtek: remove patches, files and config for 6.6 2025-06-22 16:38:11 +02:00
rtl839x realtek: remove patches, files and config for 6.6 2025-06-22 16:38:11 +02:00
rtl930x realtek: remove patches, files and config for 6.6 2025-06-22 16:38:11 +02:00
rtl931x realtek: build Otto timer for RTL931x 2025-06-22 23:12:02 +02:00
Makefile realtek: switch to 6.12 as default 2025-06-22 16:38:11 +02:00