]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: rtl931x: move functions over to bus 19743/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 11 Aug 2025 08:34:00 +0000 (04:34 -0400)
committerRobert Marko <robimarko@gmail.com>
Tue, 19 Aug 2025 18:06:08 +0000 (20:06 +0200)
commit070d8eb4d57038f3986027cd6d4610bd27ec2d59
treec090cf9e2a7f7b147aec20b0e7655f90a34d8079
parent3ff8a3dca8bc24296f501b3c74214eb5005354bf
realtek: mdio: rtl931x: move functions over to bus

This commit repeats the mdio function relocation from the other targets.
In short that means:

- phy read/write functions are moved away from the phy driver
- SerDes read/write functions are moved away from the dsa driver
- All gets consolidated into the mdio driver (inside the ethernet driver)

This is mostly a copy/paste to keep the changes small. The SerDes phy mapping
and the simplification of the central bus functions will come later.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19743
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h
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/dsa/rtl83xx/rtl839x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl83xx.h
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl930x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.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
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.h