diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-08-29 17:20:55 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-08-29 17:20:55 -0400 |
| commit | a422142cfdf90d889d8d3e2affb8311a381530b7 (patch) | |
| tree | bde7e2c7a3ee8bca649aecd877a9ee1593f4223e /drivers/serial/sunsab.c | |
| parent | 6fc47e31c0e802d205d67e644f654532e5d365d5 (diff) | |
| parent | 60d4684068ff1eec78f55b5888d0bd2d4cca1520 (diff) | |
Merge branch 'master' into upstream
Diffstat (limited to 'drivers/serial/sunsab.c')
| -rw-r--r-- | drivers/serial/sunsab.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c index dc673e1b6fd9..cfe20f730436 100644 --- a/drivers/serial/sunsab.c +++ b/drivers/serial/sunsab.c | |||
| @@ -886,6 +886,15 @@ static int sunsab_console_setup(struct console *con, char *options) | |||
| 886 | unsigned long flags; | 886 | unsigned long flags; |
| 887 | unsigned int baud, quot; | 887 | unsigned int baud, quot; |
| 888 | 888 | ||
| 889 | /* | ||
| 890 | * The console framework calls us for each and every port | ||
| 891 | * registered. Defer the console setup until the requested | ||
| 892 | * port has been properly discovered. A bit of a hack, | ||
| 893 | * though... | ||
| 894 | */ | ||
| 895 | if (up->port.type != PORT_SUNSAB) | ||
| 896 | return -1; | ||
| 897 | |||
| 889 | printk("Console: ttyS%d (SAB82532)\n", | 898 | printk("Console: ttyS%d (SAB82532)\n", |
| 890 | (sunsab_reg.minor - 64) + con->index); | 899 | (sunsab_reg.minor - 64) + con->index); |
| 891 | 900 | ||
