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