'\" t .\" Title: mptscsih_do_cmd .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "MPTSCSIH_DO_CMD" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Message-based devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" mptscsih_do_cmd \- Do internal command\&. .SH "SYNOPSIS" .HP \w'int\ mptscsih_do_cmd('u .BI "int mptscsih_do_cmd(MPT_SCSI_HOST\ *\ " "hd" ", INTERNAL_CMD\ *\ " "io" ");" .SH "ARGUMENTS" .PP \fIhd\fR .RS 4 MPT_SCSI_HOST pointer .RE .PP \fIio\fR .RS 4 INTERNAL_CMD pointer\&. .RE .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\&. .SH "COPYRIGHT" .br