]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylink: use phylib resolved flow control modes
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 15 Feb 2020 15:49:48 +0000 (15:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:39:45 +0000 (19:39 -0800)
commitc14c6d41284742c7939ed1fda047a9eef786af1e
treeff3b093f135185819257fa1b2882d34e076e1d7b
parent1155955d964cb9fe7f44b2d7f619229f85b97b29
net: phylink: use phylib resolved flow control modes

Use the new phy_get_pause() helper to get the resolved pause modes for
a PHY rather than resolving the pause modes ourselves. We temporarily
retain our pause mode resolution for causes where there is no PHY
attached, e.g. for fixed-link modes.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c