Re: MPC512x DMA to PCI dev

2009-03-12 Thread Matteo Fortini
Ok, I answer to myself, to whomever it may interest: the DMA controller to use is the PCI_DMA controller, and not the generic DMA controller. Right now, I'm trying to figure out if there's a generic PCI API I can extend to talk to the PCI DMA controller. Matteo Fortini ha scritto: Hi all,

MPC512x DMA to PCI dev

2009-03-11 Thread Matteo Fortini
Hi all, I'm trying to send some data through DMA from a memory buffer to a PCI video card VRAM. While I got that I need to alloc the src buffer through dma_alloc_coherent, I don't understand which address I should give as the dst address. I tried both the mapped hw address and an address re