* 440GP DMA and dma.h
@ 2003-12-09 19:52 Jeff Andre
0 siblings, 0 replies; only message in thread
From: Jeff Andre @ 2003-12-09 19:52 UTC (permalink / raw)
To: linuxppc-embedded
I'm trying to get DMA working on a custom board with a 440GP. I was
having problem getting a DMA transfer started and traced the problem
to 'enable_dma' not being called. After a bit amount of research I
found that my device driver didn't have an undefined external reference
to 'enable_dma'.
I traced the problem to the include of <linux/pci.h> that eventually
included <asm/scatterlist.h> that included <asm/dma.h>. This header
has many of the DMA functions defined as inline and static, 'enable_dma'
being one of them. If I comment out the include of <asm/dma.h> the
compiler finds the include in my driver of <asm/ppc4xx_dma.h> and DMA
transfers work (sort-of).
Does anyone have a clue as to what I'm doing wrong? I can't believe
I'm the first to discover this.
Thanks,
Jeff Andre
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-09 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09 19:52 440GP DMA and dma.h Jeff Andre
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).