openwrt-pf/target/linux
Harshal Gohel 2cfb1ecf10 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>
2024-01-09 21:18:50 +01:00
..
airoha
apm821xx
archs38
armsr kernel: bump 6.1 to 6.1.69 2023-12-21 11:26:35 +01:00
at91
ath25
ath79 ath79: add support for UniFi UK-Ultra 2024-01-07 23:06:17 +01:00
bcm27xx kernel: bump 6.1 to 6.1.71 2024-01-06 12:52:49 +01:00
bcm47xx kernel: bump 5.15 to 5.15.146 2024-01-06 10:53:39 +01:00
bcm53xx kernel: backport upstream brcm_nvram fix for NAND controller 2023-12-18 08:33:04 +01:00
bcm63xx
bcm4908
bmips
gemini kernel: bump 6.1 to 6.1.71 2024-01-06 12:52:49 +01:00
generic kernel: backport more NVMEM changes queued for v6.8 2024-01-08 08:30:09 +01:00
imx imx: enable CONFIG_CPU_FREQ_THERMAL 2023-12-12 19:35:03 +01:00
ipq40xx treewide: use ethtool_puts instead of memcpy 2024-01-05 16:12:49 +01:00
ipq806x kernel: bump 6.1 to 6.1.70 2024-01-02 18:28:58 +01:00
ixp4xx ixp4xx: add Generic subtarget definition 2023-12-09 14:45:50 +01:00
kirkwood kirkwood: backport fix Ctera C200 V1 ubi part name to 6.1 2023-12-15 17:59:35 +01:00
lantiq kernel: bump 5.15 to 5.15.143 2023-12-19 14:18:55 +01:00
layerscape kernel: bump 5.15 to 5.15.142 2023-12-11 17:39:57 +01:00
malta
mediatek mediatek: fix BPI-R3 wifi mac address 2024-01-09 15:16:35 +01:00
mpc85xx mpc85xx: fix reserved-memory node name 2023-12-28 23:37:51 +01:00
mvebu mvebu: fix RTC of IEI-World Puzzle M90x devices 2023-12-18 22:17:09 +00:00
mxs
octeon kernel: bump 6.1 to 6.1.68 2023-12-19 14:12:25 +01:00
octeontx kernel: bump 5.15 to 5.15.140 2023-11-29 23:41:33 +01:00
omap
oxnas oxnas: do not use pcie-controller 2024-01-01 02:34:48 +01:00
pistachio
qoriq qoriq: pad rootfs with zeros 2023-12-02 14:06:56 +02:00
qualcommax qualcommax: Fix Buffalo WXR-5950AX12 wifi MAC 2024-01-06 18:16:48 +01:00
ramips ramips: add alternative name to Etisalat (Sercomm) S3 2024-01-07 01:41:23 +01:00
realtek rtl930x: Rework per port LED configuration 2024-01-09 21:18:50 +01:00
rockchip rockchip: configure eth pad driver strength for orangepi r1 plus lts 2024-01-04 22:07:01 +01:00
sifiveu
sunxi sunxi: mark upstreamed patches as such 2023-12-19 16:02:05 +01:00
tegra
uml
x86 Revert "x86: add support for Mellanox Spectrum SN2000 Switches" 2023-12-23 07:52:05 +00:00
zynq
Makefile