[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-arm-kernel
Subject: RE: 2.6.6: consistent_alloc
From: <raghavendra.hanumanthaiah () wipro ! com>
Date: 2004-05-21 12:39:39
Message-ID: 0F0DBEBBBDFC0D41A3E5CDDF7EAE6E18DEFF3A () blr-itp-msg ! wipro ! com
[Download RAW message or body]
Hi Russel,
I have a doubt with this consistent_alloc().
As you said in this thread.
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-March/020623.html
"Actually, I will remove consistent_alloc() entirely because it shouldn't
be used anymore. Instead, we have dma_alloc_coherent(), and for those
wanting write-combining properties, there will be dma_alloc_writecombine()."
With this regard: my dev pointer don't have dma_mask variable, since I am using \
net_device structure for my Fast Irda driver, how do I allocate consistent memory?
I tried using consistent_alloc(), but when I copy data into that memory in \
hard_xmit(), its giving Oops:0 error. What could be the problem?
I am using 2.6 with the rmk2 patch.
Thanks for your help
Regards
Raghavendra K.H
> -----Original Message-----
> From: linux-arm-kernel-bounces@lists.arm.linux.org.uk
> [mailto:linux-arm-kernel-bounces@lists.arm.linux.org.uk] On
> Behalf Of Russell King - ARM Linux
> Sent: Friday, May 21, 2004 12:37 AM
> To: Russ Dill
> Cc: Tony Lindgren; linux-arm-kernel@lists.arm.linux.org.uk
> Subject: Re: 2.6.6: consistent_alloc
>
>
> On Fri, May 21, 2004 at 12:27:10AM -0700, Russ Dill wrote:
> > Am I correct to assume that the below patch does this for pci video
> > cards?
>
> This patch seems to change the behaviour for SH...
>
> -------------------------------------------------------------------
> Subscription options:
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kerne
l
FAQ: http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ: http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic