'\" t .\" Title: mpt_config .\" 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 "MPT_CONFIG" "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_config \- Generic function to issue config message .SH "SYNOPSIS" .HP \w'int\ mpt_config('u .BI "int mpt_config(MPT_ADAPTER\ *\ " "ioc" ", CONFIGPARMS\ *\ " "pCfg" ");" .SH "ARGUMENTS" .PP \fIioc\fR .RS 4 Pointer to an adapter structure .RE .PP \fIpCfg\fR .RS 4 Pointer to a configuration structure\&. Struct contains action, page address, direction, physical address and pointer to a configuration page header Page header is updated\&. .RE .SH "DESCRIPTION" .PP Returns 0 for success \-EPERM if not allowed due to ISR context \-EAGAIN if no msg frames currently available \-EFAULT for non\-successful reply or no reply (timeout) .SH "COPYRIGHT" .br