.\" 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_RATE_FILTER" "" "06 October 2005" "" ""
.SH NAME
ide_rate_filter \- return best speed for mode
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
u8 ide_rate_filter (u8 \fImode\fB, u8 \fIspeed\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fImode\fB\fR
modes available
.TP
\fB\fIspeed\fB\fR
desired speed
.SH "DESCRIPTION"
.PP
Given the available DMA/UDMA mode this function returns
the best available speed at or below the speed requested.