diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2007-10-10 18:03:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-10 18:03:30 -0700 |
commit | 0527ba358aa7594731e627842d493ae7f009dd57 (patch) | |
tree | bb81d22c87aabc3e511b7a0ad6841ace4fda3476 /drivers/net/tg3.h | |
parent | 9936bcf68a7e4d33f080bba9ee03d156c75c91ee (diff) | |
download | op-kernel-dev-0527ba358aa7594731e627842d493ae7f009dd57.zip op-kernel-dev-0527ba358aa7594731e627842d493ae7f009dd57.tar.gz |
[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 d1f5fa3..6dbdad2 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h @@ -1151,6 +1151,8 @@ #define VCPU_STATUS_DRV_RESET 0x08000000 #define VCPU_CFGSHDW 0x00005104 +#define VCPU_CFGSHDW_WOL_ENABLE 0x00000001 +#define VCPU_CFGSHDW_WOL_MAGPKT 0x00000004 #define VCPU_CFGSHDW_ASPM_DBNC 0x00001000 /* Mailboxes */ |