---
name: "mpt_config"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mpt_config"
---

# mpt\_config(9)

Generic function to issue config message

## NAME

mpt\_config - Generic function to issue config message

## SYNOPSIS

**int mpt\_config(MPT\_ADAPTER \*** *ioc***, CONFIGPARMS \*** *pCfg***);**

## ARGUMENTS

*ioc*

Pointer to an adapter structure

*pCfg*

Pointer to a configuration structure. Struct contains action, page address, direction, physical address and pointer to a configuration page header Page header is updated.

## DESCRIPTION

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)

## COPYRIGHT
