'\" t .\" Title: mpt_attach .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "MPT_ATTACH" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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_attach \- Install a PCI intelligent MPT adapter\&. .SH "SYNOPSIS" .HP \w'int\ mpt_attach('u .BI "int mpt_attach(struct\ pci_dev\ *\ " "pdev" ", const\ struct\ pci_device_id\ *\ " "id" ");" .SH "ARGUMENTS" .PP \fIpdev\fR .RS 4 Pointer to pci_dev structure .RE .PP \fIid\fR .RS 4 PCI device ID information .RE .SH "DESCRIPTION" .PP 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\&. .PP This routine also pre\-fetches the LAN MAC address of a Fibre Channel MPT adapter\&. .PP Returns 0 for success, non\-zero for failure\&. .SH "TODO" .PP Add support for polled controllers .SH "COPYRIGHT" .br