]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitd5ee257c3342185ba8ab642d125d192eb99ea8f2
treeda6d95fc65a48c36032cdfbb768385f50f7fb5ba
parent7805b1b29ffdd252dfef36aa28d7bda70cd586d3
[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