'\" t .\" Title: mpt_interrupt .\" 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_INTERRUPT" "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_interrupt \- MPT adapter (IOC) specific interrupt handler\&. .SH "SYNOPSIS" .HP \w'irqreturn_t\ mpt_interrupt('u .BI "irqreturn_t mpt_interrupt(int\ " "irq" ", void\ *\ " "bus_id" ");" .SH "ARGUMENTS" .PP \fIirq\fR .RS 4 irq number (not used) .RE .PP \fIbus_id\fR .RS 4 bus identifier cookie == pointer to MPT_ADAPTER structure .RE .SH "DESCRIPTION" .PP This routine is registered via the \fBrequest_irq\fR kernel API call, and handles all interrupts generated from a specific MPT adapter (also referred to as a IO Controller or IOC)\&. This routine must clear the interrupt from the adapter and does so by reading the reply FIFO\&. Multiple replies may be processed per single call to this routine\&. .PP This routine handles register\-level access of the adapter but dispatches (calls) a protocol\-specific callback routine to handle the protocol\-specific details of the MPT request completion\&. .SH "COPYRIGHT" .br