projects
/
openwrt
/
staging
/
noltari.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ea467
)
don't enable rts/cts by default (thanks nabcore, #2400)
author
Eugene Konev
<ejka@imfi.kspu.ru>
Sun, 30 Sep 2007 03:15:24 +0000
(
03:15
+0000)
committer
Eugene Konev
<ejka@imfi.kspu.ru>
Sun, 30 Sep 2007 03:15:24 +0000
(
03:15
+0000)
SVN-Revision: 9078
target/linux/ar7/files/arch/mips/ar7/prom.c
patch
|
blob
|
history
diff --git
a/target/linux/ar7/files/arch/mips/ar7/prom.c
b/target/linux/ar7/files/arch/mips/ar7/prom.c
index a560c551c25ba973c63eabd71e3e8c4962ee638f..65fe0c0f9dd165d2df6ad98ee820cd7a497ef206 100644
(file)
--- 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
}