[svn-commits] mspiceland: branch linux/mspiceland/dahdi-qfalc31 r7052 - /linux/team/mspicel...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Aug 21 09:47:16 CDT 2009


Author: mspiceland
Date: Fri Aug 21 09:47:13 2009
New Revision: 7052

URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=7052
Log:
There appears to be an undocumented errata where the qfalc v3.1 with regards
to CAS robbed bit signalling configuration.  For some reason, it checks the
config of the port configuration registers in addition to the ones that
specify where the robbied bit signalling transmit will come from.  For our
case, we want it to come from the transmit register block.  This new port
configuration allows v3.1 to continue to use the register block as expected
instead of from an external serial pin.

Modified:
    linux/team/mspiceland/dahdi-qfalc31/drivers/dahdi/wct4xxp/base.c

Modified: linux/team/mspiceland/dahdi-qfalc31/drivers/dahdi/wct4xxp/base.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/team/mspiceland/dahdi-qfalc31/drivers/dahdi/wct4xxp/base.c?view=diff&rev=7052&r1=7051&r2=7052
==============================================================================
--- linux/team/mspiceland/dahdi-qfalc31/drivers/dahdi/wct4xxp/base.c (original)
+++ linux/team/mspiceland/dahdi-qfalc31/drivers/dahdi/wct4xxp/base.c Fri Aug 21 09:47:13 2009
@@ -1739,9 +1739,15 @@
 	
 	/* Configure ports */
 	t4_framer_out(wc, unit, 0x80, 0x00);	/* PC1: SPYR/SPYX input on RPA/XPA */
-	t4_framer_out(wc, unit, 0x81, 0x22);	/* PC2: RMFB/XSIG output/input on RPB/XPB */
-	t4_framer_out(wc, unit, 0x82, 0x65);	/* PC3: Some unused stuff */
-	t4_framer_out(wc, unit, 0x83, 0x35);	/* PC4: Some more unused stuff */
+	if (wc->falc31) {
+			  t4_framer_out(wc, unit, 0x81, 0xBB);	/* PC2: RMFB/XSIG output/input on RPB/XPB */
+			  t4_framer_out(wc, unit, 0x82, 0xBB);	/* PC3: Some unused stuff */
+			  t4_framer_out(wc, unit, 0x83, 0xBB);	/* PC4: Some more unused stuff */
+	} else {
+			  t4_framer_out(wc, unit, 0x81, 0x22);	/* PC2: RMFB/XSIG output/input on RPB/XPB */
+			  t4_framer_out(wc, unit, 0x82, 0x65);	/* PC3: Some unused stuff */
+			  t4_framer_out(wc, unit, 0x83, 0x35);	/* PC4: Some more unused stuff */
+	}
 	t4_framer_out(wc, unit, 0x84, 0x01);	/* PC5: XMFS active low, SCLKR is input, RCLK is output */
 	if (debug & DEBUG_MAIN)
 		printk(KERN_DEBUG "Successfully initialized serial bus for unit %d\n", unit);




More information about the svn-commits mailing list