Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21508
b: refs/heads/master
c: f5deb80
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent 10198fe commit 719870a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55555633bd4e72534b53c50525817259435e18df
refs/heads/master: f5deb807b8cd5c8fe48cbb4f7f5dd70cfbdb1178
1 change: 1 addition & 0 deletions trunk/drivers/serial/sunhv.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ static int __init sunhv_init(void)
return ret;
}

sunhv_reg.tty_driver->name_base = sunhv_reg.minor - 64;
sunserial_current_minor += 1;

sunhv_reg.cons = SUNHV_CONSOLE();
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/serial/sunsab.c
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,8 @@ static int __init sunsab_init(void)
return ret;
}

sunsab_reg.tty_driver->name_base = sunsab_reg.minor - 64;

sunsab_reg.cons = SUNSAB_CONSOLE();

sunserial_current_minor += num_channels;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/serial/sunsu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1529,6 +1529,8 @@ static int __init sunsu_serial_init(void)
if (ret < 0)
return ret;

sunsu_reg.tty_driver->name_base = sunsu_reg.minor - 64;

sunserial_current_minor += instance;

sunsu_reg.cons = SUNSU_CONSOLE();
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/serial/sunzilog.c
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,7 @@ static int __init sunzilog_ports_init(void)

ret = uart_register_driver(&sunzilog_reg);
if (ret == 0) {
sunzilog_reg.tty_driver->name_base = sunzilog_reg.minor - 64;
sunzilog_reg.cons = SUNZILOG_CONSOLE();

sunserial_current_minor += uart_count;
Expand Down

0 comments on commit 719870a

Please sign in to comment.