From: Tobias Diedrich Date: Sat, 31 May 2008 22:54:42 +0000 (+0200) Subject: Fix forcedeth hibernate/wake-on-lan problems X-Git-Tag: v2.6.27-rc1~969^2~255^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a60a82600822d34dcbc4df0866ec6ce643c0e79;p=pandora-kernel.git Fix forcedeth hibernate/wake-on-lan problems We currently don't signal the kernel we that this device can wake the system. Call device_init_wakeup() to correct this. Without this device_can_wakeup and device_may_wakeup will return incorrect values. Together with the minimized acpi wakeup patch (6/4 ;)), which will follow in the next mail, this really makes wake-on-lan work for me as expected (i.e. "ethtool -s eth0 wol g" is sufficient, no additional magic needed). Signed-off-by: Tobias Diedrich Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed