Re: [PATCH] More USB fixes for 2.5.68

Greg KH (greg@kroah.com)
Thu, 24 Apr 2003 16:47:34 -0700


ChangeSet 1.1222, 2003/04/24 16:14:59-07:00, greg@kroah.com

[PATCH] tty: let tiocmset pass TIOCM_LOOP changes to the tty drivers.

drivers/char/tty_io.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -Nru a/drivers/char/tty_io.c b/drivers/char/tty_io.c
--- a/drivers/char/tty_io.c Thu Apr 24 16:18:55 2003
+++ b/drivers/char/tty_io.c Thu Apr 24 16:18:55 2003
@@ -1700,8 +1700,8 @@
break;
}

- set &= TIOCM_DTR|TIOCM_RTS|TIOCM_OUT1|TIOCM_OUT2;
- clear &= TIOCM_DTR|TIOCM_RTS|TIOCM_OUT1|TIOCM_OUT2;
+ set &= TIOCM_DTR|TIOCM_RTS|TIOCM_OUT1|TIOCM_OUT2|TIOCM_LOOP;
+ clear &= TIOCM_DTR|TIOCM_RTS|TIOCM_OUT1|TIOCM_OUT2|TIOCM_LOOP;

retval = tty->driver->tiocmset(tty, file, set, clear);
}

-
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/