.\" 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_EXECUTE_COMMAND" "9" "09 October 2005" "" "" .SH NAME ide_execute_command \- execute an IDE command .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void ide_execute_command (ide_drive_t * \fIdrive\fB, task_ioreg_t \fIcmd\fB, ide_handler_t * \fIhandler\fB, unsigned \fItimeout\fB, ide_expiry_t * \fIexpiry\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdrive\fB\fR IDE drive to issue the command against .TP \fB\fIcmd\fB\fR -- undescribed -- .TP \fB\fIhandler\fB\fR handler for next phase .TP \fB\fItimeout\fB\fR timeout for command .TP \fB\fIexpiry\fB\fR handler to run on timeout .SH "DESCRIPTION" .PP Helper function to issue an IDE command. This handles the atomicity requirements, command timing and ensures that the handler and IRQ setup do not race. All IDE command kick off should go via this function or do equivalent locking.