mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
[SERIAL] sunzilog: Mirror the sunsab serial setup bug fix.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0f4184f73d
commit
b8b99e857d
1 changed files with 3 additions and 0 deletions
|
@ -1146,6 +1146,9 @@ static int __init sunzilog_console_setup(struct console *con, char *options)
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
int baud, brg;
|
int baud, brg;
|
||||||
|
|
||||||
|
if (up->port.type != PORT_SUNZILOG)
|
||||||
|
return -1;
|
||||||
|
|
||||||
printk(KERN_INFO "Console: ttyS%d (SunZilog zs%d)\n",
|
printk(KERN_INFO "Console: ttyS%d (SunZilog zs%d)\n",
|
||||||
(sunzilog_reg.minor - 64) + con->index, con->index);
|
(sunzilog_reg.minor - 64) + con->index, con->index);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue