'\" t .\" Title: mpt_verify_adapter .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MPT_VERIFY_ADAPTER" "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" mpt_verify_adapter \- Given IOC identifier, set pointer to its adapter structure\&. .SH "SYNOPSIS" .HP \w'int\ mpt_verify_adapter('u .BI "int mpt_verify_adapter(int\ " "iocid" ", MPT_ADAPTER\ **\ " "iocpp" ");" .SH "ARGUMENTS" .PP \fIiocid\fR .RS 4 IOC unique identifier (integer) .RE .PP \fIiocpp\fR .RS 4 Pointer to pointer to IOC adapter .RE .SH "DESCRIPTION" .PP Given a unique IOC identifier, set pointer to the associated MPT adapter structure\&. .PP Returns iocid and sets iocpp if iocid is found\&. Returns \-1 if iocid is not found\&. .SH "COPYRIGHT" .br