'\" t .\" Title: MakeIocReady .\" 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 "MAKEIOCREADY" "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" MakeIocReady \- Get IOC to a READY state, using KickStart if needed\&. .SH "SYNOPSIS" .HP \w'int\ MakeIocReady('u .BI "int MakeIocReady(MPT_ADAPTER\ *\ " "ioc" ", int\ " "force" ", int\ " "sleepFlag" ");" .SH "ARGUMENTS" .PP \fIioc\fR .RS 4 Pointer to MPT_ADAPTER structure .RE .PP \fIforce\fR .RS 4 Force hard KickStart of IOC .RE .PP \fIsleepFlag\fR .RS 4 Specifies whether the process can sleep .RE .SH "RETURN" .PP 1 \- DIAG reset and READY 0 \- READY initially OR soft reset and READY \-1 \- Any failure on KickStart \-2 \- Msg Unit Reset Failed \-3 \- IO Unit Reset Failed \-4 \- IOC owned by a PEER .SH "COPYRIGHT" .br