
5.2
LAN CONTROLLER REGISTER
DESCRIPTIONS
To simplify the programming model for the LAN
controller and retain compatibility with the SMC
83C690 LAN Controller, the internal registers are
divided into two address maps. The default address
map is used for Ring-style buffering (like the
83C690). Those registers needed for linked-list
buffering are grouped together in the alternate
address map and are enabled through the
Enhancement (ENH) register described starting on
page 26.
E ach map provides access to all registers
necessary for operating that particular buffering
mode. Many registers are visible in both maps,
although not always at the same address in each.
To facilitate manufacturing test of the device, many
internal registers can be accessed in one or both of
these maps. Within each map, the registers are
organized into 4 pages of 16 registers each. Only
one page is visible at a time. Page selection is made
through the Command (CMD) register described
starting on page 24.
The addresses listed in this specification are in an
abbreviated form. The first hex digit is really a
two-bit ’page’ value which is written into the LAN
COMMAND (CMD) register to access the 16
registers visible for that page. The digits after the
colon are the offset within the 83C795’s LAN
Controller I/O segment in this manner:
pageoffset
To determine the correct address, you must first
know the 83C795’s base address then select the
correct page and finally select the correct offset. So,
for example, "3:1C" indicates that the address for
this particular register is found on page 3 at the
offset value 1C.
In the following descriptions, the most significant bit
position is numbered ’7’. The line labelled RESET
shows the initial values loaded into the register by
assertion of the RESET pin. The symbol ’0’ denotes
void bits which always return zero when read.
5.2.1
ALICNT - Alignment Error Counter
Register
Normal Map Read Port = 0:1D Link-List Map Read
Port = 0:1D
This register is the alignment error counter. It is
incremented by the receive unit when a packet is
received with a frame alignment error. Only packets
whose addresses are recognized will be included
in this tally. The counter will increment to 255 and
stop if additional alignment errors are detected. The
counter is cleared when read.
BIT
7
6
5
4
3
2
1
0
ALICNT
RESET
0
0
0
0
0
0
0
0
CT7
CT6
CT5
CT4
CT3
CT2
CT1
CT0
5.2.2
BOUND - Receive Boundary Page
Register
Normal Map Read/Write Port = 0:13
The Receive Boundary Page Register points to the
oldest used receive buffer in the ring. It is used to
prevent overflow in the buffer ring. The DMA
compares the contents of this register to the next
buffer address when linking buffers together for
storage of a received frame. If the contents match
the next buffer address, the DMA operation is
aborted. Only A08-A15 are specified since all
buffers are aligned on 256-byte boundaries. For
more information, refer to page 85.
BIT
7
6
5
4
3
2
1
0
BOUND
RESET
X
X
X
X
X
X
X
X
A15
A14
A13
A12
A11
A10
A09
A08
ETHERNET SYSTEM CONTROLLER REGISTERS
83C795
23