commit | af006240c6cfea9f52fc197ac26e6cade4a8623d | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Tue Dec 17 13:39:06 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 19 12:52:34 2019 -0800 |
tree | e2dda82d22d3daa4bf3124afe956585a4d2d1c4c | |
parent | c48f16b42a3bf71eeb9c6141369b001097f961e6 [diff] |
net: phy: use phy_resolve_aneg_pause() Several drivers code their own version of this, working from the LPA register, after setting the ethtool link partner advertisement bitmask. Use the generic function instead. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>