Import Matt's current de driver... He appears to be maintaining it in

the NetBSD source tree now.  This is slightly newer than the updated
.tar.gz on the 3am-software web site.
This commit is contained in:
Peter Wemm 1997-10-18 13:23:35 +00:00
parent 7349403013
commit 385e745e02

View File

@ -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
@ -432,6 +435,23 @@ typedef struct {
#define TULIP_GP_ASANTE_PINS 0x000000bf /* GP pin config */
#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.
*/