openwrt/target
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
..
imagebuilder toolchain: sdk: ib: allow external toolchain override 2026-02-20 22:54:26 +01:00
linux realtek: dsa: relax rtldsa_ethernet_loaded() 2026-03-08 20:12:34 +01:00
llvm-bpf
sdk toolchain: sdk: ib: allow external toolchain override 2026-02-20 22:54:26 +01:00
toolchain
Config.in targets: add REGULATOR_SUPPORT auto-feature 2026-03-01 10:59:19 +01:00
Makefile