]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mvneta: convert to pcs_validate() and phylink_generic_validate()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 15 Dec 2021 15:34:45 +0000 (15:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2021 10:37:14 +0000 (10:37 +0000)
commitd8c366939707d03e531959a6b8a5e15c5e29df3f
treeab2079897f6c3bb9fad545573fb7536b65e3c294
parentc2e7d2df4a1075ca97dadd280e214bb1afbec6be
net: mvneta: convert to pcs_validate() and phylink_generic_validate()

Convert mvneta to validate the autoneg state for 1000base-X in the
pcs_validate() operation, rather than the MAC validate() operation.
This allows us to switch the MAC validate() to use
phylink_generic_validate().

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