b44: Use kernel DMA addresses for the kernel DMA API
commitdfc731fb384e760651b97a34b7d443ac213aaa82
authorMichael Buesch <mb@bu3sch.de>
Mon, 6 Apr 2009 09:52:27 +0000 (6 09:52 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 May 2009 22:45:00 +0000 (8 15:45 -0700)
tree093d7af3952d6e2f583e4ae2fd5247ca1e934b7e
parent87b59eac0914ab407df57fe23d880dccd9a9436d
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