diff options
author | Marc Zyngier <maz@misterjones.org> | 2006-07-17 18:53:32 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-07-21 17:17:57 -0400 |
commit | 44f2650b134b423128063ded29a11454b924390e (patch) | |
tree | 4d66896d3235c77dc0b6f1871fee911eedc1f879 /drivers/serial | |
parent | 06ffd7956e4790d824b4b5575b56def8448ec6d4 (diff) |
[SPARC64] Fix sunsab ports ordering
Register second SAB port before the first one, as serial A is wired to
it, and expected to appear as ttyS0.
Signed-off-by: Marc Zyngier <maz@misterjones.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/sunsab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sunsab.c b/drivers/serial/sunsab.c index 979497f108c8..cb55d81c27d9 100644 --- a/drivers/serial/sunsab.c +++ b/drivers/serial/sunsab.c | |||
@@ -1061,8 +1061,8 @@ static int __devinit sab_probe(struct of_device *op, const struct of_device_id * | |||
1061 | return err; | 1061 | return err; |
1062 | } | 1062 | } |
1063 | 1063 | ||
1064 | uart_add_one_port(&sunsab_reg, &up[0].port); | ||
1065 | uart_add_one_port(&sunsab_reg, &up[1].port); | 1064 | uart_add_one_port(&sunsab_reg, &up[1].port); |
1065 | uart_add_one_port(&sunsab_reg, &up[0].port); | ||
1066 | 1066 | ||
1067 | dev_set_drvdata(&op->dev, &up[0]); | 1067 | dev_set_drvdata(&op->dev, &up[0]); |
1068 | 1068 | ||