VOID
ScsiPortFlushDma(
IN PVOID DeviceExtension
);
ScsiPortFlushDma flushes any data cached in the system DMA controller at the end of a transfer or terminates a system DMA transfer.
Parameters
DeviceExtension
Points to the miniport driver’s per-HBA storage area.
Comments
Only miniport drivers of slave HBAs that use a system DMA controller call this routine.
ScsiPortFlushDma must be called after a slave DMA transfer operation is completed but before the SRB is completed or the next call is made to ScsiPortIoMapTransfer for the current buffer.
ScsiPortFlushDma also must be called after ScsiPortIoMapTransfer to cancel a DMA operation, even if no transfer has occurred and the driver’s HwScsiDmaStarted routine has not yet been called.
See Also