[asterisk-dev] [svn-commits] kpfleming: branch 1.4 r3317 - in /branches/1.4: ./ wct4xxp/
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Dec 4 23:18:07 CST 2007
On Wed, Dec 05, 2007 at 03:24:44AM -0000, SVN commits to the Digium repositories wrote:
> Author: kpfleming
> Date: Tue Dec 4 21:24:43 2007
> New Revision: 3317
>
> URL: http://svn.digium.com/view/zaptel?view=rev&rev=3317
> Log:
> 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
>
> Modified:
> branches/1.4/tor2.c
> branches/1.4/torisa.c
> branches/1.4/wct1xxp.c
> branches/1.4/wct4xxp/base.c
> branches/1.4/wcte11xp.c
> branches/1.4/wcte12xp.c
>
> Modified: branches/1.4/tor2.c
> URL: http://svn.digium.com/view/zaptel/branches/1.4/tor2.c?view=diff&rev=3317&r1=3316&r2=3317
> ==============================================================================
> --- branches/1.4/tor2.c (original)
> +++ branches/1.4/tor2.c Tue Dec 4 21:24:43 2007
> @@ -204,6 +204,7 @@
> 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;
This is generic zaptel code, rather than zaptel-specific.
Implement
zt_span_from_lineconfig(struct zt_span *span, struct lineconfig *lc)
?
>
> Modified: branches/1.4/torisa.c
> URL: http://svn.digium.com/view/zaptel/branches/1.4/torisa.c?view=diff&rev=3317&r1=3316&r2=3317
> ==============================================================================
> --- branches/1.4/torisa.c (original)
> +++ branches/1.4/torisa.c Tue Dec 4 21:24:43 2007
> @@ -605,6 +605,7 @@
> 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;
>
> Modified: branches/1.4/wct1xxp.c
> URL: http://svn.digium.com/view/zaptel/branches/1.4/wct1xxp.c?view=diff&rev=3317&r1=3316&r2=3317
> ==============================================================================
> --- branches/1.4/wct1xxp.c (original)
> +++ branches/1.4/wct1xxp.c Tue Dec 4 21:24:43 2007
> @@ -738,6 +738,7 @@
> {
> 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 */
>
> Modified: branches/1.4/wct4xxp/base.c
> URL: http://svn.digium.com/view/zaptel/branches/1.4/wct4xxp/base.c?view=diff&rev=3317&r1=3316&r2=3317
> ==============================================================================
> --- branches/1.4/wct4xxp/base.c (original)
> +++ branches/1.4/wct4xxp/base.c Tue Dec 4 21:24:43 2007
> @@ -1416,6 +1416,7 @@
> 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)
>
> Modified: branches/1.4/wcte11xp.c
> URL: http://svn.digium.com/view/zaptel/branches/1.4/wcte11xp.c?view=diff&rev=3317&r1=3316&r2=3317
> ==============================================================================
> --- branches/1.4/wcte11xp.c (original)
> +++ branches/1.4/wcte11xp.c Tue Dec 4 21:24:43 2007
> @@ -946,6 +946,7 @@
> {
> 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 */
>
> Modified: branches/1.4/wcte12xp.c
> URL: http://svn.digium.com/view/zaptel/branches/1.4/wcte12xp.c?view=diff&rev=3317&r1=3316&r2=3317
> ==============================================================================
> --- branches/1.4/wcte12xp.c (original)
> +++ branches/1.4/wcte12xp.c Tue Dec 4 21:24:43 2007
> @@ -1042,6 +1042,7 @@
> 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 */
>
>
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-dev
mailing list