]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe-phy: Change auto-negotiation logic
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Fri, 16 Jan 2015 18:47:00 +0000 (12:47 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Jan 2015 03:24:20 +0000 (22:24 -0500)
commite46ca6d347b81c2cc8e4d06604479f7ebb501584
tree1e01fad3b329fb800d20f9f8f998664f42eae46c
parent33cf2332ca4049491d0695d40c3312d064bd7a94
amd-xgbe-phy: Change auto-negotiation logic

The auto negotiation logic was geared to being the initiator of the
auto negotiation. This presented problems when auto negotiation was
initiated by the remote end. Change the auto negotiation logic to
make use of the auto negotiation event interrupt thus allowing the
auto negotiation state machine to function properly in either scenario.
This also removes the polling during auto-negotiation.

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