alistair23-linux/drivers/tty
Kay Sievers fbc92a3455 tty: add 'active' sysfs attribute to tty0 and console device
tty: add 'active' sysfs attribute to tty0 and console device

Userspace can query the actual virtual console, and the configured
console devices behind /dev/tt0 and /dev/console.

The last entry in the list of devices is the active device, analog
to the console= kernel command line option.

The attribute supports poll(), which is raised when the virtual
console is changed or /dev/console is reconfigured.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

index 0000000..b138b66
2010-12-16 16:15:34 -08:00
..
vt tty: add 'active' sysfs attribute to tty0 and console device 2010-12-16 16:15:34 -08:00
Makefile TTY: create drivers/tty/vt and move the vt code there 2010-11-05 08:16:52 -07:00
n_gsm.c n_gsm: clean up printks 2010-11-11 11:35:58 -08:00
n_hdlc.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00
n_r3964.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00
n_tty.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00
pty.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00
sysrq.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00
tty_audit.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00
tty_buffer.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00
tty_io.c tty: add 'active' sysfs attribute to tty0 and console device 2010-12-16 16:15:34 -08:00
tty_ioctl.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00
tty_ldisc.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00
tty_mutex.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00
tty_port.c TTY: create drivers/tty and move the tty core files there 2010-11-05 08:10:33 -07:00