[PATCH] export m8xx_cpm_hostalloc

Andreas Oberritter obi at saftware.de
Sat Jul 24 23:04:06 EST 2004


Am Fr, den 23.07.2004 schrieb Matt Porter um 17:38:
> On Fri, Jul 23, 2004 at 10:41:36AM -0400, Dan Malek wrote:
> >
> > On Jul 23, 2004, at 10:02 AM, Tom Rini wrote:
> >
> > > Must the driver use hostalloc?  I didn't think that i2c was called so
> > > early that kmalloc/bootmem_alloc() (or so) couldn't be used.
> >
> >
> > Should use ...consistent_alloc()
>
> That doesn't exist in 2.6. Use dma_alloc_coherent().

Thanks, that works, but requires the attached patch. Please apply.

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dma.diff
Type: text/x-patch
Size: 946 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20040724/3c83f11d/attachment.bin 


More information about the Linuxppc-embedded mailing list