'\" t .\" Title: mptscsih_do_cmd .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MPTSCSIH_DO_CMD" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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 .PP Remark: 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