Scroll to navigation

MPT_INTERRUPT(9) Message-based devices MPT_INTERRUPT(9)

NAME

mpt_interrupt - MPT adapter (IOC) specific interrupt handler.

SYNOPSIS

irqreturn_t mpt_interrupt(int irq, void * bus_id);

ARGUMENTS

irq

irq number (not used)

bus_id

bus identifier cookie == pointer to MPT_ADAPTER structure

DESCRIPTION

This routine is registered via the request_irq 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.

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.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.