openwrt/target/linux/realtek
Markus Stockhausen 056176cde1
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
realtek: dsa: consolidate switch_irq()
The dsa irq handler works always in the same way for all SoCs.

- Read register ISR_PORT_LINK_STS_CHG to determine the ports that
  triggered the irq.
- Write the read value back to the register to confirm the irq
- Read link status via MAC_LINK_STS
- Trigger dsa_port_phylink_mac_change() for each changed port

Currently each SoC has its own implementation. Drop that in
favour of a generic implementation that makes use of the existing
bit register read/write helpers.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22273
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-14 22:48:37 +01:00
..
base-files realtek: dts: convert LGS3xxC to NVMEM 2026-03-14 10:50:47 +01:00
dts realtek: use 50kHz I2C for SFPs on Xikestor SKS8300-8X 2026-03-14 22:40:47 +01:00
files-6.12 realtek: dsa: consolidate switch_irq() 2026-03-14 22:48:37 +01:00
image realtek: dts: add monitor IC node for XikeStor SKS8310-8X 2026-03-01 14:46:12 +01:00
patches-6.12 realtek: pending upstream rtl9300 i2c speed patch 2026-03-07 20:51:08 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl839x realtek: enable U-Boot env NVMEM layout for missing targets 2026-03-14 10:50:47 +01:00
rtl930x kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl930x_nand realtek: enable U-Boot env NVMEM layout for missing targets 2026-03-14 10:50:47 +01:00
rtl931x kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl931x_nand realtek: enable U-Boot env NVMEM layout for missing targets 2026-03-14 10:50:47 +01:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00
modules.mk kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00