IDMA on MPC855/860 ?

2 messages, 2 authors, 2001-09-21 · open the first message on its own page

IDMA on MPC855/860 ?

From: Steven Scholz <hidden>
Date: 2001-09-21 10:01:31

Hi there,

I am about to write a device driver using Peripheral/Memory DMA.

Can anyone point me to some driver code already in the recent linuxppc
that are using the MPC's IDMA, please?

Cheers,

Steven

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: IDMA on MPC855/860 ?

From: Dan Malek <hidden>
Date: 2001-09-21 20:39:02

Steven Scholz wrote:
Can anyone point me to some driver code already in the recent linuxppc
that are using the MPC's IDMA, please?
All of the MPC8xx unique drivers use DMA....it's the only way
to transfer data through the CPM.  Just take one of the drivers,
like uart.c or enet.c, and remove everything except the buffer
descriptor management.  Then just add the few lines of code to
initialize the IDMA channel and you are done.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help