sfc: Use generic MDIO flow control auto-negotiation functions
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
af2a3eac2f
commit
3f926da82f
5 changed files with 7 additions and 48 deletions
|
@ -711,7 +711,8 @@ static int efx_ethtool_set_pauseparam(struct net_device *net_dev,
|
|||
mutex_lock(&efx->mac_lock);
|
||||
|
||||
efx->wanted_fc = wanted_fc;
|
||||
efx_mdio_set_pause(efx);
|
||||
if (efx->phy_op->mmds & MDIO_DEVS_AN)
|
||||
mdio45_ethtool_spauseparam_an(&efx->mdio, pause);
|
||||
__efx_reconfigure_port(efx);
|
||||
|
||||
mutex_unlock(&efx->mac_lock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue