.\" 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 "IPR_QUEUECOMMAND" "9" "09 October 2005" "" ""
.SH NAME
ipr_queuecommand \- Queue a mid-layer request
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ipr_queuecommand (struct scsi_cmnd * \fIscsi_cmd\fB, void (*\fIdone\fB)
struct scsi_cmnd *);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIscsi_cmd\fB\fR
scsi command struct
.TP
\fB\fIdone\fB\fR
done function
.SH "DESCRIPTION"
.PP
This function queues a request generated by the mid-layer.
.SH "RETURN VALUE"
.PP
0 on success
SCSI_MLQUEUE_DEVICE_BUSY if device is busy
SCSI_MLQUEUE_HOST_BUSY if host is busy