English
Language : 

82801BA Datasheet, PDF (88/498 Pages) Intel Corporation – Intel 82801BA I/O Controller Hub 2 (ICH2) and Intel 82801BAM I/O Controller Hub 2 Mobile
Functional Description
5.4
DMA Operation (D31:F0)
The ICH2 supports two types of DMA: LPC and PC/PCI. DMA via LPC is similar to ISA DMA.
LPC DMA and PC/PCI DMA use the ICH2’s DMA controller. The DMA controller has registers
that are fixed in the lower 64 KB of I/O space.
The DMA controller is configured using registers in the PCI configuration space. These registers
allow configuration of individual channels for use by LPC or PC/PCI DMA.
The DMA circuitry incorporates the functionality of two 82C37 DMA controllers with seven
independently programmable channels (Figure 5-9). DMA Controller 1 (DMA-1) corresponds to
DMA Channels 0–3 and DMA Controller 2 (DMA-2) corresponds to Channels 5–7. DMA Channel
4 is used to cascade the two controllers and will default to cascade mode in the DMA Channel
Mode (DCM) Register. Channel 4 is not available for any other purpose. In addition to accepting
requests from DMA slaves, the DMA controller also responds to requests that software initiates.
Software may initiate a DMA service request by setting any bit in the DMA Channel Request
Register to a 1.
Figure 5-9. ICH2 DMA Controller
Channel 0
Channel 1
Channel 2
Channel 3
DMA-1
Channel 4
Channel 5
Channel 6
Channel 7
DMA-2
5.4.1
Each DMA channel is hardwired to the compatible settings for DMA device size: channels 3–0 are
hardwired to 8-bit, count-by-bytes transfers and channels 7–5 are hardwired to 16-bit, count-by-
words (address shifted) transfers.
ICH2 provides 24-bit addressing in compliance with the ISA-Compatible specification. Each
channel includes a 16-bit ISA-Compatible Current Register which holds the 16 least-significant
bits of the 24-bit address, an ISA-Compatible Page Register which contains the eight next most
significant bits of address.
The DMA controller also features refresh address generation and autoinitialization following a
DMA termination.
Channel Priority
For priority resolution, the DMA consists of two logical channel groups: channels 0–3 and
channels 4–7. Each group may be in either fixed or rotate mode, as determined by the DMA
Command Register.
DMA I/O slaves normally assert their DREQ line to arbitrate for DMA service. However, a
software request for DMA service can be presented through each channel's DMA Request Register.
A software request is subject to the same prioritization as any hardware request. See the detailed
register description for Request Register programming information in the DMA Register
description section.
5-26
82801BA ICH2 and 82801BAM ICH2-M Datasheet