From eac2b92c62cc4f706a20a719975e6356fd965bab Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 1 Jun 2014 19:54:54 +0200 Subject: [PATCH] Revert "ethtool: add support to disable WOL for broken drivers, add 'e1000e' as broken driver" This reverts commit c025763aac18c2b420609512d9be481710b0f525. --- .../network/ethtool/udev.d/99-wakeup-eth.rules | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/network/ethtool/udev.d/99-wakeup-eth.rules b/packages/network/ethtool/udev.d/99-wakeup-eth.rules index c8ec1ed4e3..1c17fe9892 100644 --- a/packages/network/ethtool/udev.d/99-wakeup-eth.rules +++ b/packages/network/ethtool/udev.d/99-wakeup-eth.rules @@ -18,20 +18,10 @@ ################################################################################ ACTION!="add|change", GOTO="end" -SUBSYSTEM!="net", ENV{INTERFACE}!="eth*", GOTO="end" +SUBSYSTEM!="net", GOTO="end" +ENV{INTERFACE}!="eth*", GOTO="end" -# Broken drivers, usually they break suspend/wakeup -DRIVERS=="e1000e", GOTO="broken" - -# enable WOL and wakeup support -LABEL="begin" RUN+="/bin/sh -c 'echo enabled >/sys/class/net/$env{INTERFACE}/device/power/wakeup' " RUN+="/usr/sbin/ethtool -s $env{INTERFACE} wol g" -GOTO="end" - -# disable WOL for broken drivers -LABEL="broken" -RUN+="/usr/sbin/ethtool -s $env{INTERFACE} wol d" -GOTO="end" LABEL="end"