From: "Tom \"spot\" Callaway" <[EMAIL PROTECTED]>
Date: Wed, 23 May 2007 14:04:02 -0500

> Just for kicks, I tried passing esp_bus_reset_settle=10, but it doesn't
> change the result at all.
> 
> I also grabbed a log with esp_debug=2047, that log is attached.

Does this fix the problem?

diff --git a/arch/sparc/kernel/prom.c b/arch/sparc/kernel/prom.c
index 227daca..17389f1 100644
--- a/arch/sparc/kernel/prom.c
+++ b/arch/sparc/kernel/prom.c
@@ -575,6 +575,8 @@ EXPORT_SYMBOL(of_console_path);
 char *of_console_options;
 EXPORT_SYMBOL(of_console_options);
 
+extern void restore_current(void);
+
 static void __init of_console_init(void)
 {
        char *msg = "OF stdout device is: %s";
@@ -633,6 +635,7 @@ static void __init of_console_init(void)
 
                spin_lock_irqsave(&prom_lock, flags);
                node = (*romvec->pv_v2devops.v2_inst2pkg)(fd);
+               restore_current();
                spin_unlock_irqrestore(&prom_lock, flags);
 
                if (!node) {
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to