don't enable rts/cts by default (thanks nabcore, #2400)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9078 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
5071febc67
commit
01c698b649
|
@ -247,11 +247,13 @@ static void __init console_config(void)
|
||||||
parity = 'n';
|
parity = 'n';
|
||||||
if (bits != '7' && bits != '8')
|
if (bits != '7' && bits != '8')
|
||||||
bits = '8';
|
bits = '8';
|
||||||
if (flow == '\0')
|
|
||||||
flow = 'r';
|
|
||||||
|
|
||||||
sprintf(console_string, " console=ttyS0,%d%c%c%c", baud,
|
if (flow == 'r')
|
||||||
parity, bits, flow);
|
sprintf(console_string, " console=ttyS0,%d%c%c%c", baud,
|
||||||
|
parity, bits, flow);
|
||||||
|
else
|
||||||
|
sprintf(console_string, " console=ttyS0,%d%c%c", baud, parity,
|
||||||
|
bits);
|
||||||
strcat(prom_getcmdline(), console_string);
|
strcat(prom_getcmdline(), console_string);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue