commit | b8b99e857d0e258b0da17e55466e5142465d35fd | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@sunset.davemloft.net> | Wed Aug 23 15:53:39 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Aug 23 15:53:39 2006 -0700 |
tree | 7cae85965f21792664506e9f85f2a983ee0ee53d | |
parent | 0f4184f73d5233214d3225a94fcf1bd4d6678d74 [diff] |
[SERIAL] sunzilog: Mirror the sunsab serial setup bug fix. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/drivers/serial/sunzilog.c b/drivers/serial/sunzilog.c index 47bc3d5..d34f336 100644 --- a/drivers/serial/sunzilog.c +++ b/drivers/serial/sunzilog.c
@@ -1146,6 +1146,9 @@ 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);