.\" 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 "COMMAND" "9" "17 July 2003" "" ""
.SH NAME
command \- send scsi command to device, wait for reply
.SH SYNOPSIS
.sp
\fB
.sp
int command (struct scsi_cmnd * \fIscp\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIscp\fB\fR
pointer to scsi command object
.SH "RETURNS AN INT WITH FOUR COMPONENT BYTES"
.PP
scsi_byte, msg_byte,
host_byte, driver_byte (status_byte is in the lsb). A value of
0 is an unqualified success.
.SH "REQUIRED"
.PP
if struct Scsi_Host::can_queue can ever by cleared (zero)
then this function is required.
.SH "LOCKS"
.PP
struct Scsi_Host::host_lock held on entry (with ``irqsave'')
and is expected to be held on return.
.SH "NOTES"
.PP
Drivers tend to be dropping support for this function and
supporting \fBqueuecommand\fR instead.
.SH "DEFINED IN"
.PP
LLD
.SH "ABOUT THIS DOCUMENT"
.PP
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
Version 1.1 or any later version published by the Free Software
Foundation; with no Invariant Sections, with no Front-Cover Texts,
and with no Back-Cover Texts. A copy of the license is included
in the section entitled "GNU Free Documentation License".
.PP
If you have comments on the formatting of this manpage, then please contact
Michael Still (mikal@stillhq.com).
.PP
This documentation was generated with kernel version 2.5.71.