Re: [PATCH]: Better serial console identification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Tom \"spot\" Callaway" <tcallawa@xxxxxxxxxx>
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux