]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: RTL838x: move functions over to bus 19484/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 21 Jul 2025 12:34:54 +0000 (08:34 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 26 Jul 2025 13:46:31 +0000 (15:46 +0200)
commita3bfb67072a70e8720326b7e1527d55f8439b54c
tree2c4f5f8e3bbc59aebb1f907603ad79bd471f1213
parent6e8042ed97cef92e7217ab53c913aa0c2a35cbf0
realtek: mdio: RTL838x: move functions over to bus

The mdio bus functions are still split between ethernet and dsa driver.
Before moving everthing out to a separate mdio driver we decided to
collect everything in the ethernet driver with the rtmdio prefix.
Take over the remaining RTL838x functions.

Remark: This is more or less a copy/paste with function renaming. As
there are still some consumers in the DSA driver the definitions and
inclusions must be flipped.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19484
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.c
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.h