WaitForDoorbellInt9
Wait for ioc to set its doorbell interrupt bit
Usage
int WaitForDoorbellInt(MPT_ADAPTER * ioc, int howlong, int sleepFlag);
Arguments
ioc
Pointer to MPT_ADAPTER structure
howlong
How long to wait (in seconds)
sleepFlag
Specifies whether the process can sleep
Overview
This routine waits (up to ~2 seconds max) for IOC doorbell interrupt (MPI_HIS_DOORBELL_INTERRUPT) to be set in the IntStatus register.
Returns a negative value on failure, else wait loop count.
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.