net: mtk_eth_soc: drop use of phylink_helper_basex_speed()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 16 Nov 2021 10:06:53 +0000 (10:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2021 11:23:39 +0000 (11:23 +0000)
commit71d927494463c4f016d828e1134da26b7e961af5
tree419b46942952c86ea9c7bcbd32390e8b0d9a988a
parentdb81ca153814475d7e07365d46a4d1134bd122e2
net: mtk_eth_soc: drop use of phylink_helper_basex_speed()

Now that we have a better method to select SFP interface modes, we
no longer need to use phylink_helper_basex_speed() in a driver's
validation function, and we can also get rid of our hack to indicate
both 1000base-X and 2500base-X if the comphy is present to make that
work. Remove this hack and use of phylink_helper_basex_speed().

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c