Non-PCI Single-Chip Full Duplex Ethernet Controller with Magic Packet
I/O SPACE - BANK2
OFFSET
2
NAME
TYPE
READ/WRITE
SYMBOL
PNR
PACKET NUMBER REGISTER
RESERVED
0
PACKET NUMBER AT TX AREA
0
0
0
0
0
0
0
PACKET NUMBER AT TX AREA - The value written into this register determines which packet number is
accessible through the TX area. Some MMU commands use the number stored in this register as the
packet number parameter. This register is cleared by a RESET or a RESET MMU Command.
RESERVED – This bit is reserved.
I/O SPACE - BANK2
OFFSET
3
NAME
TYPE
READ ONLY
SYMBOL
ARR
ALLOCATION RESULT REGISTER
FAILED
ALLOCATED PACKET NUMBER
1
0
0
0
0
0
0
0
FAILED - A ”0” indicates a successful allocation completion. If the allocation fails the bit is set and only
cleared when the pending allocation is satisfied. Defaults high upon reset and reset MMU command. For
polling purposes, the ALLOC_INT in the Interrupt Status Register should be used because it is
synchronized to the read operation. Sequence:
1. Allocate Command
2. Poll ALLOC_INT bit until set
3. Read Allocation Result Register
ALLOCATED PACKET NUMBER - Packet number associated with the last memory allocation request.
The value is only valid if the FAILED bit is clear.
Note:
For software compatibility with future versions, the value read from the ARR after an allocation request is
intended to be written into the PNR as is, without masking higher bits (provided FAILED = “0”).
I/O SPACE - BANK2
OFFSET
4
NAME
FIFO PORTS REGISTER
TYPE
READ ONLY
SYMBOL
FIFO
This register provides access to the read ports of the Receive FIFO and the Transmit completion FIFO.
The packet numbers to be processed by the interrupt service routines are read from this register.
REMPTY
1
RX FIFO PACKET NUMBER
0
0
0
0
0
0
0
TEMPTY
1
TX FIFO PACKET NUMBER
0
0
0
0
0
0
0
REMPTY - No receive packets queued in the RX FIFO. For polling purposes, uses the RCV_INT bit in the
Interrupt Status Register.
TOP OF RX FIFO PACKET NUMBER - Packet number presently at the output of the RX FIFO. Only valid
if REMPTY is clear. The packet is removed from the RX FIFO using MMU Commands 6) or 8).
SMSC LAN91C965v&3v
Page 55
Rev. 09/10/2004
DATASHEET