From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sunset.davemloft.net (74-93-104-97-Washington.hfc.comcastbusiness.net [74.93.104.97]) by ozlabs.org (Postfix) with ESMTP id D24AEDE057 for ; Mon, 18 May 2009 14:17:04 +1000 (EST) Date: Sun, 17 May 2009 21:16:58 -0700 (PDT) Message-Id: <20090517.211658.245399748.davem@davemloft.net> To: buytenh@wantstofly.org Subject: Re: [PATCH] mv643xx_eth: fix PPC DMA breakage From: David Miller In-Reply-To: <20090515235330.GC1727@mail.wantstofly.org> References: <20090515183924.GA29279@iram.es> <20090515235330.GC1727@mail.wantstofly.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Cc: netdev@vger.kernel.org, linuxppc-dev@ozlabs.org, pacman@kosh.dhis.org, tbm@cyrius.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Lennert Buytenhek Date: Sat, 16 May 2009 01:53:30 +0200 > 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 Applied, thanks everyone.