]> git.baikalelectronics.ru Git - kernel.git/commit
net: pcs: xpcs: add support for sgmii with no inband AN
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 11 Jun 2021 20:05:23 +0000 (23:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 20:43:55 +0000 (13:43 -0700)
commit9912dd81f011955eebec97a74d1195f6dd8d352a
treea3d7e8d974d4f58565127680dd89b485b9f66618
parentaae0d11f94d4bbfbe4b5cca2af97fe33447975b2
net: pcs: xpcs: add support for sgmii with no inband AN

In fixed-link use cases, the XPCS can disable the clause 37 in-band
autoneg process, disable the "Automatic Speed Mode Change after CL37 AN"
setting, and force operation in a speed dictated by management.

Add support for this operating mode.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcs/pcs-xpcs.c