1
0
Fork 0
forked from mirror/openwrt
openwrt/target
Markus Stockhausen 40d70c9c81 realtek: dsa: do not open code PHY access
The DSA has a link to the MDIO bus and already uses the read/write functions
that are provided. In parallel the dsa_switch_ops structure provides an
interface for phy_read and phy_write. These are still open-coded and sadly
circumvent the bus. Simplify the implementation and avoid inconsistencies by
reusing the existing bus infrastructure.

Additionally, remove two unused MMD header definitions as a quick win.

Reported-by: Jan Hoffmann <jan@3e8.eu>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19548
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-07-31 22:00:25 +02:00
..
imagebuilder
linux realtek: dsa: do not open code PHY access 2025-07-31 22:00:25 +02:00
llvm-bpf
sdk
toolchain
Config.in targets: add USES_PM auto-feature 2025-07-20 12:16:13 +01:00
Makefile