summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAndrew Lunn2018-09-21 15:52:26 +0200
committerDavid S. Miller2018-09-22 04:26:52 +0200
commit65c5877f64623dcb603082e7b3533a25a2601f1b (patch)
tree0e1d681217169cf5dd5483856ca635fe8170f89d /ipc
parentMerge branch 'net-if_arp-use-define-instead-of-hard-coded-value' (diff)
downloadkernel-qcow2-linux-65c5877f64623dcb603082e7b3533a25a2601f1b.tar.gz
kernel-qcow2-linux-65c5877f64623dcb603082e7b3533a25a2601f1b.tar.xz
kernel-qcow2-linux-65c5877f64623dcb603082e7b3533a25a2601f1b.zip
ravb: Disable Pause Advertisement
The previous commit to ravb had the side effect of making the PHY advertise Pause and Asym Pause, which previously did not happen. By default, phydev->supported has both forms of pause enabled, but phydev->advertising does not. The new phy_remove_link_mode() copies phydev->supported to phydev->advertising after removing the requested link mode. These Pause configuration bits appears it stops the PHY from completing Auto-Neg and the link remains down. Be explicit and remove the Pause and Asym Pause modes, so restoring the old behavior. Fixes: 41124fa64d4b ("net: ethernet: Add helper to remove a supported link mode") Reported-by: Simon Horman <horms@verge.net.au> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions