HwScsiDisableInterruptsCallback

BOOLEAN
    HwScsiDisableInterruptsCallback(

        IN PVOID  DeviceExtension
        );

HwScsiDisableInterruptsCallback is called after a miniport’s HwScsiEnableInterruptsCallback routine calls ScsiPortNotification with the NotificationType CallDisableInterrupts. Miniport drivers of HBAs that require interrupt processing that takes more than 50 microseconds in the ISR should have a pair of HwScsi..InterruptsCallback routines.

Parameters

DeviceExtension
Points to the miniport driver’s per-HBA storage area.

Return Value

HwScsiDisableInterruptsCallback returns TRUE, indicating it re-enabled interrupts on the HBA.

Comments

All system interrupts with a higher hardware priority than the HBA’s are enabled when the HwScsiDisableInterruptsCallback routine is called. Consequently, a HwScsiDisableInterruptsCallback routine should be optimized to run as quickly as possible.

HwScsiDisableInterruptsCallback is responsible for re-enabling interrupts on the HBA and then returning control.

See Also

HwScsiEnableInterruptsCallback, HwScsiInterrupt, ScsiPortNotification