.\" 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_SPEED" "9" "09 October 2005" "" ""
.SH NAME
ide_dma_speed \- compute DMA speed
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
u8 ide_dma_speed (ide_drive_t * \fIdrive\fB, u8 \fImode\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrive\fB\fR
drive
\fImode\fR; intended mode
.TP
\fB\fImode\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
Checks the drive capabilities and returns the speed to use
for the transfer. Returns -1 if the requested mode is unknown
(eg PIO)