From: Naru Sundar <nsundar@fulcrummicro.com>
To: Liu Dave-r63238 <DaveLiu@freescale.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: ppc85xx DMA
Date: Tue, 6 Jun 2006 11:55:48 -0700 [thread overview]
Message-ID: <20060606185548.GB27078@fulcrummicro.com> (raw)
In-Reply-To: <9FCDBA58F226D911B202000BDBAD4673026FD940@zch01exm40.ap.freescale.net>
On Tue, Jun 06, 2006 at 09:39:29AM +0800, Liu Dave-r63238 wrote:
> What is the DMA transfer mode? Is direct or chaining mode?
Direct mode. I fixed an error with my bit ordering for the configuration
registers, and now the transfer seems to complete, but I don't see any
actual data showing up in the destination register that I am writing to.
> Did you ioremap the DMA register space?
Yes, I can write the destination address manually. So I am thinking my addresses
are wrong.
For the source and dest address I used:
dma_map_single(NULL, ptr, len, DMA_TO_DEVICE)
(which effectively does a virt_to_bus on ppc and so should just return to me
the bus address used by the dma).
-naru
next prev parent reply other threads:[~2006-06-06 18:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-06 1:39 ppc85xx DMA Liu Dave-r63238
2006-06-06 18:55 ` Naru Sundar [this message]
2006-06-06 21:16 ` Naru Sundar
2006-06-06 21:38 ` Naru Sundar
-- strict thread matches above, loose matches on Subject: below --
2006-06-06 0:55 Naru Sundar
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=20060606185548.GB27078@fulcrummicro.com \
--to=nsundar@fulcrummicro.com \
--cc=DaveLiu@freescale.com \
--cc=linuxppc-embedded@ozlabs.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