Re: [PATCH 5/4] Fix forcedeth hibernate/wake-on-lan problems

From: Jeff Garzik
Date: Fri Jun 27 2008 - 02:10:57 EST


Tobias Diedrich wrote:
From: Tobias Diedrich <ranma+kernel@xxxxxxxxxxxx>

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 <ranma+kernel@xxxxxxxxxxxx>

applied 5-6


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/