summaryrefslogtreecommitdiff
path: root/include/linux/tty_ldisc.h
AgeCommit message (Collapse)Author
2004-10-20Update tty layer to not mix kernel and user pointers.Linus Torvalds
Instead, tty_io.c will always copy user space data to kernel space, leaving the drivers to worry only about normal kernel buffers. No more "from_user" flag, and having the user copy in each driver. This cleans up the code and also fixes a number of locking bugs.
2004-09-29[PATCH] tty locking cleanup and fixesAlan Cox
No problems reported other than Linus typo in an unbuildable driver from the last one. This one adds tty_ldisc_flush and also makes tty_wakeup do the queue wake as discussed with Paul. I've then propagated these functions through all the drivers. This means most drivers don't know about the ldisc locking and instead call generic functions that look after it. The result is the removal of a lot of duplicate code both for ldisc referencing and historical code for handling tty ldisc wakeup semantics. A nice side effect is that by adding versions of the two helpers we can switch most of the drivers over before changing the core tty code if preferred. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-05-30[PATCH] sparse: n_tty annotationAlexander Viro
n_tty annotated, ldisc_struct ->read() and ->write() got __user on their buf argument.
2003-09-04[PATCH] Move MODULE_ALIAS_LDISC to tty_ldisc.hRussell King
MODULE_ALIAS_LDISC() is not in any way architecture-specific, so don't put it in architecture header files. Here's a patch which moves it to a more sensible location.
2003-02-18[PATCH] TTY module refcounting fixAndrew Morton
Patch from Max Krasnyansky <maxk@qualcomm.com> This changeset adds module refcounting for TTY line disciplines. I've sent the patch to LKM earlier. No negative comments (actually most people didn't seem to care). This is needed at least for Bluetooth and IrDA (Jean is ok with the patch).
2002-02-04v2.4.3.3 -> v2.4.3.4Linus Torvalds
- David Miller: sparc rw semaphores moved over - Alan Cox: yet more resyncs - NIIBE Yutaka: Super-H driver update - David Howells: more rw-sem cleanups, updates - USB updates - Al Viro: filesystem init cleanup
2002-02-04Import changesetLinus Torvalds