diff options
Diffstat (limited to 'sys/dev/pci/if_nfereg.h')
-rw-r--r-- | sys/dev/pci/if_nfereg.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/if_nfereg.h b/sys/dev/pci/if_nfereg.h index c1516ccece2..427fe190ae8 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.21 2007/01/08 18:39:27 damien Exp $ */ +/* $OpenBSD: if_nfereg.h,v 1.22 2007/12/05 08:30:33 jsg Exp $ */ /*- * Copyright (c) 2005 Jonathan Gray <jsg@openbsd.org> @@ -34,6 +34,7 @@ #define NFE_IRQ_MASK 0x004 #define NFE_SETUP_R6 0x008 #define NFE_IMTIMER 0x00c +#define NFE_MAC_RESET 0x03c #define NFE_MISC1 0x080 #define NFE_TX_CTL 0x084 #define NFE_TX_STATUS 0x088 @@ -74,12 +75,15 @@ #define NFE_PWR_CAP 0x268 #define NFE_PWR_STATE 0x26c #define NFE_VTAG_CTL 0x300 +#define NFE_PWR2_CTL 0x600 #define NFE_PHY_ERROR 0x00001 #define NFE_PHY_WRITE 0x00400 #define NFE_PHY_BUSY 0x08000 #define NFE_PHYADD_SHIFT 5 +#define NFE_MAC_RESET_MAGIC 0x00f3 + #define NFE_STATUS_MAGIC 0x140000 #define NFE_R1_MAGIC 0x16070f @@ -125,6 +129,7 @@ #define NFE_PWR_VALID (1 << 8) #define NFE_PWR_WAKEUP (1 << 15) +#define NFE_PWR2_WAKEUP_MASK 0x0f11 #define NFE_MEDIA_SET 0x10000 #define NFE_MEDIA_1000T 0x00032 |