summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-05 03:24:43 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-05 03:24:43 +0000
commitbc33447d7bc5a894a9845d2a53cc5778474d5278 (patch)
tree5188a4f735598942755fab81aa0e18c871df8030
parent4397dde199c2f4fee3db7b786f25222dafe6ba2e (diff)
the previous addition of fields to zt_spaninfo added an 'lbo' field, but none of the drivers for digital cards actually populate that field... this is now corrected
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3317 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--tor2.c1
-rw-r--r--torisa.c1
-rw-r--r--wct1xxp.c1
-rw-r--r--wct4xxp/base.c1
-rw-r--r--wcte11xp.c1
-rw-r--r--wcte12xp.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/tor2.c b/tor2.c
index e3350e6..4e10b12 100644
--- a/tor2.c
+++ b/tor2.c
@@ -204,6 +204,7 @@ static int tor2_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
printk("Tor2: Configuring span %d\n", span->spanno);
/* XXX We assume lineconfig is okay and shouldn't XXX */
span->lineconfig = lc->lineconfig;
+ span->lbo = lc->lbo;
span->txlevel = lc->lbo;
span->rxlevel = 0;
span->syncsrc = p->tor->syncsrc;
diff --git a/torisa.c b/torisa.c
index 1fb0077..aee3758 100644
--- a/torisa.c
+++ b/torisa.c
@@ -605,6 +605,7 @@ static int torisa_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
printk("TorISA: Configuring span %d\n", span->spanno);
/* XXX We assume lineconfig is okay and shouldn't XXX */
span->lineconfig = lc->lineconfig;
+ span->lbo = lc->lbo;
span->txlevel = lc->lbo;
span->rxlevel = 0;
span->syncsrc = syncsrc;
diff --git a/wct1xxp.c b/wct1xxp.c
index 5a439ad..145893e 100644
--- a/wct1xxp.c
+++ b/wct1xxp.c
@@ -738,6 +738,7 @@ static int t1xxp_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
{
struct t1xxp *wc = span->pvt;
span->lineconfig = lc->lineconfig;
+ span->lbo = lc->lbo;
span->txlevel = lc->lbo;
span->rxlevel = 0;
/* Do we want to SYNC on receive or not */
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index a47289d..fdf7a15 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -1416,6 +1416,7 @@ static int t4_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
printk("TE%dXXP: Configuring span %d\n", wc->numspans, span->spanno);
/* XXX We assume lineconfig is okay and shouldn't XXX */
span->lineconfig = lc->lineconfig;
+ span->lbo = lc->lbo;
span->txlevel = lc->lbo;
span->rxlevel = 0;
if (lc->sync < 0)
diff --git a/wcte11xp.c b/wcte11xp.c
index e5f8b83..f63f725 100644
--- a/wcte11xp.c
+++ b/wcte11xp.c
@@ -946,6 +946,7 @@ static int t1xxp_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
{
struct t1 *wc = span->pvt;
span->lineconfig = lc->lineconfig;
+ span->lbo = lc->lbo;
span->txlevel = lc->lbo;
span->rxlevel = 0;
/* Do we want to SYNC on receive or not */
diff --git a/wcte12xp.c b/wcte12xp.c
index f9d2e69..1e54f42 100644
--- a/wcte12xp.c
+++ b/wcte12xp.c
@@ -1042,6 +1042,7 @@ static int t1xxp_spanconfig(struct zt_span *span, struct zt_lineconfig *lc)
struct t1 *wc = span->pvt;
span->lineconfig = lc->lineconfig;
+ span->lbo = lc->lbo;
span->txlevel = lc->lbo;
span->rxlevel = 0;
/* Do we want to SYNC on receive or not */