summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_nfereg.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-02-11 09:15:58 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-02-11 09:15:58 +0000
commit98989804697fe0acc12890949a5ec670ca6fa246 (patch)
tree50b045eed8e7db62128e046bb7a6a6b026da2cbb /sys/dev/pci/if_nfereg.h
parent9f393a5c765f462857254069d45ea0397de1cc98 (diff)
force a wakeup of the MAC in nfe_init().
this makes my MCP51 board working. committed over a nfe.
Diffstat (limited to 'sys/dev/pci/if_nfereg.h')
-rw-r--r--sys/dev/pci/if_nfereg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/if_nfereg.h b/sys/dev/pci/if_nfereg.h
index 4e345a4bcd9..894ee5f1cd9 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.7 2006/02/04 22:11:41 damien Exp $ */
+/* $OpenBSD: if_nfereg.h,v 1.8 2006/02/11 09:15:57 damien Exp $ */
/*-
* Copyright (c) 2005 Jonathan Gray <jsg@openbsd.org>
@@ -100,6 +100,9 @@
#define NFE_U2M (1 << 5)
#define NFE_PROMISC (1 << 7)
+#define NFE_PWR_VALID (1 << 8)
+#define NFE_PWR_WAKEUP (1 << 15)
+
#define NFE_MEDIA_SET 0x10000
#define NFE_MEDIA_1000T 0x00032
#define NFE_MEDIA_100TX 0x00064