]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: expose phy_aneg_done API for use by drivers
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Thu, 10 Nov 2016 23:10:46 +0000 (17:10 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Nov 2016 05:56:26 +0000 (00:56 -0500)
commitdd5af31c876c054b0e86a360f0a255214bdef8f2
treef918ac9bdca4dfbacb15fc79cbde7877b72807e8
parentdb2d796e341885d6cd22b35d3bc4b72621af1761
net: phy: expose phy_aneg_done API for use by drivers

Make phy_aneg_done() available to drivers so that the result of the
auto-negotiation initiated by phy_start_aneg() can be determined.

Remove the local implementation of phy_aneg_done() from the Aeroflex
driver and use the phy library version.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aeroflex/greth.c
drivers/net/phy/phy.c
include/linux/phy.h