.\" 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 "MPTSCSIH_DO_CMD" "9" "09 October 2005" "" ""
.SH NAME
mptscsih_do_cmd \- Do internal command.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int mptscsih_do_cmd (MPT_SCSI_HOST * \fIhd\fB, INTERNAL_CMD * \fIio\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIhd\fB\fR
MPT_SCSI_HOST pointer
.TP
\fB\fIio\fB\fR
INTERNAL_CMD pointer.
.SH "DESCRIPTION"
.PP
Issue the specified internally generated command and do command
specific cleanup. For bus scan / DV only.
.SH "NOTES"
.PP
If command is Inquiry and status is good,
initialize a target structure, save the data
.SH "REMARK"
.PP
Single threaded access only.
.SH "RETURN"
.PP
< 0 if an illegal command or no resources
.PP
0 if good
.PP
> 0 if command complete but some type of completion error.