mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-27 23:47:19 +01:00
The Realtek mdio bus works similar for all devices with only minor family specific differences. Basically command issuing follows a generic style. Write command type and a trigger. Afterwards wait until the trigger flag goes back to zero (aka "command complete"). Unify this sequence in a central helper. RTL838x read/write callers of this helper use a strange style of error handling by issuing goto statements. Refactor this for better readability. Additionally remove all debug prints. These are not needed as the central read/write handlers provide a common logging mechanism. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/21529 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> |
||
|---|---|---|
| .. | ||
| imagebuilder | ||
| linux | ||
| llvm-bpf | ||
| sdk | ||
| toolchain | ||
| Config.in | ||
| Makefile | ||