From: hitesh on
Hi All,
is there any readymade function which can provide the scatter gather
list in SCSI port driver.
like what we have in ataport driver AtaPortGetScatterGatherList(). if
it is there then let me know,
if it is not then which are the minimum functions we can use to build?
thanks
Hitesh.
From: Scott Noone on
ScsiPortGetPhysicalAddress is probably what you're looking for.

-scott

--
Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com


"hitesh" <hitesh.ughreja(a)gmail.com> wrote in message
news:a04e3d3c-9b55-4246-9c7c-16408ecbeb75(a)l24g2000prh.googlegroups.com...
> Hi All,
> is there any readymade function which can provide the scatter gather
> list in SCSI port driver.
> like what we have in ataport driver AtaPortGetScatterGatherList(). if
> it is there then let me know,
> if it is not then which are the minimum functions we can use to build?
> thanks
> Hitesh.

From: hitesh on
On Mar 1, 10:02 pm, "Scott Noone" <sno...(a)osr.com> wrote:
> ScsiPortGetPhysicalAddress is probably what you're looking for.
>
> -scott
>
> --
> Scott Noone
> Consulting Associate
> OSR Open Systems Resources, Inc.http://www.osronline.com
>
> "hitesh" <hitesh.ughr...(a)gmail.com> wrote in message
>
> news:a04e3d3c-9b55-4246-9c7c-16408ecbeb75(a)l24g2000prh.googlegroups.com...
>
>
>
> > Hi All,
> > is there any readymade function which can provide the scatter gather
> > list in SCSI port driver.
> > like what we have in ataport driver AtaPortGetScatterGatherList(). if
> > it is there then let me know,
> > if it is not then which are the minimum functions we can use to build?
> > thanks
> > Hitesh.- Hide quoted text -
>
> - Show quoted text -

hi scott,
thanks for your reply, but that is not exacly i am looking for.
as i am not not clear about scsi drivers' scatter gather list also.
if you check in ata driver, it has function whihc can prepare the
scatter gather list and gives us complete list.
but here it gives only physical address, does it mean my physical
memory is contiguous? as per my understanding it is not. it is
contiguous only in virtual address but not in physical address.
please help me somewhat in this,
thanks
Hitesh
From: Maxim S. Shatskih on
>but here it gives only physical address

It iterates the SGL entry-by-entry. The SGL is created and is kept internally in SCSIPORT.

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

From: hitesh on
On Mar 2, 10:08 am, "Maxim S. Shatskih"
<ma...(a)storagecraft.com.no.spam> wrote:
> >but here it gives only physical address
>
> It iterates the SGL entry-by-entry. The SGL is created and is kept internally in SCSIPORT.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> ma...(a)storagecraft.comhttp://www.storagecraft.com

thanks maxim,
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.?
thanks
Hitesh