summaryrefslogtreecommitdiffstats
path: root/drivers/net/b44.h
diff options
context:
space:
mode:
authorGary Zambrano <zambrano@broadcom.com>2006-06-20 15:34:36 -0700
committerJeff Garzik <jeff@garzik.org>2006-06-22 23:16:13 -0400
commit725ad800b73a71fe91bfd8859f928852de688ea0 (patch)
tree1612e231baf1bd861c7a5724949a0b7b91966314 /drivers/net/b44.h
parent00e8b3aa1cfd7577fd4019a24f7c3980506f83f3 (diff)
downloadop-kernel-dev-725ad800b73a71fe91bfd8859f928852de688ea0.zip
op-kernel-dev-725ad800b73a71fe91bfd8859f928852de688ea0.tar.gz
[PATCH] b44: add wol for old nic
This patch adds wol support for the older 440x nics that use pattern matching. This patch is a redo thanks to feedback from Michael Chan and Francois Romieu. Signed-off-by: Gary Zambrano <zambrano@broadcom.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/b44.h')
-rw-r--r--drivers/net/b44.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/b44.h b/drivers/net/b44.h
index 1f47777..4944507 100644
--- a/drivers/net/b44.h
+++ b/drivers/net/b44.h
@@ -24,6 +24,9 @@
#define WKUP_LEN_P3_MASK 0x7f000000 /* Pattern 3 */
#define WKUP_LEN_P3_SHIFT 24
#define WKUP_LEN_D3 0x80000000
+#define WKUP_LEN_DISABLE 0x80808080
+#define WKUP_LEN_ENABLE_TWO 0x80800000
+#define WKUP_LEN_ENABLE_THREE 0x80000000
#define B44_ISTAT 0x0020UL /* Interrupt Status */
#define ISTAT_LS 0x00000020 /* Link Change (B0 only) */
#define ISTAT_PME 0x00000040 /* Power Management Event */
OpenPOWER on IntegriCloud