Datasheet
3.3.6System Control and Status Registers (SCSR)
Please refer to Section 4.2, "System Control and Status Registers (SCSR)," on page 86 for a complete description of the SCSR.
3.4DMA Controller (DMAC)
The DMA Controller is designed to transfer data from and to the MAC RX and TX Data paths. Similar to the MAC, it contains separate TX and RX data paths that are controlled by a single arbiter.
The DMA Controller includes the following features:
Generic
Optimized for
Supports
Descriptor architecture allows large blocks of data transfer with minimum Host intervention - each descriptor can transfer up to 2KB of data
Comprehensive status reporting for normal operation and transfers with errors
Supports programmable interrupt options for different operational conditions
Supports Start/Stop modes of operation
Selectable
The DMA controller consists of independent transmit (TX) and receive (RX) engines and a control and status register space (DCSR). The transmit engine transfers data from Host memory through the PCI Bridge (PCIB) to the MAC, while the receive engine transfers data from the MAC, through the PCIB to Host memory. The DMAC utilizes descriptors to efficiently move data from source to destination with minimal Host intervention. Descriptors are
Note: Descriptors should not cross cache line boundaries if cache memory is used.
3.4.1DMA Controller Architecture
The DMA Controller has four main hardware components: TX DMA engine, RX DMA engine, the DMA arbiter, and the DCSR.
TX DMA Engine - The transmit DMA engine fetches transmit descriptors from Host memory and handles data transfers from Host memory to the MAC destination port.
RX DMA Engine - The receive DMA engine fetches receive descriptors from Host memory and handles data transfers from the MAC source port to destination buffers in Host memory.
DMA Arbiter - The DMA arbiter controls access to Host memory. It can be configured to support round robin or fixed priority arbitration.
DCSR - The DMA control and status register block implements register bits that control and monitor the operation of the DMA subsystem.
3.4.2Data Descriptors and Buffers
The DMAC and the driver communicate through two data structures:
DMA Control and Status Registers (DCSR), as described in Section 4.3, "DMAC Control and Status Registers (DCSR)," on page 103.
Revision 1.22 | 38 | SMSC LAN9420/LAN9420i |
| DATASHEET |
|