Return-Path: Received: from sunset.davemloft.net (unknown [74.93.104.97]) by ozlabs.org (Postfix) with ESMTP id E00C8DDE9F for ; Thu, 2 Apr 2009 19:26:29 +1100 (EST) Date: Thu, 02 Apr 2009 01:26:18 -0700 (PDT) Message-Id: <20090402.012618.151021224.davem@davemloft.net> To: avorontsov@ru.mvista.com Subject: Re: [PATCH] ucc_geth: Pass proper device to DMA routines, otherwise oops happens From: David Miller In-Reply-To: <20090331185837.GA22545@oksana.dev.rtsoft.ru> References: <20090331185837.GA22545@oksana.dev.rtsoft.ru> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Cc: netdev@vger.kernel.org, leoli@freescale.com, afleming@freescale.com, Joakim.Tjernlund@transmode.se, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Anton Vorontsov Date: Tue, 31 Mar 2009 22:58:37 +0400 > The driver should pass a device that actually specifies internal DMA > ops, but currently it passes netdev's device, which is wrong and that > causes following oops: ... > Fix this by passing of_device's device that specifies DMA ops in its > archdata. > > Signed-off-by: Anton Vorontsov Applied, thanks.