From: Matteo Fortini <m.fortini@selcomgroup.com>
To: linux-ppc list <linuxppc-dev@ozlabs.org>
Subject: MPC512x: fsldma for UART FIFO
Date: Wed, 03 Dec 2008 16:07:20 +0100 [thread overview]
Message-ID: <4936A0A8.6000108@selcomgroup.com> (raw)
I'm trying to use DMA to take data from the rx FIFO of a PSC and store
it in a buffer.
I had to change the off_to_size function, because it assumed that if
offset would be 0, then size would be 32bits, while I need to read 8
bits at a time, otherwise the FIFO wouldn't work correctly.
Has anyone worked with MPC512x DMA? Unfortunately, the other DMA
drivers, which are IDE and PCM sound, both use 32bits accesses.
Changing fsldma to use 0 size works, but DMA seems to give back wrong data.
Thanks,
M
reply other threads:[~2008-12-03 15:27 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=4936A0A8.6000108@selcomgroup.com \
--to=m.fortini@selcomgroup.com \
--cc=linuxppc-dev@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;
as well as URLs for NNTP newsgroup(s).