summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vme/bridges/vme_tsi148.h
diff options
context:
space:
mode:
authorMartyn Welch2012-03-22 14:27:29 +0100
committerGreg Kroah-Hartman2012-04-10 19:37:06 +0200
commit3abc48ae35ef7cff845a8d57322c19cc153fb482 (patch)
tree7b3111df2638026f06f8f7692952f65185866d5f /drivers/staging/vme/bridges/vme_tsi148.h
parentStaging: bcm: IPv6Protocol.c: coding style fix (diff)
downloadkernel-qcow2-linux-3abc48ae35ef7cff845a8d57322c19cc153fb482.tar.gz
kernel-qcow2-linux-3abc48ae35ef7cff845a8d57322c19cc153fb482.tar.xz
kernel-qcow2-linux-3abc48ae35ef7cff845a8d57322c19cc153fb482.zip
Staging: VME: Convert TSI148 to use dma_map_single
The DMA functionality fails to work on some Intel based platforms. Some recent Intel platforms have an IOMMU. Transferring the DMA descriptors, which were mapped using virt_to_phys(), failed. This patch updates the driver to use dma_map_single(). Signed-off-by: Martyn Welch <martyn.welch@ge.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vme/bridges/vme_tsi148.h')
-rw-r--r--drivers/staging/vme/bridges/vme_tsi148.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/vme/bridges/vme_tsi148.h b/drivers/staging/vme/bridges/vme_tsi148.h
index a3ac2fe98816..00b116087d73 100644
--- a/drivers/staging/vme/bridges/vme_tsi148.h
+++ b/drivers/staging/vme/bridges/vme_tsi148.h
@@ -75,6 +75,7 @@ struct tsi148_dma_entry {
*/
struct tsi148_dma_descriptor descriptor;
struct list_head list;
+ dma_addr_t dma_handle;
};
/*