summaryrefslogtreecommitdiff
path: root/target/linux/ar7/files
diff options
context:
space:
mode:
authorEugene Konev <ejka@imfi.kspu.ru>2007-09-30 03:15:24 +0000
committerEugene Konev <ejka@imfi.kspu.ru>2007-09-30 03:15:24 +0000
commit4e6f272ba176796239599b699ce29cea258bee90 (patch)
tree1370b5fd68ebb55b613dd1225eee12644980fce0 /target/linux/ar7/files
parent06ea467e59567e45bd9d75dbd3a578062560c5b5 (diff)
downloadmtk-20170518-4e6f272ba176796239599b699ce29cea258bee90.zip
mtk-20170518-4e6f272ba176796239599b699ce29cea258bee90.tar.gz
mtk-20170518-4e6f272ba176796239599b699ce29cea258bee90.tar.bz2
don't enable rts/cts by default (thanks nabcore, #2400)
SVN-Revision: 9078
Diffstat (limited to 'target/linux/ar7/files')
-rw-r--r--target/linux/ar7/files/arch/mips/ar7/prom.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ar7/files/arch/mips/ar7/prom.c b/target/linux/ar7/files/arch/mips/ar7/prom.c
index a560c55..65fe0c0 100644
--- a/target/linux/ar7/files/arch/mips/ar7/prom.c
+++ b/target/linux/ar7/files/arch/mips/ar7/prom.c
@@ -247,11 +247,13 @@ static void __init console_config(void)
parity = 'n';
if (bits != '7' && bits != '8')
bits = '8';
- if (flow == '\0')
- flow = 'r';
- sprintf(console_string, " console=ttyS0,%d%c%c%c", baud,
- parity, bits, flow);
+ if (flow == 'r')
+ 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);
#endif
}