All of lore.kernel.org
 help / color / mirror / Atom feed
* MPC512x: fsldma for UART FIFO
@ 2008-12-03 15:07 Matteo Fortini
  0 siblings, 0 replies; only message in thread
From: Matteo Fortini @ 2008-12-03 15:07 UTC (permalink / raw)
  To: linux-ppc list

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

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

only message in thread, other threads:[~2008-12-03 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03 15:07 MPC512x: fsldma for UART FIFO Matteo Fortini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.