
198
Am79C978
Initialization Block
Note:
When SSIZE32 (BCR20, bit 8) is set to 0, the
software structures are defined to be 16 bits wide. The
base address of the initialization block must be aligned
to a DWord boundary, i.e., CSR1, bit 1 and 0 must be
cleared to 0. When SSIZE32 is set to 0, the initialization
block looks like Table 78.
Note:
The Am79C978 controller performs DWord ac-
cesses to read the initialization block. This statement is
always true, regardless of the setting of the SSIZE32
bit.
When SSIZE32 (BCR20, bit 8) is set to 1, the software
structures are defined to be 32 bits wide. The base ad-
dress of the initialization block must be aligned to a
DWord boundary, i.e., CSR1, bits 1 and 0 must be
cleared to 0. When SSIZE32 is set to 1, the initialization
block looks like Table 79.
RLEN and TLEN
When SSIZE32 (BCR20, bit 8) is set to 0, the software
structures are defined to be 16 bits wide, and the RLEN
and TLEN fields in the initialization block are each three
bits wide. The values in these fields determine the num-
ber of transmit and receive Descriptor Ring Entries
(DRE) which are used in the descriptor rings. Their
meaning is shown in Table 80. If a value other than those
listed in Table 80 is desired, CSR76 and CSR78 can be
written after initialization is complete.
When SSIZE32 (BCR20, bit 8) is set to 1, the software
structures are defined to be 32 bits wide, and the RLEN
and TLEN fields in the initialization block are each 4 bits
wide. The values in these fields determine the number
of transmit and receive Descriptor Ring Entries (DRE)
which are used in the descriptor rings. Their meaning
is shown in Table 81.
Table 78.
Initialization Block (SSIZE32 = 0)
Bit 12
Bits 11-8
MODE 15-00
PADR 15-00
PADR 31-16
PADR 47-32
LADRF 15-00
LADRF 31-16
LADRF 47-32
LADRF 63-48
RDRA 15-00
0
TDRA 15-00
0
Address
IADR+00h
IADR+02h
IADR+04h
IADR+06h
IADR+08h
IADR+0Ah
IADR+0Ch
IADR+0Eh
IADR+10h
IADR+12h
IADR+14h
IADR+16h
Bits 15-13
Bits 7-4
Bits 3-0
RLEN
RES
TDRA 23-16
TLEN
RES
TDRA 23-16
Table 79.
Bits
27-24
RES
Initialization Block (SSIZE32 = 1)
Bits
Bits
23-20
19-16
RLEN
RES
PADR 31-00
Address
IADR+00h
IADR+04h
IADR+08h
IADR+0Ch
IADR+10h
IADR+14h
IADR+18h
Bits
31-28
TLEN
Bits
15-12
Bits
11-8
Bits
7-4
Bits
3-0
MODE
RES
PADR 47-32
LADRF 31-00
LADRF 63-32
RDRA 31-00
TDRA 31-00