attach interrupts for a HBA device
void sdi_intr_attach(HBA_IDATA_STRUCT *idata, int cntls,
void (*intr)(), int devflag);
sdi_intr_attach attaches the interrupt intr for each hardware
instance whose idata structure is marked active (for example, the active
field of the idata structure is non-zero).
Pointer to array of idata structures
(one for each controller controlled by
the calling HBA driver)
Number of controllers.
This should represent the size of the idata structure array.
Pointer to interrupt routine to be attached.
The device driver's HBA device flag.
sdi_intr_attach is called by an
HBA driver to attach interrupts
(usually during initialization).
The interrupts can be detached by calling the
Context and synchronization
Driver-defined basic locks and read/write locks
cannot be held across calls to this function.
Driver-defined sleep locks
can be held across calls to this function.
x86/Pentium compatible architectures
2, 3, 4
that use DDI versions prior to version 8.
Differences between versions
SDI version 4 and later drivers
use the standard DDI 8 interfaces
to attach interrupts for each hardware instance.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005