W2k DMA with GetScatterGatherList.

Hi!

I want to use GetScatterGatherList new DMA system, but I can not, How
need?
The driver calls DmaOps->GetScatterGatherList(), passing more parameters
to the AdapterListControl() routine.
In the AdapterListControl() routine have to called the
DmaOps->AllocateAdapterChannel and after the IoMapTransfer() ?
Or not, it is automatic called?
Do You give example source for me?

Best regards
Tiszai Istvan from Hungary.

Hi,

I’m a newbie on this subject.
(So correct me if I’m wrong!!)
But so far I’ve learned this:

DmaOps->GetScatterGatherList does the
following for you:

  • Call AllocateAdapterChannel.
  • Do multiple IoMapTranfers.
    (Dependent on the number of map regs you’ve
    got by calling IoGetDmaAdapter)

In the adapterlistcontrol callback you have to program
your device for the dma transfer.
(=Do hardware specific stuff)
You get the scattergatherlist to use with the
dma transfer.

Please see the replies on my questions earlier
in this forum. (Topic: Contineous Dma Concept)

Kind regards,

Roy

Hi Roy!

I found the (Topic: Contineous Dma Concept).
It`s needed!
Thank.

Kind regards,

Steve