openwrt/target/linux/realtek
Markus Stockhausen 898f678261
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
realtek: dsa: relax rtldsa_ethernet_loaded()
The Realtek DSA driver accesses the DTS at two locations.

- rtldsa_ethernet_loaded(): to check if ethernet driver is active
- rtl83xx_mdio_probe(): to create ports and link to pcs/phy

The first function does not directly search for the ethernet driver
but looks it up through the switch port nodes. Avoid future issues
and simply search all nodes that have a "ethernet" link to the
network driver.

While we are here add a missing put_device() to keep reference
counters clean.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22235
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-08 20:12:34 +01:00
..
base-files realtek: use nvmem for mac address for XikeStor SKS8310-8X 2026-03-01 14:46:12 +01:00
dts realtek: dts: drop SYS LED of XikeStor SKS8310-8X 2026-03-01 14:46:12 +01:00
files-6.12 realtek: dsa: relax rtldsa_ethernet_loaded() 2026-03-08 20:12:34 +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 kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl930x kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl930x_nand kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl931x kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl931x_nand kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +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