]> 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)
commitb2e7ef995e5ab08e9dd05bab0ea644cc061bfdd0
tree1e01fad3b329fb800d20f9f8f998664f42eae46c
parent8399d5c3d3471703d0d89dc5a3df5cfcdf250cd5
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