Skip to contentSkip to conversation

More liberal check for mips-board console

PATCH In review Thiemo Seufer 2 participants 2 messages Mar 19, 2007 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 More liberal check for mips-board console

Hello All,

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

Thiemo

arch/mips/mips-boards/generic/init.c +1 -1
index 1acdf09..88e9c2a 100644
@@ -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')
#1 lore raw
Quoted 2 lines · Thiemo Seufer

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

Okay, applied also. I take it you've done some more Qemu VGA fixing. I hope it means that I can soon delete all the VGA initialization rubbish in q-vga.c - as it currently exists, it is not mergable.

Ralf