AMD
P R E L I M I N A R Y
136
Am79C970A
starts trying to transmit. When
the entire frame is in the FIFO,
transmission attempts will start
regardless of the value in
XMTSP. If the network interface
is operating in half-duplex mode,
regardless of XMTSP, the FIFO
will not internally overwrite its
data until at least 64 bytes (or the
entire frame if shorter than 64
bytes) have been transmitted
onto the network. This ensures
that for collisions within the slot
time window, transmit data need
not be reloaded into the transmit
FIFO, and retries will be handled
autonomously by the MAC. If the
Disable Retry feature is enabled,
or if the network is operating in
full-duplex mode, the PCnet-PCI
II controller can overwrite the be-
ginning of the frame as soon as
the data is transmitted, because
no collision handling is required
in these modes.
Table 27. Transmit Start Point Programming
XMTSP[1:0]
Bytes Written
00
8
01
64
10
128
11
248
Read/Write
when either the STOP or the
SPND bit is set. XMTSP is set to
a value of 01b (64 bytes) after
H_RESET or S_RESET and
is unaffected by setting the
STOP bit.
accessible
only
9–8 XMTFW[1:0]
Transmit
XMTFW controls the point at
which transmit DMA is re-
quested. Transmit DMA is re-
quested when the number of
bytes specified by XMTFW can
be written to the transmit FIFO.
FIFO
Watermark.
Table 28. Transmit Watermark Programming
XMTFW[1:0]
Byte Spaces Available
00
16
01
64
10
128
11
Reserved
Read/Write
when either the STOP or the
SPND bit is set. XMTFW is set to
accessible
only
a value of 00b (16 bytes)
after H_RESET or S_RESET
and is unaffected by setting the
STOP bit.
7–0 DMATC[7:0]
DMA
DMAPLUS (CSR4, bit 14) is
cleared to ZERO, this counter
contains the maximum number
of FIFO read or write data phases
the PCnet-PCI II controller will
perform during a single bus mas-
tership period, if not preempted.
The DMA Transfer Counter is not
used to limit the number of data
phases during initialization block
or descriptor transfers. A value of
ZERO will be interpreted as one
data phase. If DMAPLUS is set to
ONE, the DMA Transfer Counter
is disabled, and the PCnet-PCI II
controller will try to transfer data
as long as the transmit FIFO is
not full or as long as the receive
FIFO is not empty.
Transfer
Counter.
If
When the PCnet-PCI II controller
is preempted and the last data
phase has finished, DMATC will
freeze. It will continue counting
down when the PCnet-PCI II
controller is granted bus owner-
ship again and continues with the
data transfers.
DMATC should not be enabled
when the PCnet-PCI II controller
is used in a PCI bus application.
The PCI Latency Timer should be
the only entity governing the time
the PCnet-PCI II controller has
control over the bus.
Read/Write
when either the STOP or the
SPND bit is set. Note that the
read operation will yield the value
of the run-time copy of the DMA
Transfer Counter and not the
register that holds the pro-
grammed value. Most read op-
erations will yield a value of
ZERO, because the run-time
counter is only reloaded with
the programmed value at the be-
ginning of a new bus mastership
period.
The
Counter is set to a value of
16 (10h) after H_RESET or
S_RESET and is unaffected by
setting the STOP bit.
accessible
only
DMA
Transfer