path: root/block
diff options
authorRussell King (Oracle) <>2021-09-06 22:38:45 +0100
committerRussell King (Oracle) <>2021-09-19 13:22:10 +0100
commit0c5b7c198a5f890109fe25b6fb7383fdb9b69a17 (patch)
treeb500ddf3c464b69203ce1f149ac70258d1e51f18 /block
parent7d2a07b769330c34b4deabeed939325c77a7ec2f (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 <> Tested-by: Joakim Zhang <> Signed-off-by: Russell King (Oracle) <>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions