diff options
author | Gabriel Paubert <paubert@iram.es> | 2009-05-18 00:16:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-18 00:16:47 -0400 |
commit | eb0519b5a1cf07d5a1b919cffa0304cdaaa97a7e (patch) | |
tree | 3498722b099e4a631f89d0668158581cc701d589 /drivers/net/bmac.h | |
parent | 4cd6fe1c6483cde93e2ec91f58b7af9c9eea51ad (diff) |
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 <paubert@iram.es>
Acked-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bmac.h')
0 files changed, 0 insertions, 0 deletions