linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Callebaut Benoit <callebaut@mailandnews.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Linux & DMA transfer (applied to 8245)
Date: Thu, 24 Apr 2003 10:58:44 -0400	[thread overview]
Message-ID: <3EB17B45@mailandnews.com> (raw)


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/

                 reply	other threads:[~2003-04-24 14:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EB17B45@mailandnews.com \
    --to=callebaut@mailandnews.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).