.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "DMA_TIMER_EXPIRY" "" "06 October 2005" "" "" .SH NAME dma_timer_expiry \- handle a DMA timeout .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int dma_timer_expiry (ide_drive_t * \fIdrive\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdrive\fB\fR Drive that timed out .SH "DESCRIPTION" .PP An IDE DMA transfer timed out. In the event of an error we ask the driver to resolve the problem, if a DMA transfer is still in progress we continue to wait (arguably we need to add a secondary 'I don't care what the drive thinks' timeout here) Finally if we have an interrupt but for some reason got the timeout first we complete the I/O. This can occur if an interrupt is lost or due to bugs.