]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvneta: drop use of phylink_helper_basex_speed()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 27 Oct 2021 09:03:53 +0000 (10:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Oct 2021 13:50:11 +0000 (14:50 +0100)
commit69f4fbcf55de76dfeabd336ab8d716e279b289a8
tree1bb382b575f77c727ebe9d28cb03682ff8f0aa6c
parent14a580abad5517c7c29c36e1a3350d0e381d340e
net: mvneta: 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/marvell/mvneta.c