summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wct4xxp
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/wct4xxp
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/wct4xxp')
-rw-r--r--drivers/dahdi/wct4xxp/base.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index caa1cbb..e902cde 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -174,7 +174,6 @@ static int timingcable = 0;
static int t1e1override = -1; /* 0xff for E1, 0x00 for T1 */
static int j1mode = 0;
static int sigmode = FRMR_MODE_NO_ADDR_CMP;
-static int loopback = 0;
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*/
@@ -2381,8 +2380,6 @@ static void __t4_configure_t1(struct t4 *wc, int unit, int lineconfig, int txlev
mytxlevel = txlevel - 4;
fmr1 = 0x9c; /* FMR1: Mode 1, T1 mode, CRC on for ESF, 8.192 Mhz system data rate, no XAIS */
fmr2 = 0x20; /* FMR2: no payload loopback, don't auto yellow */
- if (loopback)
- fmr2 |= 0x4;
fmr4 = 0x0c; /* FMR4: Lose sync on 2 out of 5 framing bits, auto resync */
lim2 = 0x21; /* LIM2: 50% peak is a "1", Advanced Loss recovery */
lim2 |= (mytxlevel << 6); /* LIM2: Add line buildout */
@@ -2474,8 +2471,6 @@ static void __t4_configure_e1(struct t4 *wc, int unit, int lineconfig)
char *framing, *line;
fmr1 = 0x44; /* FMR1: E1 mode, Automatic force resync, PCM30 mode, 8.192 Mhz backplane, no XAIS */
fmr2 = 0x03; /* FMR2: Auto transmit remote alarm, auto loss of multiframe recovery, no payload loopback */
- if (loopback)
- fmr2 |= 0x4;
if (lineconfig & DAHDI_CONFIG_CRC4) {
fmr1 |= 0x08; /* CRC4 transmit */
fmr2 |= 0xc0; /* CRC4 receive */
@@ -4868,7 +4863,6 @@ MODULE_LICENSE("GPL v2");
module_param(pedanticpci, int, 0600);
module_param(debug, int, 0600);
-module_param(loopback, int, 0600);
module_param(noburst, int, 0600);
module_param(timingcable, int, 0600);
module_param(t1e1override, int, 0600);