[PATCH] mv643xx_eth: fix PPC DMA breakage
David Miller
davem at davemloft.net
Mon May 18 14:16:58 EST 2009
From: Lennert Buytenhek <buytenh at wantstofly.org>
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 <paubert at iram.es>
>
> Acked-by: Lennert Buytenhek <buytenh at marvell.com>
Applied, thanks everyone.
More information about the Linuxppc-dev
mailing list