From: Rafael J. Wysocki Date: Fri, 7 Nov 2008 20:30:37 +0000 (+0000) Subject: igb: Use device_set_wakeup_enable X-Git-Tag: v2.6.27.8~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c164920debff5120d187cb2a09a9179096f4eea7;p=pandora-kernel.git igb: Use device_set_wakeup_enable commit e1b86d8479f90aadee57a3d07d8e61c815c202d9 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 igb_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