]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe-phy: Sync PCS and PHY modes after reset
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 4 Nov 2014 22:07:35 +0000 (16:07 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 02:50:12 +0000 (21:50 -0500)
commit0892cb2f3914316403c0d8b40e8e39bb6b956897
treec286514d1e855efce6257114d2a6363a1dc4bc6a
parent02dc1f35f6e057493b3452856762c23281002ff3
amd-xgbe-phy: Sync PCS and PHY modes after reset

This patch adds support to sync the states of the PCS and the PHY
after a reset is performed.  If the PCS and the PHY are not in the
same state after reset an extra mode change would be performed. This
extra mode change might not be needed if the PCS and the PHY are
synced up after reset.

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