.\" 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 "EXECUTE_DRIVE_CMD" "" "06 October 2005" "" ""
.SH NAME
execute_drive_cmd \- issue special drive command
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
ide_startstop_t execute_drive_cmd (ide_drive_t * \fIdrive\fB, struct request * \fIrq\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrive\fB\fR
the drive to issue th command on
.TP
\fB\fIrq\fB\fR
the request structure holding the command
.SH "DESCRIPTION"
.PP
\fBexecute_drive_cmd\fR issues a special drive command, usually
initiated by \fBioctl\fR from the external hdparm program. The
command can be a drive command, drive task or taskfile
operation. Weirdly you can call it with NULL to wait for
all commands to finish. Don't do this as that is due to change