[zaptel-commits] mattf: branch 1.4 r1971 - /branches/1.4/wctdm24xxp.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Jan 25 15:20:22 MST 2007


Author: mattf
Date: Thu Jan 25 16:20:21 2007
New Revision: 1971

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1971
Log:
Take out some old debug code.

Modified:
    branches/1.4/wctdm24xxp.c

Modified: branches/1.4/wctdm24xxp.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wctdm24xxp.c?view=diff&rev=1971&r1=1970&r2=1971
==============================================================================
--- branches/1.4/wctdm24xxp.c (original)
+++ branches/1.4/wctdm24xxp.c Thu Jan 25 16:20:21 2007
@@ -450,19 +450,6 @@
 #endif
 
 static int wctdm_init_proslic(struct wctdm *wc, int card, int fast , int manual, int sane);
-
-#if 0
-static inline int CMD_BYTE(int card,int bit,int altcs)
-{
-	int res;
-	res = (((((card) & 0x3) * 3 + (bit)) * 7) \
-			+ ((card) >> 2) + (altcs));
-			//+ ((card) >> 2) + (altcs) + (altcs ? 42 : 0));
-	if (((res == 31) || (res == 24) || (res == 38)) && (card != 5))
-		printk("%d %d %d\n", card, bit, altcs);
-	return res;
-}
-#endif
 
 /* sleep in user space until woken up. Equivilant of tsleep() in BSD */
 static int schluffen(wait_queue_head_t *q)



More information about the zaptel-commits mailing list