linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* IDMA on MPC855/860 ?
@ 2001-09-21 10:01 Steven Scholz
  2001-09-21 20:39 ` Dan Malek
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Scholz @ 2001-09-21 10:01 UTC (permalink / raw)
  To: LinuxPPC


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IDMA on MPC855/860 ?
  2001-09-21 10:01 IDMA on MPC855/860 ? Steven Scholz
@ 2001-09-21 20:39 ` Dan Malek
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Malek @ 2001-09-21 20:39 UTC (permalink / raw)
  To: Steven Scholz; +Cc: LinuxPPC


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-21 20:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-21 10:01 IDMA on MPC855/860 ? Steven Scholz
2001-09-21 20:39 ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).