From: Chad Talbott <chadt@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] early_printk for SGI SN2
Date: Wed, 18 Jun 2003 21:29:09 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105597176305635@msgid-missing> (raw)
[-- 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
next reply other threads:[~2003-06-18 21:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-18 21:29 Chad Talbott [this message]
2003-06-18 21:56 ` [PATCH] early_printk for SGI SN2 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105597176305635@msgid-missing \
--to=chadt@sgi.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.