]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6321ef0f3686d514aaeb82d02a7ff194b9188e53
tree7713fd9ad8d50a62b1865287b1d5179ef56b5034
parent52301a6c9e26b9fcc381d13dfdfaa39a190aa186
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