From: Rafael J. Wysocki Date: Wed, 12 Nov 2008 09:52:32 +0000 (+0000) Subject: e1000e: Use device_set_wakeup_enable X-Git-Tag: v2.6.27.8~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9be1922d6ec5c913626c3fce8bcb1485a19ea519;p=pandora-kernel.git e1000e: Use device_set_wakeup_enable commit 6ff68026f4757d68461b7fbeca5c944e1f5f8b44 upstream. Since dev->power.should_wakeup bit is used by the PCI core to decide whether the device should wake up the system from sleep states, set/unset this bit whenever WOL is enabled/disabled using e1000_set_wol(). Accordingly, use device_can_wakeup() for checking if wake-up is supported by the device. Signed-off-by: Rafael J. Wysocki Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed