AM79C90 Advanced Micro Devices, AM79C90 Datasheet - Page 27

no-image

AM79C90

Manufacturer Part Number
AM79C90
Description
CMOS Local Area Network Controller for Ethernet (C-LANCE)
Manufacturer
Advanced Micro Devices
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AM79C900AJC
Manufacturer:
AMD
Quantity:
5 510
Part Number:
AM79C900AJC
Manufacturer:
SIG
Quantity:
5 510
Part Number:
AM79C900JAJC
Manufacturer:
AMD
Quantity:
359
Part Number:
AM79C900JCDV
Manufacturer:
AMD
Quantity:
1 831
Part Number:
AM79C901AJC
Quantity:
298
Part Number:
AM79C901AJC
Manufacturer:
AMD
Quantity:
1 000
Part Number:
AM79C901AJC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM79C901AVC
Manufacturer:
AMD
Quantity:
168
Part Number:
AM79C901AVC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM79C901AVC/W
Manufacturer:
AMD
Quantity:
595
Part Number:
AM79C90JC
Manufacturer:
AMD
Quantity:
20 000
Buffer Management
Buffer Management is accomplished through message
descriptors organized in ring structures in memory.
Each message descriptor entry is four words long.
There are two rings allocated for the device: a Receive
ring and a Transmit ring. The device is capable of polling
each ring for buffers to either empty or fill with packets to
or from the channel. The device is also capable of enter-
ing status information in the descriptor entry. C-LANCE
polling is limited to looking one ahead of the descriptor
entry the C-LANCE is currently working with.
The location of the descriptor rings and their length are
found in the initialization block, accessed during the in-
itialization procedure by the C-LANCE. Writing a “ONE”
into the STRT bit of CSR0 will cause the C-LANCE to
start accessing the descriptor rings and enable it to send
and receive packets.
The C-LANCE communicates with a HOST device
through the ring structures in memory. Each entry in the
ring is either owned by the C-LANCE or the HOST.
There is an ownership bit (OWN) in the message de-
scriptor entry. Mutual exclusion is accomplished by a
protocol which states that each device can only relin-
quish ownership of the descriptor entry to the other de-
vice; it can never take ownership, and no device can
change the state of any field in any entry after it has relin-
quished ownership.
Descriptor Ring
Each descriptor in a ring in memory is a 4-word entry.
The following is the format of the receive and the trans-
mit descriptors.
Receive Message Descriptor Entry
Receive Message Descriptor 0 (RMD0)
Bit
15:00
15
Name
LADR
Description
The LOW ORDER 16 address bits of
the buffer pointed to by this descrip-
tor. LADR is written by the host and is
not changed by the C-LANCE.
LADR
17881B-25
P R E L I M I N A R Y
0
Am79C90
Receive Message Descriptor 1 (RMD1)
Bit
15
14
13
15
FRAM
Name
OWN
ERR
8 7
Description
This bit indicates that the descriptor
entry is owned by the host (OWN = 0)
or by the C-LANCE (OWN = 1). The
C-LANCE clears the OWN bit after
filling the buffer pointed to by the de-
scriptor entry. The host sets the
OWN bit after emptying the buffer.
Once the C-LANCE or host has relin-
quished ownership of a buffer, it
must not change any field in the four
words that comprise the descriptor
entry.
ERROR summary is the OR of
FRAM, OFLO, CRC or BUFF.
FRAMING ERROR indicates that
the incoming packet contained a
non-integer multiple of eight bits and
there was a CRC error. If there was
not a CRC error on the incoming
packet, then FRAM will not be set
even if there was a non-integer multi-
ple of eight bits in the packet. FRAM
is not valid in internal loopback
mode. FRAM is valid only when ENP
is set and OFLO is not.
17881B-26
0
AMD
CRC
OFLO
HADR
ENP
STP
BUFF
FRAM
ERR
OWN
27

Related parts for AM79C90