diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2010-05-10 01:39:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-17 20:20:59 -0400 |
commit | 53fd3f2829268703729a2db0e24c0e36360b68a2 (patch) | |
tree | 748ffb62dd85169e42205a36c4b28efadbea2cef /drivers/net/bfin_mac.h | |
parent | 812a9de71512e5da6f3177f7249a2448b6a4322e (diff) |
netdev: bfin_mac: add support for wake-on-lan magic packets
Note that WOL works only in PM Suspend Standby Mode (Sleep Mode).
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bfin_mac.h')
-rw-r--r-- | drivers/net/bfin_mac.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bfin_mac.h b/drivers/net/bfin_mac.h index 87c454fc0319..1ae7b82ceeee 100644 --- a/drivers/net/bfin_mac.h +++ b/drivers/net/bfin_mac.h | |||
@@ -66,6 +66,9 @@ struct bfin_mac_local { | |||
66 | unsigned char Mac[6]; /* MAC address of the board */ | 66 | unsigned char Mac[6]; /* MAC address of the board */ |
67 | spinlock_t lock; | 67 | spinlock_t lock; |
68 | 68 | ||
69 | int wol; /* Wake On Lan */ | ||
70 | int irq_wake_requested; | ||
71 | |||
69 | /* MII and PHY stuffs */ | 72 | /* MII and PHY stuffs */ |
70 | int old_link; /* used by bf537_adjust_link */ | 73 | int old_link; /* used by bf537_adjust_link */ |
71 | int old_speed; | 74 | int old_speed; |