.\" 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 "IDE_START_DMA" "" "06 October 2005" "" "" .SH NAME ide_start_dma \- begin a DMA phase .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int ide_start_dma (ide_hwif_t * \fIhwif\fB, ide_drive_t * \fIdrive\fB, int \fIreading\fB); \fR .SH "ARGUMENTS" .TP \fB\fIhwif\fB\fR interface .TP \fB\fIdrive\fB\fR target device .TP \fB\fIreading\fB\fR set if reading, clear if writing .SH "DESCRIPTION" .PP Build an IDE DMA PRD (IDE speak for scatter gather table) and then set up the DMA transfer registers for a device that follows generic IDE PCI DMA behaviour. Controllers can override this function if they need to .PP Returns 0 on success. If a PIO fallback is required then 1 is returned.