aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2005-07-07 20:56:24 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 21:23:39 -0400
commitd5ee257c3342185ba8ab642d125d192eb99ea8f2 (patch)
treeda6d95fc65a48c36032cdfbb768385f50f7fb5ba /include
parent7805b1b29ffdd252dfef36aa28d7bda70cd586d3 (diff)
[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>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/hvconsole.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-ppc64/hvconsole.h b/include/asm-ppc64/hvconsole.h
index d89d94c91815..91c2414ac00b 100644
--- a/include/asm-ppc64/hvconsole.h
+++ b/include/asm-ppc64/hvconsole.h
@@ -32,9 +32,6 @@
32extern int hvc_get_chars(uint32_t vtermno, char *buf, int count); 32extern int hvc_get_chars(uint32_t vtermno, char *buf, int count);
33extern int hvc_put_chars(uint32_t vtermno, const char *buf, int count); 33extern int hvc_put_chars(uint32_t vtermno, const char *buf, int count);
34 34
35/* Early discovery of console adapters. */ 35/* Register a vterm and a slot index for use as a console */
36extern int hvc_find_vtys(void);
37
38/* Implemented by a console driver */
39extern int hvc_instantiate(uint32_t vtermno, int index); 36extern int hvc_instantiate(uint32_t vtermno, int index);
40#endif /* _PPC64_HVCONSOLE_H */ 37#endif /* _PPC64_HVCONSOLE_H */