---
name: "mpt_attach"
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_attach"
---

# mpt\_attach(9)

Install a PCI intelligent MPT adapter.

## NAME

mpt\_attach - Install a PCI intelligent MPT adapter.

## SYNOPSIS

**int mpt\_attach(struct pci\_dev \*** *pdev***, const struct pci\_device\_id \*** *id***);**

## ARGUMENTS

*pdev*

Pointer to pci\_dev structure

*id*

PCI device ID information

## DESCRIPTION

This routine performs all the steps necessary to bring the IOC of a MPT adapter to a OPERATIONAL state. This includes registering memory regions, registering the interrupt, and allocating request and reply memory pools.

This routine also pre-fetches the LAN MAC address of a Fibre Channel MPT adapter.

Returns 0 for success, non-zero for failure.

## TODO

Add support for polled controllers

## COPYRIGHT
