blob: 57aca3272ef794902c967c0a6fe2037f4a0de2d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/* $OpenBSD: if_edreg.h,v 1.2 1997/01/16 09:24:41 niklas Exp $ */
/* $NetBSD: if_edreg.h,v 1.4 1995/05/08 02:40:54 chopps Exp $ */
/*
* Vendor types
*/
#define ED_VENDOR_HYDRA 0x03 /* Hydra Systems */
/*
* Compile-time config flags
*/
/*
* This sets the default for enabling/disablng the tranceiver.
*/
#define ED_FLAGS_DISABLE_TRANCEIVER 0x0001
/*
* 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
/*
* This disables the use of double transmit buffers.
*/
#define ED_FLAGS_NO_MULTI_BUFFERING 0x0008
/*
* 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
/*
* Definitions for Hydra Systems boards
*/
#define HYDRA_ADDRPROM 0xffc0
#define HYDRA_NIC_BASE 0xffe1
/*
* Definitions for ASDG LANRover boards
*/
#define ASDG_ADDRPROM 0xff
#define ASDG_NIC_BASE 0x1
|