Re: [PATCH] export m8xx_cpm_hostalloc

3 messages, 3 authors, 2004-07-24 · open the first message on its own page

Re: [PATCH] export m8xx_cpm_hostalloc

From: Matt Porter <mporter@kernel.crashing.org>
Date: 2004-07-23 15:38:56

On Fri, Jul 23, 2004 at 10:41:36AM -0400, Dan Malek wrote:
On Jul 23, 2004, at 10:02 AM, Tom Rini wrote:
quoted
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/

Re: [PATCH] export m8xx_cpm_hostalloc

From: Dan Malek <hidden>
Date: 2004-07-23 16:27:10

On Jul 23, 2004, at 11:38 AM, Matt Porter wrote:
That doesn't exist in 2.6. Use dma_alloc_coherent().
Right....that one, too. :-)


	-- Dan


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

Re: [PATCH] export m8xx_cpm_hostalloc

From: Andreas Oberritter <hidden>
Date: 2004-07-24 13:04:06

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:
quoted
On Jul 23, 2004, at 10:02 AM, Tom Rini wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help