patch-1.3.22 linux/drivers/char/tpqic02.c
Next file: linux/drivers/net/3c503.c
Previous file: linux/drivers/char/serial.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Aug 29 10:15:52 1995
- Orig file:
v1.3.21/linux/drivers/char/tpqic02.c
- Orig date:
Wed Aug 2 13:21:01 1995
diff -u --recursive --new-file v1.3.21/linux/drivers/char/tpqic02.c linux/drivers/char/tpqic02.c
@@ -754,7 +754,7 @@
/* not ready and no exception && timeout not expired yet */
while (((stat = inb_p(QIC02_STAT_PORT) & QIC02_STAT_MASK) == QIC02_STAT_MASK) && (jiffies<spin_t)) {
/* be `nice` to other processes on long operations... */
- current->timeout = jiffies + 30; /* nap 0.30 sec between checks, */
+ current->timeout = jiffies + 3*HZ/10; /* nap 0.30 sec between checks, */
current->state = TASK_INTERRUPTIBLE;
schedule(); /* but could be woken up earlier by signals... */
}
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