Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=471e7a44848f467c9b83adc3463d019d2fa8817f
Commit:     471e7a44848f467c9b83adc3463d019d2fa8817f
Parent:     b09e789c438c406bd9bcaac6f1c940a75007e59f
Author:     Peter Chubb <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 16 15:03:07 2007 +1000
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Fri Aug 17 13:44:15 2007 -0700

    [IA64] Enable early console for Ski simulator
    
    When using Ski to debug early startup, it's a bit of a pain not to
    have printk.
    
    This patch enables the simulated console very early.
    It may be worth conditionalising on the command line... but this is
    enough for now.
    
    Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/setup.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c
index cd9a37a..407efea 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -389,6 +389,13 @@ early_console_setup (char *cmdline)
        if (!efi_setup_pcdp_console(cmdline))
                earlycons++;
 #endif
+#ifdef CONFIG_HP_SIMSERIAL_CONSOLE
+       {
+               extern struct console hpsim_cons;
+               register_console(&hpsim_cons);
+               earlycons++;
+       }
+#endif
 
        return (earlycons) ? 0 : -1;
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to