2 * sgicons.c: Setting up and registering console I/O on the SGI.
4 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
5 * Copyright (C) 1997 Miguel de Icaza (miguel@nuclecu.unam.mx)
7 * This implements a virtual console interface.
9 #include <linux/init.h>
10 #include <linux/kernel.h>
11 #include <linux/errno.h>
12 #include <linux/module.h>
13 #include <asm/uaccess.h>
16 /* This is the system graphics console (the first adapter found) */
17 struct console_ops *gconsole = 0;
18 struct console_ops *real_gconsole = 0;
21 enable_gconsole (void)
24 gconsole = real_gconsole;
28 disable_gconsole (void)
31 real_gconsole = gconsole;
36 EXPORT_SYMBOL(disable_gconsole);
37 EXPORT_SYMBOL(enable_gconsole);
40 register_gconsole (struct console_ops *gc)