summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/dma.h')
-rw-r--r--include/asm-sparc64/dma.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-sparc64/dma.h b/include/asm-sparc64/dma.h
index 9bab4ebca..4f0b0baf2 100644
--- a/include/asm-sparc64/dma.h
+++ b/include/asm-sparc64/dma.h
@@ -218,4 +218,10 @@ extern int isa_dma_bridge_buggy;
#define isa_dma_bridge_buggy (0)
#endif
+/* We support dynamic DMA remapping and adjacent SG entries
+ * which have addresses modulo DMA_CHUNK_SIZE will be merged
+ * by dma_prepare_sg().
+ */
+#define DMA_CHUNK_SIZE 8192
+
#endif /* !(_ASM_SPARC64_DMA_H) */