patch-2.4.15 linux/drivers/isdn/eicon/eicon_idi.c
Next file: linux/drivers/isdn/eicon/eicon_isa.c
Previous file: linux/drivers/ieee1394/pcilynx.c
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Fri Nov 9 13:41:41 2001
- Orig file:
v2.4.14/linux/drivers/isdn/eicon/eicon_idi.c
- Orig date:
Tue Oct 9 17:06:51 2001
diff -u --recursive --new-file v2.4.14/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.3 2001/09/23 22:24:37 kai Exp $
+/* $Id: eicon_idi.c,v 1.41.6.4 2001/11/06 20:58:29 kai Exp $
*
* ISDN lowlevel-module for Eicon active cards.
* IDI interface
@@ -25,7 +25,7 @@
#undef EICON_FULL_SERVICE_OKTETT
-char *eicon_idi_revision = "$Revision: 1.41.6.3 $";
+char *eicon_idi_revision = "$Revision: 1.41.6.4 $";
eicon_manifbuf *manbuf;
@@ -3119,8 +3119,8 @@
return(ret);
}
- timeout = jiffies + 50;
- while (timeout > jiffies) {
+ timeout = jiffies + HZ / 2;
+ while (time_before(jiffies, timeout)) {
if (chan->e.B2Id) break;
SLEEP(10);
}
@@ -3181,8 +3181,8 @@
eicon_schedule_tx(card);
- timeout = jiffies + 50;
- while (timeout > jiffies) {
+ timeout = jiffies + HZ / 2;
+ while (time_before(jiffies, timeout)) {
if (chan->fsm_state) break;
SLEEP(10);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)