PERFORCE change 150156 for review
Ed Schouten
ed at FreeBSD.org
Sat Sep 20 09:35:49 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=150156
Change 150156 by ed at ed_dull on 2008/09/20 09:35:36
Make sure ttydevsw_outwakeup() actually wakes up the driver when
hooks are in place.
Affected files ...
.. //depot/projects/mpsafetty/sys/sys/ttydevsw.h#8 edit
Differences ...
==== //depot/projects/mpsafetty/sys/sys/ttydevsw.h#8 (text+ko) ====
@@ -95,9 +95,7 @@
MPASS(!tty_gone(tp));
/* Prevent spurious wakeups. */
- if (tp->t_flags & TF_STOPPED)
- return;
- if (ttyoutq_bytesused(&tp->t_outq) == 0)
+ if (ttydisc_rint_poll(tp) == 0)
return;
tp->t_devsw->tsw_outwakeup(tp);
More information about the p4-projects
mailing list