public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] early_printk for SGI SN2
@ 2003-06-18 21:29 Chad Talbott
  2003-06-18 21:56 ` David Mosberger
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Chad Talbott @ 2003-06-18 21:29 UTC (permalink / raw)
  To: linux-ia64

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]

This patch requires the console driver that's pending inclusion in
Linus' tree, but will not get in the way as long as
IA64_EARLY_PRINTK_SGI_SN is config'd off.

Thanks,
Chad


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: early_printk.diff --]
[-- Type: text/x-patch, Size: 995 bytes --]

diff -Nru a/kernel/printk.c b/kernel/printk.c
--- a/kernel/printk.c	Tue Jun 17 14:47:33 2003
+++ b/kernel/printk.c	Tue Jun 17 14:47:33 2003
@@ -784,6 +784,10 @@
 
 # endif /* CONFIG_IA64_EARLY_PRINTK_UART */
 
+#ifdef CONFIG_IA64_EARLY_PRINTK_SGI_SN
+extern int sal_cons_console_out(const char *str, int len);
+#endif
+
 void early_printk(const char *str, size_t len)
 {
 #ifdef CONFIG_IA64_EARLY_PRINTK_UART
@@ -791,6 +795,9 @@
 #endif
 #ifdef CONFIG_IA64_EARLY_PRINTK_VGA
 	early_printk_vga(str, len);
+#endif
+#ifdef CONFIG_IA64_EARLY_PRINTK_SGI_SN
+ 	sal_cons_console_out(str, len);
 #endif
 }
 
diff -Nru a/arch/ia64/Kconfig b/arch/ia64/Kconfig
--- a/arch/ia64/Kconfig	Tue Jun 17 14:45:16 2003
+++ b/arch/ia64/Kconfig	Tue Jun 17 14:45:16 2003
@@ -863,6 +831,10 @@
 
 config IA64_EARLY_PRINTK_VGA
 	bool "Early printk on VGA"
+	depends on IA64_EARLY_PRINTK
+
+config IA64_EARLY_PRINTK_SGI_SN
+	bool "Early printk on SGI SN serial console"
 	depends on IA64_EARLY_PRINTK
 
 config DEBUG_SLAB

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-06-19  0:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-18 21:29 [PATCH] early_printk for SGI SN2 Chad Talbott
2003-06-18 21:56 ` David Mosberger
2003-06-18 22:04 ` Chad Talbott
2003-06-18 22:13 ` David Mosberger
2003-06-18 22:30 ` Chad Talbott
2003-06-19  0:31 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox