diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1998-08-28 19:06:53 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1998-08-28 19:06:53 +0000 |
commit | 0007a7cd31fd28476f545cee27d99593cdbb0d62 (patch) | |
tree | 410fbfa8f0923675e9cba1b755825369d3506c08 /sys/arch/sparc/dev/bereg.h | |
parent | d5cbb59c307c1a129c0251236b73aa623acd8dc6 (diff) |
o added link negotiation
o sun4c support (XXX: will be revised)
Diffstat (limited to 'sys/arch/sparc/dev/bereg.h')
-rw-r--r-- | sys/arch/sparc/dev/bereg.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/bereg.h b/sys/arch/sparc/dev/bereg.h index 8097d808bd6..d2656cde912 100644 --- a/sys/arch/sparc/dev/bereg.h +++ b/sys/arch/sparc/dev/bereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bereg.h,v 1.3 1998/08/26 05:00:53 jason Exp $ */ +/* $OpenBSD: bereg.h,v 1.4 1998/08/28 19:06:48 jason Exp $ */ /* * Copyright (c) 1998 Theo de Raadt and Jason L. Wright. @@ -241,8 +241,8 @@ struct be_txd { /* Buffer and Ring sizes: fixed ring size */ #define BE_TX_RING_MAXSIZE 256 /* maximum tx ring size */ #define BE_RX_RING_MAXSIZE 256 /* maximum rx ring size */ -#define BE_TX_RING_SIZE BE_TX_RING_MAXSIZE -#define BE_RX_RING_SIZE BE_RX_RING_MAXSIZE +#define BE_TX_RING_SIZE 16 +#define BE_RX_RING_SIZE 16 #define BE_PKT_BUF_SZ 2048 /* @@ -272,6 +272,8 @@ struct be_bufs { #define BE_TCVR_READ_INVALID 0xff000000 +#define BE_NEGOTIATE_MAXTICKS 16 + #define PHY_BMCR 0x00 /* Basic Mode Control Register */ #define PHY_BMSR 0x01 /* Basic Mode Status Register */ |