[svn-commits] sruffell: branch linux/2.4 r9674 - /linux/branches/2.4/drivers/dahdi/wctdm24xxp/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 20 23:30:17 CST 2011


Author: sruffell
Date: Thu Jan 20 23:30:13 2011
New Revision: 9674

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9674
Log:
wctdm24xxp: Leave FXO (DAA) always in full-wave ring detect mode.

In zaptel commit 4096 [1], all the debouncing of ring signals were moved
into software as opposed to using the ring validation circuit in DAA.
That commit failed to remove the initial check and set of the ring
validation circuit.

[1] http://svn.digium.com/view/zaptel?view=revision&revision=4096

(closes issue #16894)
Reported by: rde42

Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9441

Modified:
    linux/branches/2.4/drivers/dahdi/wctdm24xxp/base.c

Modified: linux/branches/2.4/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.4/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=9674&r1=9673&r2=9674
==============================================================================
--- linux/branches/2.4/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/branches/2.4/drivers/dahdi/wctdm24xxp/base.c Thu Jan 20 23:30:13 2011
@@ -2653,16 +2653,6 @@
 	reg16 |= (fxo_modes[_opermode].rt);
 	wctdm_setreg(wc, card, 16, reg16);
 
-	if (fwringdetect || neonmwi_monitor) {
-		/* Enable ring detector full-wave rectifier mode */
-		wctdm_setreg(wc, card, 18, 2);
-		wctdm_setreg(wc, card, 24, 0);
-	} else { 
-		/* Set to the device defaults */
-		wctdm_setreg(wc, card, 18, 0);
-		wctdm_setreg(wc, card, 24, 0x19);
-	}
-	
 	/* Enable ring detector full-wave rectifier mode */
 	wctdm_setreg(wc, card, 18, 2);
 	wctdm_setreg(wc, card, 24, 0);




More information about the svn-commits mailing list