b44: Use kernel DMA addresses for the kernel DMA API
commita046c93a8bc34da2d41b777a785436e9dfa92180
authorMichael Buesch <mb@bu3sch.de>
Mon, 6 Apr 2009 09:52:27 +0000 (6 09:52 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:24:53 +0000 (2 10:24 -0700)
tree9b255f275866e1930af6d0441bb20c349046ab32
parente06377f6790bab20549524066b493f36f88e806e
b44: Use kernel DMA addresses for the kernel DMA API

commit 37efa239901493694a48f1d6f59f8de17c2c4509 upstream.

We must not use the device DMA addresses for the kernel DMA API, because
device DMA addresses have an additional offset added for the SSB translation.

Use the original dma_addr_t for the sync operation.

Cc: stable@kernel.org
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/b44.c