From: Gabriel Paubert Date: Mon, 18 May 2009 04:16:47 +0000 (-0700) Subject: mv643xx_eth: fix PPC DMA breakage X-Git-Tag: v2.6.30-rc7~20^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb0519b5a1cf07d5a1b919cffa0304cdaaa97a7e;p=pandora-kernel.git mv643xx_eth: fix PPC DMA breakage 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed