patch-2.4.19 linux-2.4.19/drivers/sound/dmasound/dmasound_awacs.c

Next file: linux-2.4.19/drivers/sound/dmasound/dmasound_core.c
Previous file: linux-2.4.19/drivers/sound/dmasound/dmasound_atari.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/sound/dmasound/dmasound_awacs.c linux-2.4.19/drivers/sound/dmasound/dmasound_awacs.c
@@ -963,7 +963,9 @@
 			st_le16(&cp->res_count, 0);
 			st_le16(&cp->xfer_status, 0);
 			st_le32(&cp->phy_addr, phy);
-			st_le16(&cp->command, OUTPUT_MORE + INTR_ALWAYS);
+			st_le32(&cp->cmd_dep, virt_to_bus(&awacs_tx_cmds[(i+1)%write_sq.max_count]));
+			st_le16(&cp->command, OUTPUT_MORE | BR_ALWAYS | INTR_ALWAYS);
+			
 			/* point at our patched up command block */
 			out_le32(&awacs_txdma->cmdptr, virt_to_bus(cp));
 			/* we must re-start the controller */

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