* [PATCH] tty fix TCSBRK comment
@ 2006-06-26 14:40 Paul Fulghum
0 siblings, 0 replies; only message in thread
From: Paul Fulghum @ 2006-06-26 14:40 UTC (permalink / raw)
To: Andrew Morton; +Cc: Linux Kernel Mailing List
Fix TCSBRK comment to prevent confusion or accidental removal.
Signed-off-by: Paul Fulghum <paulkf@microgate.com>
--- a/drivers/char/tty_io.c 2006-06-23 15:46:55.000000000 -0500
+++ b/drivers/char/tty_io.c 2006-06-26 09:34:09.000000000 -0500
@@ -2617,10 +2617,9 @@ int tty_ioctl(struct inode * inode, stru
tty->driver->break_ctl(tty, 0);
return 0;
case TCSBRK: /* SVID version: non-zero arg --> no break */
- /*
- * XXX is the above comment correct, or the
- * code below correct? Is this ioctl used at
- * all by anyone?
+ /* non-zero arg means wait for all output data
+ * to be sent (performed above) but don't send break.
+ * This is used by the tcdrain() termios function.
*/
if (!arg)
return send_break(tty, 250);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-26 14:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-26 14:40 [PATCH] tty fix TCSBRK comment Paul Fulghum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.