]> 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)
commitda57309f1ecc5b1418ac5e4455d0f579142664ee
treea3d7e8d974d4f58565127680dd89b485b9f66618
parentcf540daf534a125f29115e045a81a97cf550eda9
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