[svn-commits] mspiceland: linux/trunk r8801 - /linux/trunk/drivers/dahdi/wct4xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 24 11:13:47 CDT 2010


Author: mspiceland
Date: Thu Jun 24 11:13:44 2010
New Revision: 8801

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8801
Log:
Impliments a workaround for an errata in the qfalc v3.1 chip which caused
RBS modes to be broken when using AMI coding.  DAHDI-647.


Modified:
    linux/trunk/drivers/dahdi/wct4xxp/base.c

Modified: linux/trunk/drivers/dahdi/wct4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wct4xxp/base.c?view=diff&rev=8801&r1=8800&r2=8801
==============================================================================
--- linux/trunk/drivers/dahdi/wct4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wct4xxp/base.c Thu Jun 24 11:13:44 2010
@@ -2204,7 +2204,11 @@
 	/* Configure line interface */
 	if (lineconfig & DAHDI_CONFIG_AMI) {
 		line = "AMI";
-		fmr0 = 0xa0;
+		/* workaround for errata #2 in ES v3 09-10-16 */
+		if (wc->falc31)
+			fmr0 = 0xb0; 
+		else
+			fmr0 = 0xa0;
 	} else {
 		line = "B8ZS";
 		fmr0 = 0xf0;
@@ -2296,7 +2300,11 @@
 	/* Configure line interface */
 	if (lineconfig & DAHDI_CONFIG_AMI) {
 		line = "AMI";
-		fmr0 = 0xa0;
+		/* workaround for errata #2 in ES v3 09-10-16 */
+		if (wc->falc31)
+			fmr0 = 0xb0; 
+		else
+			fmr0 = 0xa0;
 	} else {
 		line = "HDB3";
 		fmr0 = 0xf0;




More information about the svn-commits mailing list