]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] hvc_console: Separate hvc_console and vio code
authorMilton Miller <miltonm@bga.com>
Fri, 8 Jul 2005 00:56:24 +0000 (17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:39 +0000 (18:23 -0700)
commitbc1ad7a652a12237e4c7e09204a83838a85d79ac
treeda6d95fc65a48c36032cdfbb768385f50f7fb5ba
parentc6daf955d8de1115c50e51b1560c9d082fd85b9c
[PATCH] hvc_console: Separate hvc_console and vio code

Separate the console setup routines of the hvc_console and the vio layer.

Remove the call to find_init_vty from hvc_console.c.

Fail the setup routine if the console doesn't exist, but register the console
again when the specified channel is instantiated.  This scheme maintains the
print buffer semantics while eliminating callout and call back for the console
code.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/hvconsole.c
drivers/char/hvc_console.c
include/asm-ppc64/hvconsole.h