[PATCH] export m8xx_cpm_hostalloc

Matt Porter mporter at kernel.crashing.org
Sat Jul 24 01:38:56 EST 2004


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().

-Matt

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list