Messages in this thread Patch in this message | | | Subject | [PATCH] tty fix TCSBRK comment | From | Paul Fulghum <> | Date | Mon, 26 Jun 2006 09:40:26 -0500 |
| |
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);
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |