]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mv643xx_eth: fix receive buffer DMA unmapping
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 24 Aug 2008 05:19:48 +0000 (07:19 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Fri, 5 Sep 2008 04:33:57 +0000 (06:33 +0200)
commit3a499481c167977368a7e7cae8ea1ff2a99518a0
treea4aa88c685c32819b5c5e15c110e1a77934fc0d7
parentb98738412372d6bcba1548b6b439f49023e25a34
mv643xx_eth: fix receive buffer DMA unmapping

When tearing down a DMA mapping for a receive buffer, we should pass
dma_unmap_single() the exact same address that dma_map_single() gave
us when we originally set up the mapping.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
drivers/net/mv643xx_eth.c