From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.wantstofly.org (xi.wantstofly.org [80.101.37.227]) by ozlabs.org (Postfix) with ESMTP id 3DED0DE127 for ; Sat, 16 May 2009 10:21:01 +1000 (EST) Date: Sat, 16 May 2009 01:53:30 +0200 From: Lennert Buytenhek To: Gabriel Paubert Subject: Re: [PATCH] mv643xx_eth: fix PPC DMA breakage Message-ID: <20090515235330.GC1727@mail.wantstofly.org> References: <20090515183924.GA29279@iram.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20090515183924.GA29279@iram.es> Cc: tbm@cyrius.com, LinuxPPC , pacman@kosh.dhis.org, netdev@vger.kernel.org, David Miller List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, May 15, 2009 at 08:39:24PM +0200, Gabriel Paubert wrote: > After 2.6.29, PPC no more admits passing NULL to the dev parameter of > the DMA API. The result is a BUG followed by solid lock-up when the > mv643xx_eth driver brings an interface up. The following patch makes > the driver work on my Pegasos again; it is mostly a search and replace > of NULL by mp->dev->dev.parent in dma allocation/freeing/mapping/unmapping > functions. > > Signed-off-by: Gabriel Paubert Acked-by: Lennert Buytenhek Thanks for testing!