net: ethernet: Add helper for set_pauseparam for Pause
authorAndrew Lunn <andrew@lunn.ch>
Tue, 11 Sep 2018 23:53:18 +0000 (01:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 03:24:21 +0000 (20:24 -0700)
commit0c122405d4c3ec638ba00865c872ec5a3ed1a6c0
treebfaa845571212c92884cdbc33e48239843ccfa67
parent70814e819c1139e5e7faacb3700eab5eac559272
net: ethernet: Add helper for set_pauseparam for Pause

ethtool can be used to enable/disable pause. Add a helper to configure
the PHY when Pause is supported.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c
drivers/net/ethernet/freescale/fec_main.c
drivers/net/phy/phy_device.c
include/linux/phy.h