[PATCH] mv643xx_eth: fix PPC DMA breakage

Lennert Buytenhek buytenh at wantstofly.org
Sat May 16 09:53:30 EST 2009


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>

Thanks for testing!



More information about the Linuxppc-dev mailing list