summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2010-07-29 21:51:51 +0000
committerKinsey Moore <kmoore@digium.com>2010-07-29 21:51:51 +0000
commit927e7315471398506a1d5274da86639bc3fc76fe (patch)
tree4c30d497a5df3141667c5a971597a917ebaf81f6 /drivers/dahdi/wcte12xp
parent853e0f4f2174d99e9bc04568cdede4b4f94833c9 (diff)
wct4xxp, wcte12xp: remove loobpack parameter, functionality provided by dahdi_maint
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9051 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r--drivers/dahdi/wcte12xp/base.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c
index 643a50c..e2068dc 100644
--- a/drivers/dahdi/wcte12xp/base.c
+++ b/drivers/dahdi/wcte12xp/base.c
@@ -61,7 +61,6 @@ static int alarmdebounce = 2500; /* LOF/LFA def to 2.5s AT&T TR54016*/
static int losalarmdebounce = 2500; /* LOS def to 2.5s AT&T TR54016*/
static int aisalarmdebounce = 2500; /* AIS(blue) def to 2.5s AT&T TR54016*/
static int yelalarmdebounce = 500; /* RAI(yellow) def to 0.5s AT&T devguide */
-static int loopback = 0;
static int t1e1override = -1;
static int unchannelized = 0;
static int latency = VOICEBUS_DEFAULT_LATENCY;
@@ -776,8 +775,6 @@ static void t1_configure_t1(struct t1 *wc, int lineconfig, int txlevel)
mytxlevel = txlevel - 4;
fmr1 = 0x9e; /* FMR1: Mode 0, T1 mode, CRC on for ESF, 2.048 Mhz system data rate, no XAIS */
fmr2 = 0x20; /* FMR2: no payload loopback, don't auto yellow alarm */
- if (loopback)
- fmr2 |= 0x4;
if (j1mode)
fmr4 = 0x1c;
@@ -861,8 +858,6 @@ static void t1_configure_e1(struct t1 *wc, int lineconfig)
fmr2 = 0x03; /* FMR2: Auto transmit remote alarm, auto loss of multiframe recovery, no payload loopback */
if (unchannelized)
fmr2 |= 0x30;
- if (loopback)
- fmr2 |= 0x4;
if (lineconfig & DAHDI_CONFIG_CRC4) {
fmr1 |= 0x08; /* CRC4 transmit */
fmr2 |= 0xc0; /* CRC4 receive */
@@ -2380,7 +2375,6 @@ static void __exit te12xp_cleanup(void)
}
module_param(debug, int, S_IRUGO | S_IWUSR);
-module_param(loopback, int, S_IRUGO | S_IWUSR);
module_param(t1e1override, int, S_IRUGO | S_IWUSR);
module_param(j1mode, int, S_IRUGO | S_IWUSR);
module_param(alarmdebounce, int, S_IRUGO | S_IWUSR);