Compartir a través de


HwScsiDmaStarted routine

If the HBA is a subordinate DMA device, the miniport driver's HwScsiDmaStarted routine is called after the operating system-specific port driver has set up the system DMA controller for a DMA transfer.

Note  The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.

 

Syntax

PVOID HwScsiDmaStarted(
  _In_ PVOID HwDeviceExtension
);

Parameters

  • HwDeviceExtension [in]
    Points to the miniport driver's per-HBA storage area.

Return value

None.

Remarks

Only miniport drivers of subordinate DMA adapters must have a HwScsiDmaStarted routine.

HwScsiDmaStarted is responsible for programming the HBA for the transfer operation.

Miniport drivers of HBAs that are busmasters or use programmed I/O do not supply this routine.

The name HwScsiDmaStarted is just a placeholder. The actual prototype of this routine is defined in srb.h as follows:

typedef
VOID
(*PHW_DMA_STARTED) (
  IN PVOID  DeviceExtension
  );

For more information about the HwScsiDmaStarted routine, see SCSI Miniport Driver's HwScsiDmaStarted Routine.

Requirements

Target platform

Desktop

Header

Miniport.h (include Scsi.h)

See also

ScsiPortFlushDma

ScsiPortIoMapTransfer

 

 

Send comments about this topic to Microsoft