linux-mips
[Top] [All Lists]

Re[4]: Socket buffer allocation outside DMA-able memory

To: ashley jones <ashley_jones_2000@yahoo.com>
Subject: Re[4]: Socket buffer allocation outside DMA-able memory
From: art <art@sigrand.ru>
Date: Wed, 7 Jun 2006 14:37:30 +0700
Cc: linux-mips@linux-mips.org
In-reply-to: <20060607051756.66058.qmail@web38409.mail.mud.yahoo.com>
Organization: Sigrand LLC
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060607051756.66058.qmail@web38409.mail.mud.yahoo.com>
Reply-to: art <art@sigrand.ru>
Sender: linux-mips-bounce@linux-mips.org
Hello ashley,

Wednesday, June 07, 2006, 12:17:56 PM, you wrote:



aj>> I guess your 25 bit dma address field will be word alligned, so ur dma 
engine will be able to index up to 64 MB( 25+2 = 27 bits).
aj> Address not aligned - if I don't do anything driver work incorrect!
   
aj>   *** what do you mean by Address not aligned ??
   
aj>   *** What address you r passing to dma ? u should pass (skb->data >> 2) 
(if word alligned address is required for dma engine.)

In adm5120 switch driver to dma passed skb->data

-- 
Best regards,
 art                            mailto:art@sigrand.ru



<Prev in Thread] Current Thread [Next in Thread>