Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2008 09:35:47 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 150156 for review
Message-ID:  <200809200935.m8K9Zlk2057193@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=150156

Change 150156 by ed@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809200935.m8K9Zlk2057193>