Skip to content

Commit

Permalink
[SERIAL] sunzilog: Mirror the sunsab serial setup bug fix.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Aug 23, 2006
1 parent 0f4184f commit b8b99e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/serial/sunzilog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b8b99e8

Please sign in to comment.