Thread (2 messages) flat view 2 messages, 2 authors, 2007-03-19
STALE7128d

[PATCH] More liberal check for mips-board console

From: Thiemo Seufer <hidden>
Date: 2007-03-19 00:05:38
Subsystem: mips, the rest · Maintainers: Thomas Bogendoerfer, Linus Torvalds

Hello All,

the appended patch allows to override the MALTA/ATLAS/etc. default
console setting with non-serial console devices.


Thiemo


Signed-Off-By: Thiemo Seufer <redacted>
diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/generic/init.c
index 1acdf09..88e9c2a 100644
--- a/arch/mips/mips-boards/generic/init.c
+++ b/arch/mips/mips-boards/generic/init.c
@@ -145,7 +145,7 @@ static void __init console_config(void)
 	char parity = '\0', bits = '\0', flow = '\0';
 	char *s;
 
-	if ((strstr(prom_getcmdline(), "console=ttyS")) == NULL) {
+	if ((strstr(prom_getcmdline(), "console=")) == NULL) {
 		s = prom_getenv("modetty0");
 		if (s) {
 			while (*s >= '0' && *s <= '9')
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help