patch-2.4.22 linux-2.4.22/drivers/sgi/char/sgicons.c

Next file: linux-2.4.22/drivers/sgi/char/sgiserial.c
Previous file: linux-2.4.22/drivers/sgi/char/rrm.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/sgi/char/sgicons.c linux-2.4.22/drivers/sgi/char/sgicons.c
@@ -1,45 +0,0 @@
-/*
- * sgicons.c: Setting up and registering console I/O on the SGI.
- *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
- * Copyright (C) 1997 Miguel de Icaza (miguel@nuclecu.unam.mx)
- *
- * This implements a virtual console interface.
- */
-#include <linux/init.h>
-#include <linux/kernel.h>
-#include <linux/errno.h>
-#include <linux/module.h>
-#include <asm/uaccess.h>
-#include "gconsole.h"
-
-/* This is the system graphics console (the first adapter found) */
-struct console_ops *gconsole = 0;
-struct console_ops *real_gconsole = 0;
-
-void
-enable_gconsole (void)
-{
-	if (!gconsole)
-		gconsole = real_gconsole;
-}
-
-void
-disable_gconsole (void)
-{
-	if (gconsole){
-		real_gconsole = gconsole;
-		gconsole = 0;
-	}
-}
-
-EXPORT_SYMBOL(disable_gconsole);
-EXPORT_SYMBOL(enable_gconsole);
-
-void
-register_gconsole (struct console_ops *gc)
-{
-	if (gconsole)
-		return;
-	gconsole = gc;
-}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)