aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNicolas Ferre <[email protected]>2020-07-10 14:46:43 +0200
committerDavid S. Miller <[email protected]>2020-07-10 14:29:37 -0700
commit253fe09435045ab9346a8e364299d971185ae031 (patch)
tree46bc70a986c3a2dc07b5375abbe2d2dd1cd803a4 /tools/perf/util/trace-event-scripting.c
parentced4799d06375929e013eea04ba6908207afabbe (diff)
net: macb: fix macb_get/set_wol() when moving to phylink
Keep previous function goals and integrate phylink actions to them. phylink_ethtool_get_wol() is not enough to figure out if Ethernet driver supports Wake-on-Lan. Initialization of "supported" and "wolopts" members is done in phylink function, no need to keep them in calling function. phylink_ethtool_set_wol() return value is considered and determines if the MAC has to handle WoL or not. The case where the PHY doesn't implement WoL leads to the MAC configuring it to provide this feature. Fixes: 7897b071ac3b ("net: macb: convert to phylink") Cc: Claudiu Beznea <[email protected]> Cc: Harini Katakam <[email protected]> Cc: Antoine Tenart <[email protected]> Cc: Florian Fainelli <[email protected]> Signed-off-by: Nicolas Ferre <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions