patch-2.2.15 linux/drivers/char/moxa.c
Next file: linux/drivers/char/mxser.c
Previous file: linux/drivers/char/mixcomwd.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Fri Apr 21 12:46:04 2000
- Orig file:
v2.2.14/drivers/char/moxa.c
- Orig date:
Tue Jan 4 21:18:45 2000
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/char/moxa.c linux/drivers/char/moxa.c
@@ -743,6 +743,7 @@
tty->ldisc.write_wakeup)
(tty->ldisc.write_wakeup) (tty);
wake_up_interruptible(&tty->write_wait);
+ wake_up_interruptible(&tty->poll_wait);
}
static int moxa_chars_in_buffer(struct tty_struct *tty)
@@ -1000,6 +1001,7 @@
tp->ldisc.write_wakeup)
(tp->ldisc.write_wakeup) (tp);
wake_up_interruptible(&tp->write_wait);
+ wake_up_interruptible(&tp->poll_wait);
}
}
}
@@ -1190,6 +1192,7 @@
ch->tty->ldisc.write_wakeup)
(ch->tty->ldisc.write_wakeup) (ch->tty);
wake_up_interruptible(&ch->tty->write_wait);
+ wake_up_interruptible(&ch->tty->poll_wait);
return;
}
moxaEmptyTimer[ch->port].expires = jiffies + HZ;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)