'\" t .\" Title: i2o_scsi_reply .\" 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 "I2O_SCSI_REPLY" "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" i2o_scsi_reply \- SCSI OSM message reply handler .SH "SYNOPSIS" .HP \w'int\ i2o_scsi_reply('u .BI "int i2o_scsi_reply(struct\ i2o_controller\ *\ " "c" ", u32\ " "m" ", struct\ i2o_message\ *\ " "msg" ");" .SH "ARGUMENTS" .PP \fIc\fR .RS 4 controller issuing the reply .RE .PP \fIm\fR .RS 4 message id for flushing .RE .PP \fImsg\fR .RS 4 the message from the controller .RE .SH "DESCRIPTION" .PP Process reply messages (interrupts in normal scsi controller think)\&. We can get a variety of messages to process\&. The normal path is scsi command completions\&. We must also deal with IOP failures, the reply to a bus reset and the reply to a LUN query\&. .PP Returns 0 on success and if the reply should not be flushed or > 0 on success and if the reply should be flushed\&. Returns negative error code on failure and if the reply should be flushed\&. .SH "COPYRIGHT" .br