mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-15 00:52:10 -05:00
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> |
||
|---|---|---|
| .. | ||
| common.c | ||
| debugfs.c | ||
| dsa.c | ||
| Kconfig | ||
| Makefile | ||
| qos.c | ||
| rtl83xx.h | ||
| rtl838x.c | ||
| rtl838x.h | ||
| rtl839x.c | ||
| rtl930x.c | ||
| rtl931x.c | ||
| tc.c | ||