net: mtk_eth_soc: partially convert to phylink_pcs
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 18 May 2022 14:55:28 +0000 (15:55 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 May 2022 01:14:30 +0000 (18:14 -0700)
commit14a44ab0330d290fade1403a920e299cc56d7300
tree30204316afefb31ad9290fafdd2cfdecb872821a
parent901f3fbe13c3e56f0742e02717ccbfabbc95c463
net: mtk_eth_soc: partially convert to phylink_pcs

Partially convert mtk_eth_soc to phylink_pcs, moving the configuration,
link up and AN restart over. However, it seems mac_pcs_get_state()
doesn't actually get the state from the PCS, so we can't convert that
over without a better understanding of the hardware.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h
drivers/net/ethernet/mediatek/mtk_sgmii.c