Re: [PATCH] mv643xx_eth: fix PPC DMA breakage

2009-05-17 Thread David Miller
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 drive

Re: [PATCH] mv643xx_eth: fix PPC DMA breakage

2009-05-15 Thread Lennert Buytenhek
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

[PATCH] mv643xx_eth: fix PPC DMA breakage

2009-05-15 Thread Gabriel Paubert
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