[svn-commits] sruffell: linux/trunk r8203 - /linux/trunk/drivers/dahdi/wctdm24xxp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Mar 1 17:19:16 CST 2010
Author: sruffell
Date: Mon Mar 1 17:19:13 2010
New Revision: 8203
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8203
Log:
wctdm24xxp: Mark the robust module parameter as DEBUG only.
In testing this option didn't appear to function properly. Just mark it debug
only so it's not part of the "official" interface in case there are some users
of it out there that I'm not aware of. DAHDI-267.
Modified:
linux/trunk/drivers/dahdi/wctdm24xxp/base.c
Modified: linux/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=8203&r1=8202&r2=8203
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Mon Mar 1 17:19:13 2010
@@ -221,7 +221,9 @@
static unsigned int battalarm;
static unsigned int battthresh;
static int debug = 0;
+#ifdef DEBUG
static int robust = 0;
+#endif
static int lowpower = 0;
static int boostringer = 0;
static int fastringer = 0;
@@ -1787,8 +1789,10 @@
break;
}
dahdi_hooksig(wc->aspan->span.chans[card], DAHDI_RXSIG_OFFHOOK);
+#ifdef DEBUG
if (robust)
wctdm_init_proslic(wc, card, 1, 0, 1);
+#endif
fxs->oldrxhook = 1;
}
@@ -5021,7 +5025,9 @@
module_param(fxovoltage, int, 0600);
module_param(loopcurrent, int, 0600);
module_param(reversepolarity, int, 0600);
+#ifdef DEBUG
module_param(robust, int, 0600);
+#endif
module_param(opermode, charp, 0600);
module_param(lowpower, int, 0600);
module_param(boostringer, int, 0600);
More information about the svn-commits
mailing list