summaryrefslogtreecommitdiff
path: root/include/linux/console.h
AgeCommit message (Collapse)Author
2003-04-24[PATCH] console cleanup (2/2)Alexander Viro
Console drivers cleanup. In current tree interaction between console and tty layer sits in the ->device() method of struct console. It takes a pointer to console and returns device number of its tty device. open(2) on /dev/console goes through the list of registered consoles, picks the first one that has ->device() and remaps the device number to console->device(console). Then it proceeds with normal opening of tty. This is the only caller of ->device(). Cleanup: let ->device() return a pair (pointer to tty_driver, index of tty in question) instead of device number. Note that a) the first thing tty_open() does with remapped device number is conversion to such pair. b) console driver _knows_ which tty_driver we want - one that implements tty interface to the same physical device (i.e. the part of the same driver). c) current code expects the result of ->device() to be a device number of tty device - anything else is immediate -ENODEV from tty_open(); might as well have NULL ->device in that driver. Console drivers converted, (the only) caller updated.
2003-04-24[PATCH] console cleanup (1/2)Alexander Viro
Preparation to console->device() cleanup: serial drivers converted to common helper for their ->device() methods.
2002-10-30Moved all console configuration out of arch directories into ↵James Simmons
drivers/video/console. Allow resize of a single VC via the tty layer. Nuked GET_FB_IDX.
2002-02-04v2.5.1.1 -> v2.5.1.2Linus Torvalds
- Al Viro: task-private namespaces, more cleanups
2002-02-04v2.4.14.3 -> v2.4.14.4Linus Torvalds
- Mikael Pettersson: make proc_misc happy without modules - Arjan van de Ven: clean up acpitable implementation ("micro-acpi") - Anton Altaparmakov: LDM partition code update - Alan Cox: final (yeah, sure) small missing pieces - Andrey Savochkin/Andrew Morton: eepro100 config space save/restore over suspend - Arjan van de Ven: remove power from pcmcia socket on card remove - Greg KH: USB updates - Neil Brown: multipath updates - Martin Dalecki: fix up some "asmlinkage" routine markings
2002-02-04v2.4.9.10 -> v2.4.9.11Linus Torvalds
- Neil Brown: md cleanups/fixes - Andrew Morton: console locking merge - Andrea Arkangeli: major VM merge
2002-02-04Import changesetLinus Torvalds