English
Language : 

82801BA Datasheet, PDF (92/498 Pages) Intel Corporation – Intel 82801BA I/O Controller Hub 2 (ICH2) and Intel 82801BAM I/O Controller Hub 2 Mobile
Functional Description
5.5
PCI DMA
The ICH2 provides support for the PC/PCI DMA protocol. PC/PCI DMA uses dedicated request
and grant signals to permit PCI devices to request transfers associated with specific DMA
channels. Upon receiving a request and getting control of the PCI bus, the ICH2 performs a two-
cycle transfer. For example, if data is to be moved from the peripheral to main memory, the ICH2
first reads data from the peripheral and then writes the data to main memory. The location in main
memory is the Current Address Registers in the 8237.
ICH2 supports up to 2 PC/PCI REQ/GNT pairs, REQ[A:B]# and GNT[A:B]#.
A 16-bit register is included in the ICH2 Function 0 PCI configuration space at offset 90h. It is
divided into seven 2-bit fields that are used to configure the 7 DMA channels.
Each DMA channel can be configured to one of two options:
• LPC DMA
• PC/PCI style DMA using the REQ/GNT signals
It is not possible for a particular DMA channel to be configured for more than one style of DMA;
however, the seven channels can be programmed independently. For example, channel 3 can be set
up for PC/PCI and channel 5 set up for LPC DMA.
The ICH2 REQ[A:B]# and GNT[A:B]# can be configured for support of a PC/PCI DMA
Expansion agent. The PCI DMA Expansion agent can then provide DMA service or ISA Bus
Master service using the ICH2 DMA controller. The REQ#/GNT# pair must follow the PC/PCI
serial protocol described in the following section.
5.5.1 PCI DMA Expansion Protocol
The PCI expansion agent must support the PCI expansion Channel Passing Protocol defined in
Figure 5-10 for both the REQ# and GNT# pins.
Figure 5-10. DMA Serial Channel Passing Protocol
PCICLK
REQ#
Start CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7
GNT#
Start Bit0 Bit1 Bit2
The requesting device must encode the channel request information as shown above, where
CH0–CH7 are one clock active high states representing DMA channel requests 0–7.
The ICH2 encodes the granted channel on the GNT# line as shown above where the bits have the
same meaning as shown in Figure 5-10. For example, the sequence
[start, bit 0, bit 1, bit 2]=[0,1,0,0] grants DMA channel 1 to the requesting device, and the sequence
[start, bit 0, bit 1, bit 2]=[0,0,1,1] grants DMA channel 6 to the requesting device.
5-30
82801BA ICH2 and 82801BAM ICH2-M Datasheet