projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f4184f
)
[SERIAL] sunzilog: Mirror the sunsab serial setup bug fix.
author
David S. Miller
<davem@sunset.davemloft.net>
Wed, 23 Aug 2006 22:53:39 +0000
(15:53 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 23 Aug 2006 22:53:39 +0000
(15:53 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunzilog.c
patch
|
blob
|
history
diff --git
a/drivers/serial/sunzilog.c
b/drivers/serial/sunzilog.c
index 47bc3d57e019e225f533d0a30e7b8bdf8fa71fc2..d34f336d53d80db4fdebd4016e8f9dedb077c770 100644
(file)
--- a/
drivers/serial/sunzilog.c
+++ b/
drivers/serial/sunzilog.c
@@
-1146,6
+1146,9
@@
static int __init sunzilog_console_setup(struct console *con, char *options)
unsigned long flags;
int baud, brg;
+ if (up->port.type != PORT_SUNZILOG)
+ return -1;
+
printk(KERN_INFO "Console: ttyS%d (SunZilog zs%d)\n",
(sunzilog_reg.minor - 64) + con->index, con->index);