OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
119537c
)
[MIPS] mips-boards: More liberal check for mips-board console
author
Thiemo Seufer
<ths@networkno.de>
Mon, 19 Mar 2007 00:05:06 +0000
(
00:05
+0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 19 Mar 2007 20:22:43 +0000
(20:22 +0000)
Allows overriding the MALTA/ATLAS/etc. default console setting with
non-serial console devices.
Signed-Off-By: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/generic/init.c
patch
|
blob
|
history
diff --git
a/arch/mips/mips-boards/generic/init.c
b/arch/mips/mips-boards/generic/init.c
index
1acdf09
..
88e9c2a
100644
(file)
--- 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')