linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Linux & DMA transfer (applied to 8245)
@ 2003-04-24 14:58 Callebaut Benoit
  0 siblings, 0 replies; only message in thread
From: Callebaut Benoit @ 2003-04-24 14:58 UTC (permalink / raw)
  To: linuxppc-embedded


Hi ,
I am implementing DMA transfers initiated by the processor for the MPC8245.
Since the standard pci_alloc_consistent take only a pci_dev structure but no
addresses, I added a configuration function to set the target address (PCI)
and the other parameters.
I can see that the DMA transfer is started, and finished (an interrupt is
generated) but I don't see the data copied on the target device ( DSP with a 4
MB memory window on PCI bus.)
My question is : What type of addreess must I give to configure the DMA
controller.
Are there also caching issues that may prevent good read/write operation
s? I suppose that the flushing og the cache done in pci_alloc_consistent is
enough.
Thanks
------------------------------------------------------------------------------
----
Benoit Callebaut
Software Development Engineer
Barco | Control Rooms
Noordlaan 5, 8520 Kuurne, Belgium

Tel 	+32(0)56 36 84 28
Fax 	+32(0)56 36 86 05

mailto:benoit.callebaut@barco.com
http://www.barcocontrolrooms.com


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-24 14:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-24 14:58 Linux & DMA transfer (applied to 8245) Callebaut Benoit

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).