LAN9118 Family Programmer Reference Guide
Revision 1.0 (12-14-09) 34 SMSC AN 12.12
APPLICATION NOTE
Now that we’ve established a background for transmitting packets with the device, let’s look at the
diagram in Figure 6.2, "Packet Transmission" depicting a packet transmit scheme. This example is
based upon the SMSC simple Linux driver, which provides driver calls to block and un-block the
transmit queue which calls into the driver:
Table6.12 Multiple (3) Packet Data Transfer Sequence
HOST
SOURCE
ADDRESS
TX_DATA_FIFO
DATA
TRANSFER 1
HOST
SOURCE
ADDRESS
TX_DATA_FIFO
DATA
TRANSFER 2
HOST
SOURCE
ADDRESS
TX_DATA_FIFO
DATA
TRANSFER 3
TX_CMD_A-1 0x0003201d TX_CMD_A-2 0x00000020 TX_CMD_A-3 0x00001011
TX_CMD_B-1 0x5678004e TX_CMD_B-2 0x5678004e TX_CMD_B-3 0x5678004e
0xb4002010 0x00XXXXXX 0xb4002030 0x5381aa76 0xb4002050 0x44202e4d
0xb4002014 0xdea0830e 0xb4002034 0x01e70496 0xb4002054 0x64697662
0xb4002018 0x0f8000ff 0xb4002038 0x384aa9bd 0xb4002058 0x4c654720
0xb400201c 0x08715 571 0xb400203c 0x7cd60a0d 0xb400205c 0x6e616d62
0xb4002020 0x00004500 0xb4002040 0xff10506c 0xb4002060 0xYYYYYY21
0xb4002024 0x40561128 0xb4002044 0x0029f9ff
0xb4002028 0xf0068000 0xb4002048 0x726f6600
0xb400202c 0x5081a a6a 0xb400204c 0x43534d53