realtek: switch to use generic MDIO accessor functions
Instead of directly calling SoC-specific functions in order to access
(paged) MII registers or MMD registers, create infrastructure to allow
using the generic phy_*, phy_*_paged and phy_*_mmd functions.
Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
Showing
- target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/common.c 4 additions, 1 deletion...linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/common.c
- target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c 122 additions, 29 deletions...nux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c
- target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.h 4 additions, 0 deletions...nux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.h
- target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c 267 additions, 441 deletions...et/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c
- target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h 1 addition, 2 deletions...et/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h
- target/linux/realtek/patches-5.10/800-net-mdio-support-hardware-assisted-indirect-access.patch 840 additions, 0 deletions...-net-mdio-support-hardware-assisted-indirect-access.patch
Loading
Please register or sign in to comment