patch-1.3.78 linux/drivers/char/cyclades.c
Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/cdrom/optcd_isp16.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Mar 24 12:09:36 1996
- Orig file:
v1.3.77/linux/drivers/char/cyclades.c
- Orig date:
Sun Mar 10 09:49:47 1996
diff -u --recursive --new-file v1.3.77/linux/drivers/char/cyclades.c linux/drivers/char/cyclades.c
@@ -2376,7 +2376,7 @@
if (info->flags & ASYNC_CALLOUT_ACTIVE)
info->callout_termios = *tty->termios;
if (info->flags & ASYNC_INITIALIZED)
- tty_wait_until_sent(tty, 3000); /* 30 seconds timeout */
+ tty_wait_until_sent(tty, 30*HZ); /* 30 seconds timeout */
shutdown(info);
if (tty->driver.flush_buffer)
tty->driver.flush_buffer(tty);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this