net: phylink: Test if MAC/PCS support Autoneg
authorJose Abreu <Jose.Abreu@synopsys.com>
Mon, 9 Mar 2020 08:36:25 +0000 (09:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 03:13:16 +0000 (20:13 -0700)
commit9414819654cc2968e7cca5014ed9ee433dbf2297
tree85a154068492110fbc76053fe53b4047fe4a72cc
parentc580165ffbf24fbda5c42de269021766911221f4
net: phylink: Test if MAC/PCS support Autoneg

We may have cases where MAC or PCS do not support Autoneg. Check if it
is supported after validate callback is called.

Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c