summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mediatek/mtk_eth_soc.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-04-07 15:52:22 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-04-14 10:12:28 +0100
commit775b9e725289f91a93425f8af77e710c9535ced2 (patch)
tree25415f570d431d578279625e15181fdf2d131dc4 /drivers/net/ethernet/mediatek/mtk_eth_soc.c
parent25d9ba5918bc24cef2a6d6ec32a33accf30a8446 (diff)
net: mtk_eth_soc: convert code structure to suit split PCS support
Provide a mtk_pcs structure which encapsulates everything that the PCS functions need (the regmap and ana_rgc3 offset), and use this in the PCS functions. Provide shim functions to convert from the existing "mtk_sgmii_*" interface to the converted PCS functions. Tested-by: Marek BehĂșn <kabel@kernel.org> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/ethernet/mediatek/mtk_eth_soc.c')
0 files changed, 0 insertions, 0 deletions