intr(D2I) intr(D2I)
NAME
intr - handle Host Bus Adapter interrupts
SYNOPSIS
void prefixintr(unsigned int vect);
Arguments
vect The number used by the operating system to associate a
driver's interrupt handler with an interrupting device,
normally the interrupt vector number.
DESCRIPTION
This entry point is for Host Bus Adapter (HBA) drivers.
intr(D2I) is called whenever an interrupt occurs on one of the
indicated vectors for the HBA. The routine's argument is the
vector at which the interrupt occurred.
Return Values
None.
USAGE
The intr routine is responsible for acknowledging and
processing the device interrupt. The sdi_callback(D3I)
routine must be called to pass the interrupt completion
information up to the target driver.
Since interrupts can be shared, all HBA driver interrupt
routines must determine, from internal status, whether or not
an interrupt is pending for a device it controls whose IRQ
(interrupt) matches vect. After processing the interrupt, the
routine should check the controller to verify that the
requested operation has completed successfully. If neither
case is true, the routine should return without displaying a
message, and should not modify the system state affecting the
interrupt being processed.
Level
Interrupt only.
REFERENCES
intr(D2), sdi_callback(D3I)
NOTICES
Applicability
sdi: 1, 2
Copyright 1994 Novell, Inc. Page 1