[zaptel-commits] tzafrir: branch 1.4 r3888 - in /branches/1.4/kernel: tor2.c torisa.c
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Wed Feb 27 15:57:45 CST 2008
Author: tzafrir
Date: Wed Feb 27 15:57:44 2008
New Revision: 3888
URL: http://svn.digium.com/view/zaptel?view=rev&rev=3888
Log:
* torisa.c: Report the correct E1/T1 .
* tor2.c: fix a typo in the span description string.
Modified:
branches/1.4/kernel/tor2.c
branches/1.4/kernel/torisa.c
Modified: branches/1.4/kernel/tor2.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/tor2.c?view=diff&rev=3888&r1=3887&r2=3888
==============================================================================
--- branches/1.4/kernel/tor2.c (original)
+++ branches/1.4/kernel/tor2.c Wed Feb 27 15:57:44 2008
@@ -269,7 +269,7 @@
for (x = 0; x < SPANS_PER_CARD; x++) {
sprintf(tor->spans[x].name, "Tor2/%d/%d", tor->num, x + 1);
snprintf(tor->spans[x].desc, sizeof(tor->spans[x].desc) - 1,
- "Tormenta 2 (PCI) fQuad %s Card %d Span %d",
+ "Tormenta 2 (PCI) Quad %s Card %d Span %d",
(tor->cardtype == TYPE_T1) ? "T1" : "E1", tor->num, x + 1);
tor->spans[x].manufacturer = "Digium";
zap_copy_string(tor->spans[x].devicetype, tor->type, sizeof(tor->spans[x].devicetype));
Modified: branches/1.4/kernel/torisa.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/torisa.c?view=diff&rev=3888&r1=3887&r2=3888
==============================================================================
--- branches/1.4/kernel/torisa.c (original)
+++ branches/1.4/kernel/torisa.c Wed Feb 27 15:57:44 2008
@@ -1095,11 +1095,11 @@
spans[0].irq = irq;
if (card_type == TYPE_E1) {
- spans[0].spantype = "T1";
+ spans[0].spantype = "E1";
spans[0].linecompat = ZT_CONFIG_AMI | ZT_CONFIG_B8ZS | ZT_CONFIG_D4 | ZT_CONFIG_ESF;
spans[0].deflaw = ZT_LAW_ALAW;
} else {
- spans[0].spantype = "E1";
+ spans[0].spantype = "T1";
spans[0].linecompat = ZT_CONFIG_HDB3 | ZT_CONFIG_CCS | ZT_CONFIG_CRC4;
spans[0].deflaw = ZT_LAW_MULAW;
}
More information about the zaptel-commits
mailing list