net: altera: tse: convert to phylink
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 2 Sep 2022 08:32:04 +0000 (10:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2022 09:16:53 +0000 (10:16 +0100)
commitfef2998203e17e4298843afb2056fbed44611734
treee0d940703332e6d75ec40061b1f858bc05275c6f
parent4a502cf4d77e12119e7061a05d5789cd3129d185
net: altera: tse: convert to phylink

Convert the Altera Triple Speed Ethernet Controller to phylink.
This controller supports MII, GMII and RGMII with its MAC, and
SGMII + 1000BaseX through a small embedded PCS.

The PCS itself has a register set very similar to what is found in a
typical 802.3 ethernet PHY, but this register set memory-mapped instead
of lying on an mdio bus.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/altera/Kconfig
drivers/net/ethernet/altera/altera_tse.h
drivers/net/ethernet/altera/altera_tse_ethtool.c
drivers/net/ethernet/altera/altera_tse_main.c