patch-2.1.115 linux/arch/sparc64/prom/misc.c
Next file: linux/arch/sparc64/solaris/fs.c
Previous file: linux/arch/sparc64/mm/ultra.S
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Tue Aug 4 16:03:35 1998
- Orig file:
v2.1.114/linux/arch/sparc64/prom/misc.c
- Orig date:
Thu Jul 31 13:09:17 1997
diff -u --recursive --new-file v2.1.114/linux/arch/sparc64/prom/misc.c linux/arch/sparc64/prom/misc.c
@@ -1,4 +1,4 @@
-/* $Id: misc.c,v 1.9 1997/07/24 12:15:11 davem Exp $
+/* $Id: misc.c,v 1.10 1998/07/21 10:36:29 jj Exp $
* misc.c: Miscellaneous prom functions that don't belong
* anywhere else.
*
@@ -33,8 +33,7 @@
/* We want to do this more nicely some day. */
#ifdef CONFIG_SUN_CONSOLE
-extern void console_restore_palette(void);
-extern void set_palette(void);
+extern void (*prom_palette)(int);
extern int serial_console;
#endif
@@ -52,10 +51,8 @@
/* kernel_enter_debugger(); */
#ifdef CONFIG_SUN_CONSOLE
-#if 0
- if(!serial_console)
- console_restore_palette ();
-#endif
+ if(!serial_console && prom_palette)
+ prom_palette (1);
#endif
/* install_obp_ticker(); */
save_flags(flags); cli();
@@ -63,10 +60,8 @@
restore_flags(flags);
/* install_linux_ticker(); */
#ifdef CONFIG_SUN_CONSOLE
-#if 0
- if(!serial_console)
- set_palette ();
-#endif
+ if(!serial_console && prom_palette)
+ prom_palette (0);
#endif
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov