Compaq Tru64 UNIX Installation Manual page 36

Writing network device drivers
Table of Contents

Advertisement

ECR_WRITE=0x0040,
ECR_ERASE=0x00c0,
ECR_EWENA=0x0030,
ECR_EWDIS=0x0000,
ECR_EAR=
0x0020,
ECR_WAR=
0x0010
};
#define W0_EDR
Defines the offset for the manufacturer ID register.
1
Defines the offset for the adapter ID register.
2
Defines the offset for the configuration control register.
3
Defines an enumerated data type called w0_ccr. The if_el
4
device driver can assign one of the following values to W0_CCR (the
configuration control register):
CCR_PCMCIA
CCR_AUI
CCR_10B2
CCR_ENDEC
CCR_RESET
CCR_ENA
Defines the offset for the address control register.
5
Defines an enumerated data type called w0_acr. The if_el device
6
driver can assign one of the following values to W0_ACR (the address
control register):
ACR_10BT
ACR_10B5
ACR_10B2
ACR_ROMS
ACR_ROMB
ACR_ASE
ACR_BASE
Defines the offset for the resource configuration register.
7
2–6 Defining Device Register Offsets
0xc
11
If set, this is a PCMCIA bus. Otherwise, it is an ISA bus.
If set, the attachment unit interface (AUI) is available.
If set, the 10Base2 receiver is available.
If set, the internal encode/decode (ENDEC)
loopback is used.
Reset adapter.
Enable adapter.
If set, the information transmission rate is at
10 Mb/sec for the Ethernet unshielded
twisted-pair cable wires.
If set, the information transmission rate is at
10 Mb/sec for the Ethernet thick coaxial cable wire.
The length between repeaters is 500 meters.
If set, the information transmission rate is at 10
Mb/sec for the Ethernet thin coaxial cable wire. The
length between repeaters is 200 meters.
Represents the read-only memory size for the ISA bus.
Represents the read-only memory base for the ISA bus.
Represents the autoselect mode.
Represents the I/O base address.

Advertisement

Table of Contents
loading

Table of Contents