summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_nfereg.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-11-15 02:24:38 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-11-15 02:24:38 +0000
commitf672ef1a7d1d652f6c7be5995c9de9ab1a14ebd8 (patch)
treed5bfe45785e774c4a0804ef35bd44dabf9842ed8 /sys/dev/pci/if_nfereg.h
parentf514fa3a7b597fcbf353f304e14669d1f7a4437c (diff)
Correct the WOL magic value and rename NFE_WOL_MAGIC to NFE_WOL_ENABLE.
WOL magic value from Peer Chen@NVIDIA via FreeBSD. ok jsg@ damien@
Diffstat (limited to 'sys/dev/pci/if_nfereg.h')
-rw-r--r--sys/dev/pci/if_nfereg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nfereg.h b/sys/dev/pci/if_nfereg.h
index c7846ea9249..1af8a110d8b 100644
--- a/sys/dev/pci/if_nfereg.h
+++ b/sys/dev/pci/if_nfereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfereg.h,v 1.19 2006/05/28 00:20:21 brad Exp $ */
+/* $OpenBSD: if_nfereg.h,v 1.20 2006/11/15 02:24:37 brad Exp $ */
/*-
* Copyright (c) 2005 Jonathan Gray <jsg@openbsd.org>
@@ -86,7 +86,7 @@
#define NFE_R2_MAGIC 0x16
#define NFE_R4_MAGIC 0x08
#define NFE_R6_MAGIC 0x03
-#define NFE_WOL_MAGIC 0x7770
+#define NFE_WOL_ENABLE 0x1111
#define NFE_RX_START 0x01
#define NFE_TX_START 0x01