patch-2.4.4 linux/drivers/isdn/eicon/eicon_idi.c
Next file: linux/drivers/isdn/hisax/Makefile
Previous file: linux/drivers/isdn/avmb1/t1pci.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Wed Apr 18 11:49:13 2001
- Orig file:
v2.4.3/linux/drivers/isdn/eicon/eicon_idi.c
- Orig date:
Fri Mar 2 11:12:08 2001
diff -u --recursive --new-file v2.4.3/linux/drivers/isdn/eicon/eicon_idi.c linux/drivers/isdn/eicon/eicon_idi.c
@@ -1,4 +1,4 @@
-/* $Id: eicon_idi.c,v 1.41.6.1 2001/02/10 14:44:09 kai Exp $
+/* $Id: eicon_idi.c,v 1.41.6.2 2001/04/07 21:41:44 armin Exp $
*
* ISDN lowlevel-module for Eicon active cards.
* IDI interface
@@ -36,7 +36,7 @@
#undef EICON_FULL_SERVICE_OKTETT
-char *eicon_idi_revision = "$Revision: 1.41.6.1 $";
+char *eicon_idi_revision = "$Revision: 1.41.6.2 $";
eicon_manifbuf *manbuf;
@@ -2221,7 +2221,10 @@
static char *connmsg[] =
{"", "V.21", "V.23", "V.22", "V.22bis", "V.32bis", "V.34",
"V.8", "Bell 212A", "Bell 103", "V.29 Leased", "V.33 Leased", "V.90",
- "V.21 CH2", "V.27ter", "V.29", "V.33", "V.17"};
+ "V.21 CH2", "V.27ter", "V.29", "V.33", "V.17", "V.32", "K56Flex",
+ "X2", "V.18", "V.18LH", "V.18HL", "V.21LH", "V.21HL",
+ "Bell 103LH", "Bell 103HL", "V.23", "V.23", "EDT 110",
+ "Baudot45", "Baudot47", "Baudot50", "DTMF" };
static u_char dtmf_code[] = {
'1','4','7','*','2','5','8','0','3','6','9','#','A','B','C','D'
};
@@ -2243,7 +2246,11 @@
cmd.driver = ccard->myid;
cmd.command = ISDN_STAT_BCONN;
cmd.arg = chan->No;
- sprintf(cmd.parm.num, "%d/%s", p->speed, connmsg[p->norm]);
+ if (p->norm > 34) {
+ sprintf(cmd.parm.num, "%d/(%d)", p->speed, p->norm);
+ } else {
+ sprintf(cmd.parm.num, "%d/%s", p->speed, connmsg[p->norm]);
+ }
ccard->interface.statcallb(&cmd);
}
eicon_log(ccard, 8, "idi_ind: Ch%d: UDATA_DCD_ON time %d\n", chan->No, p->time);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)