Re: [Patch] DMA mapping API for Alpha

Ivan Kokshaysky
2003-04-29T19:56:21Z

On Tue, Apr 29, 2003 at 01:41:00PM +0100, Christoph Hellwig wrote:
> If you have a struct device for them you need to set the dma_mask
> and it should better have some parent (real or fake, at least the
> data structures must be setup). The old NULL argument will stay for
> while. If at some point all drivers doing that are converted (or
> go away :)) it could be dropped.

Ok, for clean dma_* implementation on alpha (and others, I guess) we need
to move root level IO controller data from struct pci_dev (pdev->sysdata)
to struct dev. Actually, the latter already has such field (platform_data)
but right now it's kind of parisc specific. ;-)
I'll look into it after short vacation (4-5 days).

Ivan.