patch-2.4.0-test9 linux/include/asm-arm/dma.h

Next file: linux/include/asm-arm/fcntl.h
Previous file: linux/include/asm-arm/dec21285.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-arm/dma.h linux/include/asm-arm/dma.h
@@ -22,11 +22,6 @@
 #define DMA_MODE_CASCADE 2
 #define DMA_AUTOINIT	 4
 
-typedef struct {
-	unsigned long address;
-	unsigned long length;
-} dmasg_t;
-
 extern spinlock_t  dma_spin_lock;
 
 extern __inline__ unsigned long claim_dma_lock(void)
@@ -85,7 +80,7 @@
  * especially since some DMA architectures don't update the
  * DMA address immediately, but defer it to the enable_dma().
  */
-extern void set_dma_sg(dmach_t channel, dmasg_t *sg, int nr_sg);
+extern void set_dma_sg(dmach_t channel, struct scatterlist *sg, int nr_sg);
 
 /* Set the DMA address for this channel
  *

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