diff options
author | Steffen Klassert <klassert@mathematik.tu-chemnitz.de> | 2009-01-09 03:53:17 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-11 00:06:32 -0800 |
commit | c17931c52ec6b1af710185986e10c344039edeb7 (patch) | |
tree | ebda2fd65c5eb5bffe8b9c3ff7341f737061da16 /include/scsi/scsi_cmnd.h | |
parent | 3d58cefd823e47209ffcac9cada0a618771da1a4 (diff) | |
download | linux-c17931c52ec6b1af710185986e10c344039edeb7.tar.gz linux-c17931c52ec6b1af710185986e10c344039edeb7.tar.bz2 linux-c17931c52ec6b1af710185986e10c344039edeb7.zip |
3c59x: Use device_set_wakeup_enable
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 this bit by calling device_set_wakeup_enable().
This restores proper WOL for the 3c59x driver.
Reported-and-tested-by: Graeme Wilford <gwilford@gmail.com>
Reported-by: Gunnar Degnbol <degnbol@danbbs.dk>
Signed-off-by: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/scsi/scsi_cmnd.h')
0 files changed, 0 insertions, 0 deletions