The AtaPortDeviceBusy routine informs the port driver that the indicated device is busy.
void AtaPortDeviceBusy( PVOID ChannelExtension, UCHAR TargetId, UCHAR Lun, ULONG BusyTimeout );
A pointer to the channel extension.
Specifies the target identifier of the device.
Specifies the logical unit number (LUN) of the device.
Specifies the time, in seconds, for which the device is presumed to be busy.
When the port driver receives this call, it pauses the request queue for the indicated device for the time that is indicated by BusyTimeout. The caller can pause the channel request queue instead of the request queue for an individual device by assigning the wildcard value of IDE_UNTAGGED to parameters TargetId and Lun.
The port driver automatically resumes paused queues after the time-out interval expires.
The miniport driver must not call AtaPortDeviceBusy from its IdeHwInterrupt routine.
|Header||irb.h (include Ata.h, Irb.h)|