]> git.karo-electronics.de Git - karo-tx-linux.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)
commit0c95a1faaa155bb49fc4acfec61242e80b8a8502
treec286514d1e855efce6257114d2a6363a1dc4bc6a
parenta7beaf23007ac701ebffee1cb48d5d1aea5e7803
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