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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Apr 2018 01:24:22 +0000 (21:24 -0400)
commit4d945663a6a0acf3cbe45940503f2eb9584bfee7
treee324303185822fde68991b6f94b8dbcef356cef9
parenta49e2f5d5fb141884452ddb428f551b123d436b5
amd-xgbe: Add pre/post auto-negotiation phy hooks

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>
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c
drivers/net/ethernet/amd/xgbe/xgbe.h