LAN91C96_07 SMSC [SMSC Corporation], LAN91C96_07 Datasheet - Page 53

no-image

LAN91C96_07

Manufacturer Part Number
LAN91C96_07
Description
Non-PCI Single-Chip Full Duplex Ethernet Controller with Magic Packet
Manufacturer
SMSC [SMSC Corporation]
Datasheet
SMSC LAN91C965v&3v
I/O SPACE - BANK2
This register is used by the CPU to control the memory allocation, de-allocation, TX FIFO and RX FIFO
control. The three command bits determine the command issued as described below:
COMMAND SET:
wxyz
0000
0010
0100
0110
0111
1010
Can be used following 6 (to release receive packet memory in a more flexible way than 8).
1100
OFFSET
w
0
COMMAND
0)
2)
4)
6)
7)
8)
A)
C)
x
MMU COMMAND REGISTER
NOOP - NO OPERATION -
ALLOCATE MEMORY FOR TX - N2, N1, N0 defines the amount of memory
requested as (value + 1) 256* bytes. Namely N2, N1, N0 = 1
256* = 512 bytes. Valid range for N2, N1, N0 is 0 through 5. A shift-based divide
by 256 of the packet length yields the appropriate value to be used as N2, N1
and N0. Immediately generates a completion code at the ALLOCATION RESULT
REGISTER. Can optionally generate an interrupt on successful completion. The
allocation time can take worst case (N2, N1, N0 + 2)* 200ns.
RESET MMU TO INITIAL STATE - Frees all memory allocations, clears relevant
interrupts, resets packet FIFO pointers.
REMOVE FRAME FROM TOP OF RX FIFO- To be issued after CPU has
completed processing of present receive frame. This command removes the
receive packet number from the RX FIFO and brings the next receive frame (if
any) to the RX area (output of RX FIFO).
REMOVE FRAME FROM TOP OF TX FIFO- To be issued ONLY after the Host
disabled the transmitter and has completed processing of the present transmit
frame. Note: Determining Transmit completion is done by polling the TEMPTY bit
in the Transmit FIFO Port Register. This command removes the Transmit packet
number from the TX FIFO and brings the next Transmit frame (if any) to the TX
area (output of TX FIFO).
REMOVE AND RELEASE TOP OF RX FIFO - Like 6) but also releases all
memory used by the packet presently at the RX FIFO output.
RELEASE SPECIFIC PACKET - Frees all pages allocated to the packet
specified in the PACKET NUMBER REGISTER. Should not be used for frames
pending transmission. Typically used to remove transmitted frames, after reading
their completion status.
ENQUEUE PACKET NUMBER INTO TX FIFO - This is the normal method of
transmitting a packet just loaded into RAM. The packet number to be enqueued
is taken from the PACKET NUMBER REGISTER.
NAME
DATASHEET
y
Page 53
Non-PCI Single-Chip Full Duplex Ethernet Controller with Magic Packet
z
0
BUSY bit readable
WRITE ONLY
TYPE
N2
N1
SYMBOL
MMUCR
will
BUSY
N0/
0
request
Rev. 03-28-07
2

Related parts for LAN91C96_07