aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2021-09-07 18:56:46 +0800
committerDavid S. Miller <[email protected]>2021-09-07 14:04:59 +0100
commitf97493657c6372eeefe70faadd214bf31488c44e (patch)
tree477b38213c685bd8a68eb75af5585244f32722f1 /lib/test_overflow.c
parent0341d5e3d1ee2a36dd5a49b5bef2ce4ad1cfa6b4 (diff)
net: phylink: add suspend/resume support
Joakim Zhang reports that Wake-on-Lan with the stmmac ethernet driver broke when moving the incorrect handling of mac link state out of mac_config(). This reason this breaks is because the stmmac's WoL is handled by the MAC rather than the PHY, and phylink doesn't cater for that scenario. This patch adds the necessary phylink code to handle suspend/resume events according to whether the MAC still needs a valid link or not. This is the barest minimum for this support. Reported-by: Joakim Zhang <[email protected]> Tested-by: Joakim Zhang <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]> Signed-off-by: Joakim Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions