[PATCH] uml: move console configuration
authorJeff Dike <jdike@addtoit.com>
Fri, 6 Jan 2006 08:18:55 +0000 (00:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:46 +0000 (08:33 -0800)
commit1f80171e81ed0d08dcdb6efe239d7b929aef498f
treef6f72268ddee265b46ceb698cdff6daa7cba6250
parent418e55d49b0ec7d2e7a033f2dd083f5b2ab7d119
[PATCH] uml: move console configuration

This patch changes when console devices are configured in order to prepare the
ground for the next patch.

parse_chan_pair is now done earlier, when initcalls are run, rather than when
the device is opened.

When a host device disappears, the channel list is closed, but not freed.
This is required by the previous change.  line_config now takes the options
structure as an argument, and line_open doesn't.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/chan_kern.c
arch/um/drivers/line.c
arch/um/drivers/ssl.c
arch/um/drivers/stdio_console.c
arch/um/include/line.h