* [PATCH] More liberal check for mips-board console
@ 2007-03-19 0:05 Thiemo Seufer
2007-03-19 1:54 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2007-03-19 0:05 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
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 <ths@networkno.de>
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')
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-19 1:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19 0:05 [PATCH] More liberal check for mips-board console Thiemo Seufer
2007-03-19 1:54 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox