![](http://datasheet.mmic.net.cn/330000/INTEL82801_datasheet_16416407/INTEL82801_121.png)
82801AA and 82801AB Datasheet
5-71
Functional Description
5.14.2.6
Error Conditions
IDE devices are sector based mass storage devices. The drivers handle errors on a sector basis;
either a sector is transferred successfully or it is not. A sector is 512 bytes.
If the IDE device does not complete the transfer due to a hardware or software error, the command
is eventually stopped by the driver setting Command Start bit to 0, when the driver times out the
disk transaction. Information in the IDE device registers help isolate the cause of the problem.
If the controller encounters an error while doing the bus master transfers, it stops the transfer (i.e.,
resets the Active bit in the Command register) and sets the Error bit in the Bus Master IDE Status
register. The controller does not generate an interrupt when this happens. The device driver can use
device specific information (PCI Configuration Space Status register and IDE Drive Register) to
determine what caused the error.
When a requested transfer does not complete properly, information in the IDE device registers
(Sector Count) can be used to determine how much of the transfer was completed and to construct
a new PRD table to complete the requested operation. In most cases the existing PRD table can be
used to complete the operation.
5.14.2.7
8237 Like Protocol
The 8237 mode DMA is similar in form to DMA used on the ISA bus. This mode uses pins
familiar to the ISA bus, namely a DMA Request, a DMA Acknowledge, and I/O read/write strobes.
These pins have similar characteristics to their ISA counterparts in terms of when data is valid
relative to strobe edges, and the polarity of the strobes; however, the ICH does not use the 8237 for
this mode.
Table 5-52. Interrupt/Active Bit Interaction Definition
Interrupt
Active
Description
0
1
DMA transfer is in progress. No interrupt has been generated by the IDE device.
The IDE device generated an interrupt. The controller exhausted the Physical Region
Descriptors. This is the normal completion case where the size of the physical
memory regions was equal to the IDE device transfer size.
The IDE device generated an interrupt. The controller has not reached the end of the
physical memory regions. This is a valid completion case where the size of the
physical memory regions was larger than the IDE device transfer size.
This bit combination signals an error condition. If the Error bit in the status register is
set, then the controller has some problem transferring data to/from memory. Specifics
of the error have to be determined using bus-specific information. If the Error bit is not
set, then the PRD's specified a smaller size than the IDE transfer size.
1
0
1
1
0
0