diff options
author | Peter Wemm <peter@FreeBSD.org> | 1997-10-18 13:23:35 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1997-10-18 13:23:35 +0000 |
commit | 5238394ad39fe5ef0191c150000e9ba66bd43b62 (patch) | |
tree | b37245d68f3f0eb18dbc835a5a45e8c24d3ff06a /sys/pci | |
parent | 385e745e021e7433f4076c3dc0f8b17d3032f5c1 (diff) | |
parent | 48cbe2deae4dad62e8cc473524d2c060cc2e8b61 (diff) | |
download | src-5238394ad39fe5ef0191c150000e9ba66bd43b62.tar.gz src-5238394ad39fe5ef0191c150000e9ba66bd43b62.zip |
This commit was generated by cvs2svn to compensate for changes in r30549,
which included commits to RCS files with non-trunk default branches.
Notes
Notes:
svn path=/head/; revision=30550
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/dc21040reg.h | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/sys/pci/dc21040reg.h b/sys/pci/dc21040reg.h index ec274709ccaf..8ac2761009b5 100644 --- a/sys/pci/dc21040reg.h +++ b/sys/pci/dc21040reg.h @@ -1,3 +1,5 @@ +/* $NetBSD: dc21040reg.h,v 1.13 1997/10/17 09:26:58 matt Exp $ */ + /*- * Copyright (c) 1994, 1995, 1996 Matt Thomas <matt@3am-software.com> * All rights reserved. @@ -21,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: dc21040reg.h,v 1.24 1997/05/16 19:47:09 thomas Exp $ + * Id: dc21040reg.h,v 1.24 1997/05/16 19:47:09 thomas Exp */ #if !defined(_DC21040_H) @@ -199,6 +201,7 @@ typedef struct { #define TULIP_SIASTS_OTHERRXACTIVITY 0x00000200L #define TULIP_SIASTS_RXACTIVITY 0x00000100L #define TULIP_SIASTS_LINKFAIL 0x00000004L +#define TULIP_SIASTS_LINK100FAIL 0x00000002L #define TULIP_SIACONN_RESET 0x00000000L /* @@ -271,19 +274,19 @@ typedef struct { #define TULIP_21142_PROBE_AUIBNC_TIMEOUT 300 #define TULIP_21142_SIACONN_10BASET 0x00000001L -#define TULIP_21142_SIATXRX_10BASET 0x0000F3FFL -#define TULIP_21142_SIAGEN_10BASET 0x00000000L +#define TULIP_21142_SIATXRX_10BASET 0x00007F3FL +#define TULIP_21142_SIAGEN_10BASET 0x00000008L #define TULIP_21142_SIACONN_10BASET_FD 0x00000001L -#define TULIP_21142_SIATXRX_10BASET_FD 0x0000F3FDL -#define TULIP_21142_SIAGEN_10BASET_FD 0x00000000L +#define TULIP_21142_SIATXRX_10BASET_FD 0x00007F3DL +#define TULIP_21142_SIAGEN_10BASET_FD 0x00000008L #define TULIP_21142_SIACONN_AUI 0x00000009L -#define TULIP_21142_SIATXRX_AUI 0x0000F3FDL +#define TULIP_21142_SIATXRX_AUI 0x00000705L #define TULIP_21142_SIAGEN_AUI 0x0000000EL #define TULIP_21142_SIACONN_BNC 0x00000009L -#define TULIP_21142_SIATXRX_BNC 0x0000F3FDL +#define TULIP_21142_SIATXRX_BNC 0x00000705L #define TULIP_21142_SIAGEN_BNC 0x00000006L @@ -433,6 +436,23 @@ typedef struct { #define TULIP_GP_ASANTE_PHYRESET 0x00000008 /* Reset PHY */ /* + * ACCTON EN1207 specialties + */ + +#define TULIP_OUI_EN1207_0 0x00 +#define TULIP_OUI_EN1207_1 0x00 +#define TULIP_OUI_EN1207_2 0xE8 + +#define TULIP_CSR8_EN1207 0x08 +#define TULIP_CSR9_EN1207 0x00 +#define TULIP_CSR10_EN1207 0x03 +#define TULIP_CSR11_EN1207 0x1F + +#define TULIP_GP_EN1207_BNC_INIT 0x0000011B +#define TULIP_GP_EN1207_UTP_INIT 0x9E00000B +#define TULIP_GP_EN1207_100_INIT 0x6D00031B + +/* * SROM definitions for the 21140 and 21041. */ #define SROMXREG 0x0400 |