Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33451
b: refs/heads/master
c: 0f4184f
h: refs/heads/master
i:
  33449: 8597cef
  33447: 0618b3c
v: v3
  • Loading branch information
Marc Zyngier authored and David S. Miller committed Aug 23, 2006
1 parent b1a643c commit 8fbd0f2
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 25848c4e502ec2bb94ee1f3c82709311059d0857
refs/heads/master: 0f4184f73d5233214d3225a94fcf1bd4d6678d74
9 changes: 9 additions & 0 deletions trunk/drivers/serial/sunsab.c
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,15 @@ static int sunsab_console_setup(struct console *con, char *options)
unsigned long flags;
unsigned int baud, quot;

/*
* The console framework calls us for each and every port
* registered. Defer the console setup until the requested
* port has been properly discovered. A bit of a hack,
* though...
*/
if (up->port.type != PORT_SUNSAB)
return -1;

printk("Console: ttyS%d (SAB82532)\n",
(sunsab_reg.minor - 64) + con->index);

Expand Down

0 comments on commit 8fbd0f2

Please sign in to comment.