net: phylink: allow in-band AN for USXGMII
authorAlex Marginean <alexandru.marginean@nxp.com>
Sat, 18 Jan 2020 12:19:15 +0000 (14:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2020 09:27:04 +0000 (10:27 +0100)
commit04e2246329d4a72c2ec8ebd1ebc3f7250dece2da
tree5970489a41bce5b9ab87f1acb88ee2be786ae1a8
parent3e41d04e2b7373490977d7145fb12109f23cde9c
net: phylink: allow in-band AN for USXGMII

USXGMII supports passing link information in-band between PHY and MAC PCS,
add it to the list of protocols that support in-band AN mode.

Being a MAC-PHY protocol that can auto-negotiate link speeds up to 10
Gbps, we populate the initial supported mask with the entire spectrum of
link modes up to 10G that PHYLINK supports, and we let the driver reduce
that mask in its .phylink_validate method.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c