From: Maxim S. Shatskih on
>so whatever i understood is, SCSIport will send only single entry to
>miniport and each entry by entry i have to transfer using DMA, unlike
>the ATA driver it can't send all entrys at a time.?

No.

SCSIPORT creates the SGL (associated with the IRP/SRB) and keeps it internally.

If you need to enumerate the SGL - call ScsiPortGetPhysicalAddress in a loop, it will give you entry after entry.

Same logic as with explicit SGL, since you will also need to enumerate it to translate to your hardware's format.

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

From: hitesh on
On Mar 2, 12:02 pm, "Maxim S. Shatskih"
<ma...(a)storagecraft.com.no.spam> wrote:
> >so whatever i understood is, SCSIport will send only single entry to
> >miniport and each entry by entry i have to transfer using DMA, unlike
> >the ATA driver it can't send all entrys at a time.?
>
> No.
>
> SCSIPORT creates the SGL (associated with the IRP/SRB) and keeps it internally.
>
> If you need to enumerate the SGL - call ScsiPortGetPhysicalAddress in a loop, it will give you entry after entry.
>
> Same logic as with explicit SGL, since you will also need to enumerate it to translate to your hardware's format.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> ma...(a)storagecraft.comhttp://www.storagecraft.com

oh now it's clear,
thanks maxim.