summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2021-09-07 16:04:59 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-07 16:04:59 +0300
commitd1bf73387b5adbc12c6a59c1fbaa69e05ee265ed (patch)
tree7d684e8c985f5ff9c36a875d0650d7a18d97a248 /include/linux
parent0341d5e3d1ee2a36dd5a49b5bef2ce4ad1cfa6b4 (diff)
parent90702dcd19c093621b422ba16fcfd870afe2552f (diff)
downloadlinux-d1bf73387b5adbc12c6a59c1fbaa69e05ee265ed.tar.xz
Merge branch 'stmmac-wol-fix'
Joakim Zhang says: ==================== net: stmmac: fix WoL issue This patch set fixes stmmac not working after system resume back with WoL active. Thanks a lot for Russell King keeps looking into this issue. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/phylink.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/phylink.h b/include/linux/phylink.h
index afb3ded0b691..237291196ce2 100644
--- a/include/linux/phylink.h
+++ b/include/linux/phylink.h
@@ -451,6 +451,9 @@ void phylink_mac_change(struct phylink *, bool up);
void phylink_start(struct phylink *);
void phylink_stop(struct phylink *);
+void phylink_suspend(struct phylink *pl, bool mac_wol);
+void phylink_resume(struct phylink *pl);
+
void phylink_ethtool_get_wol(struct phylink *, struct ethtool_wolinfo *);
int phylink_ethtool_set_wol(struct phylink *, struct ethtool_wolinfo *);