.\" 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_DMA_SETUP" "9" "09 October 2005" "" ""
.SH NAME
ide_dma_setup \- begin a DMA phase
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ide_dma_setup (ide_drive_t * \fIdrive\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrive\fB\fR
target device
.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.