'\" t .\" Title: mptscsih_IssueTaskMgmt .\" 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_ISSUETASKMG" "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_IssueTaskMgmt \- Generic send Task Management function\&. .SH "SYNOPSIS" .HP \w'int\ mptscsih_IssueTaskMgmt('u .BI "int mptscsih_IssueTaskMgmt(MPT_SCSI_HOST\ *\ " "hd" ", u8\ " "type" ", u8\ " "channel" ", u8\ " "id" ", u64\ " "lun" ", int\ " "ctx2abort" ", ulong\ " "timeout" ");" .SH "ARGUMENTS" .PP \fIhd\fR .RS 4 Pointer to MPT_SCSI_HOST structure .RE .PP \fItype\fR .RS 4 Task Management type .RE .PP \fIchannel\fR .RS 4 channel number for task management .RE .PP \fIid\fR .RS 4 Logical Target ID for reset (if appropriate) .RE .PP \fIlun\fR .RS 4 Logical Unit for reset (if appropriate) .RE .PP \fIctx2abort\fR .RS 4 Context for the task to be aborted (if appropriate) .RE .PP \fItimeout\fR .RS 4 timeout for task management control .RE .SH "DESCRIPTION" .PP Remark: _HardResetHandler can be invoked from an interrupt thread (timer) or a non\-interrupt thread\&. In the former, must not call \fBschedule\fR\&. .PP Not all fields are meaningfull for all task types\&. .PP Returns 0 for SUCCESS, or FAILED\&. .SH "COPYRIGHT" .br