]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvneta: use phylink_generic_validate()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 15 Nov 2021 10:00:32 +0000 (10:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Nov 2021 14:31:00 +0000 (14:31 +0000)
commit46c7747a0239ae91f40df7937b00893797edc54e
treec56124a946b7224c2ed632db062821b088c454d7
parentdf2e00bbca838669bb7595c8317f12954ac14323
net: mvneta: use phylink_generic_validate()

Convert mvneta to use phylink_generic_validate() for the bulk of its
validate() implementation. This network adapter has a restriction
that for 802.3z links, autonegotiation must be enabled.

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