patch-2.1.49 linux/drivers/net/soundmodem/smdma.h

Next file: linux/drivers/net/tlan.h
Previous file: linux/drivers/net/soundmodem/sm_wss.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.48/linux/drivers/net/soundmodem/smdma.h linux/drivers/net/soundmodem/smdma.h
@@ -37,6 +37,13 @@
 #define DMA_MODE_AUTOINIT      0x10
 #define NUM_FRAGMENTS          4
 
+/*
+ * NOTE: make sure that hdlcdrv_hdlcbuffer contains enough space
+ * for the modulator to fill the whole DMA buffer without underrun
+ * at the highest possible baud rate, otherwise the TX state machine will
+ * not work correctly. That is (9k6 FSK): HDLCDRV_HDLCBUFFER > 6*NUM_FRAGMENTS
+ */ 
+
 /* --------------------------------------------------------------------- */
 /*
  * ===================== DMA buffer management ===========================

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov