patch-2.3.41 linux/include/asm-sparc64/dma.h

Next file: linux/include/asm-sparc64/floppy.h
Previous file: linux/include/asm-sparc64/checksum.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/include/asm-sparc64/dma.h linux/include/asm-sparc64/dma.h
@@ -218,4 +218,10 @@
 #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) */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)