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: What kind of Linux address must I use to set the SAR reg. of the DMA ctrl ?
Date: Wed, 7 May 2003 02:52:06 -0400	[thread overview]
Message-ID: <3EC0E6EE@mailandnews.com> (raw)


Hello,
I am writing the code to start a DMA transfer with the built-in DMA controller
of the MPC8245. The purpose is to do Memory to PCI transfers. The PCI part
seems to be OK ( memory of the device is written) the the source address seems
to be wrong since I read 0XFFFFFFFF as data in the device. I tried with bus
and physical address (using virt_to_bus & virt_to_phys functions) but this
doesn't give good results.
So I ask myself which kind of linux address must I use to configure the SAR
register of the Dual channel DMA controller ?

If It works I will post a patch of my work.

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-05-07  6:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07  6:52 Callebaut Benoit [this message]
2003-05-07  7:50 ` What kind of Linux address must I use to set the SAR reg. of the DMA ctrl ? Matt Porter
  -- strict thread matches above, loose matches on Subject: below --
2003-05-07 13:14 Callebaut Benoit

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=3EC0E6EE@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).