]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: refactor RTL838x mdio serdes read/write functions 18847/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 19 May 2025 18:34:54 +0000 (14:34 -0400)
committerRobert Marko <robimarko@gmail.com>
Mon, 26 May 2025 08:39:44 +0000 (10:39 +0200)
commit32f408c95588f05c76fb8411ec3d92b9ca18cd6b
treee4d5c45ebc478edbc9ae0c8336a9423a573866a3
parent1bef83bb230fe1695050746b56175d35b50da6b1
realtek: refactor RTL838x mdio serdes read/write functions

There are still a lot of mdio functions scattered around the code.
Move the RTL838x serdes helpers closer to the bus, add the proper
prefix and simplify the functions.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18847
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-6.6/drivers/net/phy/rtl83xx-phy.c