AM79C978A AMD [Advanced Micro Devices], AM79C978A Datasheet - Page 68

no-image

AM79C978A

Manufacturer Part Number
AM79C978A
Description
Single-Chip 1/10 Mbps PCI Home Networking Controller
Manufacturer
AMD [Advanced Micro Devices]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AM79C978AKC
Manufacturer:
AMD
Quantity:
15
Part Number:
AM79C978AKC
Manufacturer:
AMD
Quantity:
8 000
Part Number:
AM79C978AKC/W
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM79C978AKCW
Manufacturer:
AMD
Quantity:
6 605
The point at which the BMU will start to transfer data
from the receive FIFO to buffer memory is controlled by
the RCVFW bits in CSR80. The default established
during H_RESET is 01b, which sets the watermark flag
at 64 bytes filled.
For test purposes, the Am79C978A controller can be
programmed to accept runt packets by setting RPA
in CSR124.
Address Matching
The Am79C978A controller supports three types of ad-
dress matching: unicast, multicast, and broadcast. The
normal address matching procedure can be modified
by programming three bits in CSR15, the mode register
(PROM, DRCVPA, and DRCVBC).
If the first bit received after the SFD (the least signifi-
cant bit of the first byte of the destination address field)
is 0, the frame is unicast, which indicates that the frame
is meant to be received by a single node. If the first bit
received is 1, the frame is multicast, which indicates
that the frame is meant to be received by a group of
nodes. If the destination address field contains all 1s,
the frame is broadcast, which is a special type of multi-
cast. Frames with the broadcast address in the desti-
nation address field are meant to be received by all
nodes on the local area network.
When a unicast frame arrives at the Am79C978A con-
troller, the Am79C978A controller will accept the frame
if the destination address field of the incoming frame
exactly matches the 6-byte station address stored in
the Physical Address registers (PADR, CSR12 to
CSR14). The byte ordering is such that the first byte re-
ceived from the network (after the SFD) must match
the least significant byte of CSR12 (PADR[7:0]), and
the sixth byte received must match the most significant
byte of CSR14 (PADR[47:40]).
When DRCVPA (CSR15, bit 13) is set to 1, the
Am79C978A controller will not accept unicast frames.
If the incoming frame is multicast, the Am79C978A
controller performs a calculation on the contents of
the destination address field to determine whether or
not to accept the frame. This calculation is explained
in the section that describes the Logical Address Filter
(LADRF).
When all bits of the LADRF registers are 0, no multicast
frames are accepted, except for broadcast frames.
Although broadcast frames are classified as special
multicast frames, they are treated differently by the
Am79C978A controller hardware. Broadcast frames
are always accepted, except when DRCVBC (CSR15,
bit 14) is set and there is no Logical Address match.
68
Am79C978A
None of the address filtering described above applies
when the Am79C978A controller is operating in the
promiscuous mode. In the promiscuous mode, all prop-
erly formed packets are received, regardless of the
contents of their destination address fields. The pro-
miscuous mode overrides the Disable Receive Broad-
cast bit (DRCVBC bit 14 in the MODE register) and the
Disable Receive Physical Address bit (DRCVPA,
CSR15, bit 13).
The Am79C978A controller operates in promiscuous
mode when PROM (CSR15, bit 15) is set.
The receive descriptor entry RMD1 contains three bits
that indicate which method of address matching
caused the Am79C978A controller to accept the frame.
Note that these indicator bits are only available when
the Am79C978A controller is programmed to use 32-bit
structures for the descriptor entries (BCR20, bit 7-0,
SWSTYLE is set to 2 or 3).
Physical Address Match (PAM) (RMD1, bit 22) is set
by the Am79C978A controller when it accepts the re-
ceived frame due to a match of the frame’s destina-
tion address with the content of the physical address
register.
Logical Address Filter Match (LAFM) (RMD1, bit 21)
is set by the Am79C978A controller when it accepts
the received frame based on the value in the logical
address filter register.
Broadcast Address Match (BAM) (RMD1, bit 20) is set
by the Am79C978A controller when it accepts the re-
ceived frame because the frame’s destination address
type is Broadcast.
If DRCVBC (CSR15, bit 14) is cleared to 0, only BAM,
but not LAFM will be set when a Broadcast frame is re-
ceived, even if the Logical Address Filter is pro-
grammed in such a way that a Broadcast frame would
pass the hash filter. If DRCVBC is set to 1 and the Log-
ical Address Filter is programmed in such a way that a
Broadcast frame would pass the hash filter, LAFM will
be set on the reception of a Broadcast frame.
When the Am79C978A controller operates in pro-
miscuous mode and none of the three match bits is
set, it is an indication that the Am79C978A control-
ler has only accepted the frame because it was in
promiscuous mode.
When the Am79C978A controller is not programmed to
be in promiscuous mode, then when none of the three
match bits is set, it is an indication that the Am79C978A
controller only accepted the frame because it was not
rejected. See Table 11 for receive address matches.

Related parts for AM79C978A