diff options
author | Wong Vee Khee <[email protected]> | 2021-10-05 11:45:21 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-10-05 13:10:24 +0100 |
commit | e3cf002d5a4452f8adc5543df341cf96fd702fcf (patch) | |
tree | a2c14c5c9bb546c0b3e959de7621fe3cf0f36ba0 /scripts/gdb | |
parent | 25a9da6641f1f66006e93ddbefee13a437efa8c0 (diff) |
net: pcs: xpcs: fix incorrect CL37 AN sequence
According to Synopsys DesignWare Cores Ethernet PCS databook, it is
required to disable Clause 37 auto-negotiation by programming bit-12
(AN_ENABLE) to 0 if it is already enabled, before programming various
fields of VR_MII_AN_CTRL registers.
After all these programming are done, it is then required to enable
Clause 37 auto-negotiation by programming bit-12 (AN_ENABLE) to 1.
Fixes: b97b5331b8ab ("net: pcs: add C37 SGMII AN support for intel mGbE controller")
Cc: Vladimir Oltean <[email protected]>
Signed-off-by: Wong Vee Khee <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Tested-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions