The function csx_RequestIRQ() requests an IRQ resource and registers the client's IRQ handler with Card Services.
If a client requires an IRQ,csx_RequestIRQ() must be called to request an IRQ resource as well as to register the client's IRQ handler with Card Services. The client will not receive callbacks
at the IRQ callback handler until csx_RequestConfiguration(9F) or csx_ModifyConfiguration(9F) has successfully
returned when either of these functions are called with the CONF_ENABLE_IRQ_STEERING bit set.
The function csx_ReleaseIRQ() releases a previously
requested IRQ resource.
The Card Services IRQ resource list
is adjusted by csx_ReleaseIRQ(). Depending on the adapter
hardware, the host bus IRQ connection might
also be disabled. Client IRQ handlers always
run above lock level and so should take care to perform only Solaris operations
that are appropriate for an above-lock-level IRQ handler.
csx_RequestIRQ() fails if it has already been called
without a corresponding csx_ReleaseIRQ().
|