'\" t .\" Title: mpt_SoftResetHandler .\" 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 "MPT_SOFTRESETHANDLER" "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" mpt_SoftResetHandler \- Issues a less expensive reset .SH "SYNOPSIS" .HP \w'int\ mpt_SoftResetHandler('u .BI "int mpt_SoftResetHandler(MPT_ADAPTER\ *\ " "ioc" ", int\ " "sleepFlag" ");" .SH "ARGUMENTS" .PP \fIioc\fR .RS 4 Pointer to MPT_ADAPTER structure .RE .PP \fIsleepFlag\fR .RS 4 Indicates if sleep or schedule must be called\&. .RE .SH "DESCRIPTION" .PP Returns 0 for SUCCESS or \-1 if FAILED\&. .PP Message Unit Reset \- instructs the IOC to reset the Reply Post and Free FIFO\*(Aqs\&. All the Message Frames on Reply Free FIFO are discarded\&. All posted buffers are freed, and event notification is turned off\&. IOC doesn\*(Aqt reply to any outstanding request\&. This will transfer IOC to READY state\&. .SH "COPYRIGHT" .br