patch-2.4.22 linux-2.4.22/include/asm-arm/dma.h

Next file: linux-2.4.22/include/asm-arm/ecard.h
Previous file: linux-2.4.22/include/asm-arm/delay.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-arm/dma.h linux-2.4.22/include/asm-arm/dma.h
@@ -74,6 +74,10 @@
  */
 extern void disable_dma(dmach_t channel);
 
+/* Test whether the specified channel has an active DMA transfer
+ */
+extern int dma_channel_active(dmach_t channel);
+
 /* Set the DMA scatter gather list for this channel
  *
  * This should not be called if a DMA channel is enabled,

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