.\" 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 "VIA_SET_DRIVE" "9" "09 October 2005" "" ""
.SH NAME
via_set_drive \- configure transfer mode
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int via_set_drive (ide_drive_t * \fIdrive\fB, u8 \fIspeed\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrive\fB\fR
Drive to set up
.TP
\fB\fIspeed\fB\fR
desired speed
.SH "DESCRIPTION"
.PP
\fBvia_set_drive\fR computes timing values configures the drive and
the chipset to a desired transfer mode. It also can be called
by upper layers.