.\" 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 "I2O_SCSI_QUEUECOMMAND" "" "06 October 2005" "" ""
.SH NAME
i2o_scsi_queuecommand \- queue a SCSI command
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int i2o_scsi_queuecommand (Scsi_Cmnd * \fISCpnt\fB, void (*\fIdone\fB)
Scsi_Cmnd *);
\fR
.SH "ARGUMENTS"
.TP
\fB\fISCpnt\fB\fR
scsi command pointer
.TP
\fB\fIdone\fB\fR
callback for completion
.SH "DESCRIPTION"
.PP
Issue a scsi comamnd asynchronously. Return 0 on success or 1 if
we hit an error (normally message queue congestion). The only
minor complication here is that I2O deals with the device addressing
so we have to map the bus/dev/lun back to an I2O handle as well
as faking absent devices ourself.
.SH "LOCKS"
.PP
takes the controller lock on error path only