]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8a2823a3d6d78a5a1abab66a438db5fcfff7cb4f
tree5970489a41bce5b9ab87f1acb88ee2be786ae1a8
parentb21c01b762e50ea75de83b227ad8cd65a67aefdf
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