.\" 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 "ATA_DEV_SET_PROTOCOL" "9" "09 October 2005" "" ""
.SH NAME
ata_dev_set_protocol \- set taskfile protocol and r/w commands
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void ata_dev_set_protocol (struct ata_device * \fIdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
device to examine and configure
.SH "DESCRIPTION"
.PP
Examine the device configuration, after we have
read the identify-device page and configured the
data transfer mode. Set internal state related to
the ATA taskfile protocol (pio, pio mult, dma, etc.)
and calculate the proper read/write commands to use.
.SH "LOCKING"
.PP
caller.