]> git.baikalelectronics.ru Git - kernel.git/commit
b44: Use kernel DMA addresses for the kernel DMA API
authorMichael Buesch <mb@bu3sch.de>
Mon, 6 Apr 2009 09:52:27 +0000 (09:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2009 00:51:29 +0000 (17:51 -0700)
commit3ed6552feef2c91f499fe3668b42a34b04894ca3
tree92e673b2459eef6b35218e306248a4b6e949715c
parentab9a8202e20730c29b8fe009e3eded42dfafa4a5
b44: Use kernel DMA addresses for the kernel DMA API

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>
drivers/net/b44.c