.\" 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 "MEGARAID_ABORT_AND_RESET" "9" "09 October 2005" "" "" .SH NAME megaraid_abort_and_reset \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int megaraid_abort_and_reset (adapter_t * \fIadapter\fB, Scsi_Cmnd * \fIcmd\fB, int \fIaor\fB); \fR .SH "ARGUMENTS" .TP \fB\fIadapter\fB\fR -- undescribed -- .TP \fB\fIcmd\fB\fR -- undescribed -- .TP \fB\fIaor\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP \fIadapter\fR - megaraid soft state \fIcmd\fR - scsi command to be aborted or reset \fIaor\fR - abort or reset flag .PP Try to locate the scsi command in the pending queue. If found and is not issued to the controller, abort/reset it. Otherwise return failure