amd-xgbe-phy: Updates to KR training initiation
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 29 Jul 2014 13:57:43 +0000 (08:57 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jul 2014 01:46:53 +0000 (18:46 -0700)
commit5c10e5cb0fbdde6cc79ca406b8bdcb05aa0c9489
tree7713fd9ad8d50a62b1865287b1d5179ef56b5034
parent169a6303b89a99c807328f6f9772a81605b17116
amd-xgbe-phy: Updates to KR training initiation

As part of changing rates to KR mode, KR training is initiated. If
the KR training is restarted it is possible to enter an invalid logic
state. This can be avoided by asserting a training reset bit before
initiating the KR training and then clearing the training reset bit.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/amd-xgbe-phy.c