diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2007-10-10 21:03:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-10 21:03:30 -0400 |
commit | 0527ba358aa7594731e627842d493ae7f009dd57 (patch) | |
tree | bb81d22c87aabc3e511b7a0ad6841ace4fda3476 /drivers/net/tg3.h | |
parent | 9936bcf68a7e4d33f080bba9ee03d156c75c91ee (diff) |
[TG3]: WOL defaults
This patch enables WOL by default if out-of-box WOL is enabled in the
NVRAM.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index d1f5fa394ea7..6dbdad2b8f88 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -1151,6 +1151,8 @@ | |||
1151 | #define VCPU_STATUS_DRV_RESET 0x08000000 | 1151 | #define VCPU_STATUS_DRV_RESET 0x08000000 |
1152 | 1152 | ||
1153 | #define VCPU_CFGSHDW 0x00005104 | 1153 | #define VCPU_CFGSHDW 0x00005104 |
1154 | #define VCPU_CFGSHDW_WOL_ENABLE 0x00000001 | ||
1155 | #define VCPU_CFGSHDW_WOL_MAGPKT 0x00000004 | ||
1154 | #define VCPU_CFGSHDW_ASPM_DBNC 0x00001000 | 1156 | #define VCPU_CFGSHDW_ASPM_DBNC 0x00001000 |
1155 | 1157 | ||
1156 | /* Mailboxes */ | 1158 | /* Mailboxes */ |