Thread (4 messages) flat view 4 messages, 2 authors, 2008-06-24

Re: a question of mpc8313, maybe simple

From: Scott Wood <hidden>
Date: 2008-06-23 17:10:24

On Mon, Jun 23, 2008 at 05:48:07AM -0700, jumpingProgrammer wrote:
i am working with a board of mpc8313 using default mpc8313erdb.dts.
But i do not know how can i correctly use DMA to transport data from memory
to a PCI device.
i tryed this
{
     .....
     request_irq(IRQ,....);
     request_dma(.....);
     ....
}

In request_irq() , i do not know what is the parameter IRQ.
Use pci_dev->irq.
And , i did not find any words about DMA in mpc8313erdb.dts .
PCI devices can do bus-mastering DMA themselves; request_dma() is for ISA
devices.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help