From 71d8d1b58aa4025ea73a66a130a98d0ed077f9b1 Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Thu, 3 Dec 2009 06:16:59 +0000 Subject: be2net: Support for WoL using magic packet after suspend. Add support for WOL using Magic Packet after suspend is done. Signed-off-by: Sarveshwar Bandi Signed-off-by: Ajit Khaparde Signed-off-by: David S. Miller --- drivers/net/benet/be_hw.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/net/benet/be_hw.h') diff --git a/drivers/net/benet/be_hw.h b/drivers/net/benet/be_hw.h index f53d5ca2da9..e2b3beffd49 100644 --- a/drivers/net/benet/be_hw.h +++ b/drivers/net/benet/be_hw.h @@ -52,6 +52,10 @@ */ #define MEMBAR_CTRL_INT_CTRL_HOSTINTR_MASK (1 << 29) /* bit 29 */ +/********* Power managment (WOL) **********/ +#define PCICFG_PM_CONTROL_OFFSET 0x44 +#define PCICFG_PM_CONTROL_MASK 0x108 /* bits 3 & 8 */ + /********* ISR0 Register offset **********/ #define CEV_ISR0_OFFSET 0xC18 #define CEV_ISR_SIZE 4 -- cgit v1.2.3-18-g5258