1995-05-08 06:40:51 +04:00
|
|
|
/* $NetBSD: if_edreg.h,v 1.4 1995/05/08 02:40:54 chopps Exp $ */
|
1994-10-26 05:01:24 +03:00
|
|
|
|
1994-07-16 06:26:05 +04:00
|
|
|
/*
|
1995-04-16 19:16:07 +04:00
|
|
|
* Vendor types
|
1994-07-16 06:26:05 +04:00
|
|
|
*/
|
1995-04-16 19:16:07 +04:00
|
|
|
#define ED_VENDOR_HYDRA 0x03 /* Hydra Systems */
|
1994-10-26 05:01:24 +03:00
|
|
|
|
1994-07-16 06:26:05 +04:00
|
|
|
/*
|
1995-04-16 19:16:07 +04:00
|
|
|
* Compile-time config flags
|
1994-07-16 06:26:05 +04:00
|
|
|
*/
|
1995-04-16 19:16:07 +04:00
|
|
|
/*
|
|
|
|
* This sets the default for enabling/disablng the tranceiver.
|
|
|
|
*/
|
|
|
|
#define ED_FLAGS_DISABLE_TRANCEIVER 0x0001
|
1994-07-16 06:26:05 +04:00
|
|
|
|
1995-04-16 19:16:07 +04:00
|
|
|
/*
|
|
|
|
* This forces the board to be used in 8/16-bit mode even if it autoconfigs
|
|
|
|
* differently.
|
|
|
|
*/
|
|
|
|
#define ED_FLAGS_FORCE_8BIT_MODE 0x0002
|
|
|
|
#define ED_FLAGS_FORCE_16BIT_MODE 0x0004
|
1994-07-16 06:26:05 +04:00
|
|
|
|
1995-04-16 19:16:07 +04:00
|
|
|
/*
|
|
|
|
* This disables the use of double transmit buffers.
|
|
|
|
*/
|
|
|
|
#define ED_FLAGS_NO_MULTI_BUFFERING 0x0008
|
1994-07-16 06:26:05 +04:00
|
|
|
|
1995-04-16 19:16:07 +04:00
|
|
|
/*
|
|
|
|
* This forces all operations with the NIC memory to use Programmed I/O (i.e.
|
|
|
|
* not via shared memory).
|
|
|
|
*/
|
|
|
|
#define ED_FLAGS_FORCE_PIO 0x0010
|
1994-07-16 06:26:05 +04:00
|
|
|
|
1995-04-16 19:16:07 +04:00
|
|
|
/*
|
|
|
|
* Definitions for Hydra Systems boards
|
|
|
|
*/
|
|
|
|
#define HYDRA_ADDRPROM 0xffc0
|
|
|
|
#define HYDRA_NIC_BASE 0xffe1
|
1995-05-08 06:40:51 +04:00
|
|
|
/*
|
|
|
|
* Definitions for ASDG LANRover boards
|
|
|
|
*/
|
|
|
|
#define ASDG_ADDRPROM 0xff
|
|
|
|
#define ASDG_NIC_BASE 0x1
|