summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/hvconsole.h
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2005-07-08 02:56:24 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-08 03:23:39 +0200
commitd5ee257c3342185ba8ab642d125d192eb99ea8f2 (patch)
treeda6d95fc65a48c36032cdfbb768385f50f7fb5ba /include/asm-ppc64/hvconsole.h
parent[PATCH] hvc_console: Add some sanity checks (diff)
downloadlinux-d5ee257c3342185ba8ab642d125d192eb99ea8f2.tar.xz
linux-d5ee257c3342185ba8ab642d125d192eb99ea8f2.zip
[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/asm-ppc64/hvconsole.h')
-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 @@
extern int hvc_get_chars(uint32_t vtermno, char *buf, int count);
extern int hvc_put_chars(uint32_t vtermno, const char *buf, int count);
-/* Early discovery of console adapters. */
-extern int hvc_find_vtys(void);
-
-/* Implemented by a console driver */
+/* Register a vterm and a slot index for use as a console */
extern int hvc_instantiate(uint32_t vtermno, int index);
#endif /* _PPC64_HVCONSOLE_H */