patch-2.1.97 linux/drivers/char/vt.c

Next file: linux/drivers/fc4/fc.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.96/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -1183,20 +1183,14 @@
 #ifdef CONFIG_SUN_CONSOLE
 	if (old_vc_mode != vt_cons[new_console]->vc_mode)
 	{
-		extern void set_cursor(int currcons);
-		extern void hide_cursor(void);
-
 	 	if (old_vc_mode == KD_GRAPHICS)
 		{
-			extern void sun_clear_margin(void);
-			extern void render_screen(void);
-			
-			sun_clear_margin();
-			render_screen();
-			set_cursor(fg_console);
+			suncons_ops.clear_margin();
+			suncons_ops.render_screen();
+			suncons_ops.set_cursor(fg_console);
 		}
 		else
-			hide_cursor();
+			suncons_ops.hide_cursor();
 	}
 #endif		
       /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov