| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] More liberal check for mips-board console |
| From: | Thiemo Seufer <ths@networkno.de> |
| Date: | Mon, 19 Mar 2007 00:05:06 +0000 |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.13 (2006-08-11) |
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')
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: IP32 prom crashes due to __pa() funkiness, Kumba |
|---|---|
| Next by Date: | [PATCH] Cleanup for plat_irq_dispatch functions, Thiemo Seufer |
| Previous by Thread: | [PATCH] Fix Symmetric Uniprocessor support for Qemu, Atsushi Nemoto |
| Next by Thread: | Re: [PATCH] More liberal check for mips-board console, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |