Is it possible to call IoGetDmaAdapter twice?

The HW has one DMA controller with two DMA channels for both READ and WRITE.
It does not have the SG capability. I try to call IoGetDmaAdapter twice
so both READ and WRITE can have as many map registers as possible, but it
fails. I have succeeded in creating a dummy object to ensure two
simultaneous DMA’s.

Thanks,

Ta


Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail

What is the error code returned on failure?

-----Original Message-----
From: Ta H. [mailto:xxxxx@hotmail.com]
Sent: Tuesday, June 17, 2003 2:24 PM
To: NT Developers Interest List
Subject: [ntdev] Is it possible to call IoGetDmaAdapter twice?

The HW has one DMA controller with two DMA channels for both READ and WRITE.

It does not have the SG capability. I try to call IoGetDmaAdapter twice
so both READ and WRITE can have as many map registers as possible, but it
fails. I have succeeded in creating a dummy object to ensure two
simultaneous DMA’s.

Thanks,

Ta


Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

Oh, and you should be able to use the scattergather list interface to run
both of your dma channels concurrently with a single dma adapter.

-----Original Message-----
From: Ta H. [mailto:xxxxx@hotmail.com]
Sent: Tuesday, June 17, 2003 2:24 PM
To: NT Developers Interest List
Subject: [ntdev] Is it possible to call IoGetDmaAdapter twice?

The HW has one DMA controller with two DMA channels for both READ and WRITE.

It does not have the SG capability. I try to call IoGetDmaAdapter twice
so both READ and WRITE can have as many map registers as possible, but it
fails. I have succeeded in creating a dummy object to ensure two
simultaneous DMA’s.

Thanks,

Ta


Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

system panics!

I have to support Win98 also…

Well I am truly sorry that you have to support winDOS98, however without
producing an error code, a stack frame, etc. I rather doubt anyone can help
you analyze your problem.

-----Original Message-----
From: xxxxx@hotmail.com [mailto:xxxxx@hotmail.com]
Sent: Tuesday, June 17, 2003 3:11 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Is it possible to call IoGetDmaAdapter twice?

I have to support Win98 also…


You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

Yes, I know. I’m not in the office today, so I will do it tomorrow.
However, you seem to imply that it’d be ok to call IoGetDmaAdapter() more
than once for the same piece of the HW; otherwise, you would have said “No,
it is not doable” already… Right?!

Thanks

Ta

From: “Roddy, Mark”
>Reply-To: “NT Developers Interest List”
>To: “NT Developers Interest List”
>Subject: [ntdev] RE: Is it possible to call IoGetDmaAdapter twice?
>Date: Tue, 17 Jun 2003 16:45:06 -0400
>
>Well I am truly sorry that you have to support winDOS98, however without
>producing an error code, a stack frame, etc. I rather doubt anyone can help
>you analyze your problem.
>
>-----Original Message-----
>From: xxxxx@hotmail.com [mailto:xxxxx@hotmail.com]
>Sent: Tuesday, June 17, 2003 3:11 PM
>To: NT Developers Interest List
>Subject: [ntdev] RE: Is it possible to call IoGetDmaAdapter twice?
>
>
>I have to support Win98 also…
>
>—
>You are currently subscribed to ntdev as: xxxxx@stratus.com To
>unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail

No, what I am saying is that without the error code and other information I
cannot tell you what is wrong.

-----Original Message-----
From: Ta H. [mailto:xxxxx@hotmail.com]
Sent: Tuesday, June 17, 2003 4:57 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Is it possible to call IoGetDmaAdapter twice?

Yes, I know. I’m not in the office today, so I will do it tomorrow.
However, you seem to imply that it’d be ok to call IoGetDmaAdapter() more
than once for the same piece of the HW; otherwise, you would have said “No,
it is not doable” already… Right?!

Thanks

Ta

From: “Roddy, Mark”
>Reply-To: “NT Developers Interest List”
>To: “NT Developers Interest List”
>Subject: [ntdev] RE: Is it possible to call IoGetDmaAdapter twice?
>Date: Tue, 17 Jun 2003 16:45:06 -0400
>
>Well I am truly sorry that you have to support winDOS98, however
>without producing an error code, a stack frame, etc. I rather doubt
>anyone can help you analyze your problem.
>
>-----Original Message-----
>From: xxxxx@hotmail.com [mailto:xxxxx@hotmail.com]
>Sent: Tuesday, June 17, 2003 3:11 PM
>To: NT Developers Interest List
>Subject: [ntdev] RE: Is it possible to call IoGetDmaAdapter twice?
>
>
>I have to support Win98 also…
>
>—
>You are currently subscribed to ntdev as: xxxxx@stratus.com To
>unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com