summaryrefslogtreecommitdiff
path: root/kernel/torisa.c
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-02-27 21:57:44 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-02-27 21:57:44 +0000
commitde841f621272ba0c7872a1e0fccf2dd928012325 (patch)
tree8fbc02e74667ce1cffa05ad26e11172b49a2a1e3 /kernel/torisa.c
parent48867670d7a7c455116edb347e479401f09a86ce (diff)
* torisa.c: Report the correct E1/T1 .
* tor2.c: fix a typo in the span description string. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3888 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/torisa.c')
-rw-r--r--kernel/torisa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/torisa.c b/kernel/torisa.c
index 8003415..9fa24b8 100644
--- a/kernel/torisa.c
+++ b/kernel/torisa.c
@@ -1095,11 +1095,11 @@ static int __init tor_init(void)
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;
}