]> git.hungrycats.org Git - linux/commit
[PATCH] tty cleanups (12/12)
authorAlexander Viro <viro@www.linux.org.uk>
Wed, 23 Apr 2003 11:19:54 +0000 (04:19 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 23 Apr 2003 11:19:54 +0000 (04:19 -0700)
commita448f0d817d39fd791493cab307c278fd1eb5b33
tree57c340ba3b445dafe0e938fb4b11cdbf5eab2188
parent2b4107a8038d2313e7a0eda367f15356581aba08
[PATCH] tty cleanups (12/12)

* we allow tty_driver to cover more than 256 devices
* pty.c cleaned up - now we only one driver for UNIX98 masters and
only one driver for UNIX98 slaves, so a lot of ugliness can be killed.
* get_tty_driver() became an analog of get_gendisk() - it does
a lookup by device number and gives (pointer to tty_driver,index).
* registration/unregistration of tty_driver updated
* /proc/tty/drivers code updated (now one structure can be responsible
for several lines)
drivers/char/pty.c
drivers/char/tty_io.c
drivers/s390/char/con3215.c
drivers/s390/char/sclp_tty.c
fs/proc/proc_tty.c