[svn-commits] sruffell: branch linux/sruffell/dahdi-linux-chainedvb r7109 - /linux/team/sru...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Sep 10 09:56:49 CDT 2009


Author: sruffell
Date: Thu Sep 10 09:56:46 2009
New Revision: 7109

URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=7109
Log:
wip: make sure to set the last entry in the chain.

Modified:
    linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/voicebus/voicebus.c

Modified: linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/voicebus/voicebus.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/voicebus/voicebus.c?view=diff&rev=7109&r1=7108&r2=7109
==============================================================================
--- linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/voicebus/voicebus.c (original)
+++ linux/team/sruffell/dahdi-linux-chainedvb/drivers/dahdi/voicebus/voicebus.c Thu Sep 10 09:56:46 2009
@@ -490,6 +490,7 @@
 
 	dl->head = list_entry(dl->list.next, typeof(*d), node);
 	dl->tail = dl->head;
+	get_prev_descriptor(dl, dl->head)->desc->buffer2 = dl->head->dma_addr;
 
 	atomic_set(&dl->count, 0);
 	return 0;
@@ -1117,7 +1118,7 @@
 	next = get_next_descriptor(dl, d);
 	while (!OWNED(next->desc)) {
 		next->desc->buffer1 = vb->idle_vbb_dma_addr;
-		d->pending = vb->idle_vbb;
+		next->pending = vb->idle_vbb;
 		SET_OWNED(next->desc);
 		next = get_next_descriptor(dl, next);
 		++count;




More information about the svn-commits mailing list