amd-xgbe: Add pre/post auto-negotiation phy hooks
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 23 Apr 2018 16:43:08 +0000 (11:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Apr 2018 09:33:12 +0000 (11:33 +0200)
commitf42036e8051e75e4a74aa4f9bec53631c5981da5
tree95f37b5ebaacca422f1f0c0c1d4daef38b8b8343
parentdd997151740f1abcd13aaa3da719f712cf959759
amd-xgbe: Add pre/post auto-negotiation phy hooks

[ Upstream commit 4d945663a6a0acf3cbe45940503f2eb9584bfee7 ]

Add hooks to the driver auto-negotiation (AN) flow to allow the different
phy implementations to perform any steps necessary to improve AN.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c
drivers/net/ethernet/amd/xgbe/xgbe.h