[zaptel-commits] kpfleming: branch mogorman/zaptel-1.2-transcoder r2006 - /team/mogorman/zapte...

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Mon Jan 29 14:14:23 MST 2007


Author: kpfleming
Date: Mon Jan 29 15:14:23 2007
New Revision: 2006

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2006
Log:
a little debugging output

Modified:
    team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c

Modified: team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c?view=diff&rev=2006&r1=2005&r2=2006
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c Mon Jan 29 15:14:23 2007
@@ -456,6 +456,8 @@
 	volatile u8 *writechunk = wc->writechunk + (o2 * SFRAME_SIZE);
 	u32 xmt_length;
 
+	debug_printk(1, "transmitting %d bytes from %p\n", length, data);
+
 	/* Yes... this is a busy loop, that is not interruptible. However, it is
 	   highly unlikely (and testing proves) that the wait for a descriptor
 	   to become available will ever be long enough for this to be an issue.
@@ -474,6 +476,8 @@
 	setctl(wc, 0x0008, 0x00000000);			/* Transmit Poll Demand */
 	
 	wc->tdbl = (wc->tdbl + 1) % ERING_SIZE;
+
+	debug_printk(1, "transmit complete\n");
 }
 
 static inline int __transmit_demand(struct wcdte *wc)



More information about the zaptel-commits mailing list