1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
Harshal Gohel 445af8c038 realtek: rtl930x: Fetch link status for all ports in switch IRQ
Link status needs to be read twice, and a single register value is
enough for determining link status for all the ports

It is not necessary to go through each potential port separately and later
actually identify for which ports the interrupt actually was. The helper
for_each_set_bit() directly iterate through all set bits.

While at it, rename the function to a proper naming scheme.

Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Co-developed-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/19578
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-08-07 16:01:51 +02:00
..
airoha kernel: bump 6.6 to 6.6.98 2025-07-16 09:40:36 +02:00
apm821xx apm821xx: sata: refresh config 2025-07-27 18:22:31 +02:00
armsr armsr: Make kernel modules depend on target 2025-07-26 01:11:21 +02:00
at91
ath79 ath79: add support for Dell SonicPoint ACi APL27-0B1 2025-07-13 01:03:36 +02:00
bcm27xx bcm27xx: Make kernel modules depend on target 2025-07-26 01:11:21 +02:00
bcm47xx
bcm53xx
bcm4908
bmips kernel: bump 6.12 to 6.12.39 2025-07-19 11:59:56 +02:00
d1
gemini gemini: Remove kmod-md-multipath dependency 2025-07-27 01:35:36 +02:00
generic kernel: improve pppoe performance 2025-08-03 06:22:59 +02:00
imx generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
ipq40xx ipq40xx: Refresh kernel patches 2025-08-03 15:44:57 +02:00
ipq806x
ixp4xx
kirkwood kirkwood: add kmod-ata-ahci as default to ix4-200d 2025-07-19 17:58:41 +02:00
lantiq lantiq: replace patches with upstream version 2025-08-07 13:36:49 +02:00
layerscape
loongarch64 loongarch64: add 6.12 as testing kernel 2025-07-12 23:17:00 +02:00
malta malta: drop 6.6 support 2025-07-20 23:37:37 +02:00
mediatek mediatek: add factory image for ipTIME AX3000SM 2025-07-27 17:20:04 +02:00
mpc85xx
mvebu mvebu: switch to kernel 6.12 2025-08-04 22:57:18 +02:00
mxs
octeon
omap
pistachio
qoriq
qualcommax qualcommax: ipq6018: remove unused reserved memory 2025-07-30 23:33:44 +02:00
qualcommbe kernel: Reorder kernel configuration 2025-07-26 01:11:21 +02:00
ramips kernel: bump 6.12 to 6.12.40 2025-07-26 01:00:09 +02:00
realtek realtek: rtl930x: Fetch link status for all ports in switch IRQ 2025-08-07 16:01:51 +02:00
rockchip rockchip: Add Realtek RTL8821CU support for the Radxa ROCK Pi E v3 2025-08-01 15:52:26 +03:00
sifiveu
siflower
starfive
stm32 generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
sunxi generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
tegra tegra: add 6.12 as testing kernel 2025-07-13 00:49:37 +02:00
uml
x86 x86: add board mapping for Sophos XG 210r3 2025-08-07 14:07:42 +02:00
zynq
Makefile