commit | eca282b8418b0b5a55b70e42f684e882d3fb9654 | [log] [tgz] |
---|---|---|
author | Tom Lendacky <thomas.lendacky@amd.com> | Wed May 23 11:39:21 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed May 23 16:33:00 2018 -0400 |
tree | 9d9ef46db613707dfaf60e46c4c04ea4e7102bac | |
parent | 01b5277fc9984d9fb9156afa0b1be70b3b475825 [diff] |
amd-xgbe: Always attempt link training in KR mode Link training is always attempted when in KR mode, but the code is structured to check if link training has been enabled before attempting to perform it. Since that check will always be true, simplify the code to always enable and start link training during KR auto-negotiation. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>