aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorHarshal Gohel <hg@simonwunderlich.de>2023-12-12 15:48:56 +0100
committerSander Vanheule <sander@svanheule.net>2024-01-09 21:18:50 +0100
commit2cfb1ecf103558a23c19ac55721dd4bfb0f7d4c1 (patch)
treedda34d0ed6fcbfddfebd0b37013c0c66e0c3b8dd /package/kernel/linux
parenta376508216440178184fb3ab71faf87eea637109 (diff)
downloadupstream-2cfb1ecf103558a23c19ac55721dd4bfb0f7d4c1.tar.gz
upstream-2cfb1ecf103558a23c19ac55721dd4bfb0f7d4c1.tar.bz2
upstream-2cfb1ecf103558a23c19ac55721dd4bfb0f7d4c1.zip
rtl930x: Rework per port LED configuration
Use led_setX to determine number of LEDs per port. Introduce macros to calculate register value and shift for particular LED in a particular set. Problem with previous implementation is that it uses is10G status to determine leds per port. However with usxgmii, driver sets 10g, 5g and 2.5g so even though there are only 2 leds per port it selects 4 leds per port This implementation relies on configured led_set node. Acked-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Diffstat (limited to 'package/kernel/linux')
0 files changed, 0 insertions, 0 deletions