]> 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)
commitb65aab60891f0c4db4906e60961ef0ae8ccd40d8
tree7713fd9ad8d50a62b1865287b1d5179ef56b5034
parentb532c3f3a0db7edf340eabfb03476c011e391858
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