diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-02-04 12:28:37 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-02-17 15:21:47 +0000 |
commit | b53202a8c3f728c348c5376e5b5fb36af7c37744 (patch) | |
tree | 0127ff821379b3fce4b5d3419280fa6ade978acf /target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h | |
parent | af93bf6129d812937eeffc183878d60c6b700b7e (diff) | |
download | upstream-b53202a8c3f728c348c5376e5b5fb36af7c37744.tar.gz upstream-b53202a8c3f728c348c5376e5b5fb36af7c37744.tar.bz2 upstream-b53202a8c3f728c348c5376e5b5fb36af7c37744.zip |
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>
Diffstat (limited to 'target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h')
-rw-r--r-- | target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h b/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h index 1ccb560d2a..553d9a1575 100644 --- a/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h +++ b/target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.h @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -// TODO: not really used -struct rtl838x_phy_priv { +struct rtl83xx_shared_private { char *name; }; |