diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2000-08-29 23:45:43 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2000-08-29 23:45:43 +0000 |
commit | fd3467766d5513a1c9d70e807faaab049eed3554 (patch) | |
tree | d657d5be24b94bd774799bfd478883e0efd9bc99 /sys/dev/pci/xmaciireg.h | |
parent | ba23dd44acc382a9f09e20743d14299e3583246c (diff) |
From FreeBSD: split out the support for XMAC-II phys and other phys
add xmphy & brgphy to GENERIC
Diffstat (limited to 'sys/dev/pci/xmaciireg.h')
-rw-r--r-- | sys/dev/pci/xmaciireg.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/sys/dev/pci/xmaciireg.h b/sys/dev/pci/xmaciireg.h index ea296ca74ff..abd43e251fa 100644 --- a/sys/dev/pci/xmaciireg.h +++ b/sys/dev/pci/xmaciireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: xmaciireg.h,v 1.2 1999/10/01 02:54:15 jason Exp $ */ +/* $OpenBSD: xmaciireg.h,v 1.3 2000/08/29 23:45:40 jason Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -31,7 +31,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD: src/sys/pci/xmaciireg.h,v 1.2 1999/08/28 00:51:08 peter Exp $ + * $FreeBSD: /c/ncvs/src/sys/pci/xmaciireg.h,v 1.3 2000/04/22 02:16:37 wpaul Exp $ */ /* @@ -229,6 +229,12 @@ #define XM_RXCMD_BIGPKTOK 0x0080 #define XM_RXCMD_LENERROK 0x0100 +#define XM_GPIO_GP0_SET 0x0001 +#define XM_GPIO_RESETSTATS 0x0004 +#define XM_GPIO_RESETMAC 0x0008 +#define XM_GPIO_FORCEINT 0x0020 +#define XM_GPIO_ANEGINPROG 0x0040 + #define XM_IMR_RX_EOF 0x0001 #define XM_IMR_TX_EOF 0x0002 #define XM_IMR_TX_UNDERRUN 0x0004 @@ -246,7 +252,7 @@ #define XM_IMR_LINKEVENT 0x4000 #define XM_INTRS \ - (~(XM_IMR_LINKEVENT|XM_IMR_AUTONEG_DONE|XM_IMR_TX_UNDERRUN)) + (~(XM_IMR_GP0_SET|XM_IMR_AUTONEG_DONE|XM_IMR_TX_UNDERRUN)) #define XM_ISR_RX_EOF 0x0001 #define XM_ISR_TX_EOF 0x0002 @@ -264,6 +270,10 @@ #define XM_ISR_TX_ABORT 0x2000 #define XM_ISR_LINKEVENT 0x4000 +#define XM_HWCFG_GENEOP 0x0008 +#define XM_HWCFG_SIGSTATCKH 0x0004 +#define XM_HWCFG_GMIIMODE 0x0001 + #define XM_MODE_FLUSH_RXFIFO 0x00000001 #define XM_MODE_FLUSH_TXFIFO 0x00000002 #define XM_MODE_BIGENDIAN 0x00000004 |