summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorMarc Zyngier <maz@misterjones.org>2006-07-17 15:53:32 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-07-21 14:17:57 -0700
commit44f2650b134b423128063ded29a11454b924390e (patch)
tree4d66896d3235c77dc0b6f1871fee911eedc1f879 /drivers/serial
parent06ffd7956e4790d824b4b5575b56def8448ec6d4 (diff)
downloadblackbird-op-linux-44f2650b134b423128063ded29a11454b924390e.tar.gz
blackbird-op-linux-44f2650b134b423128063ded29a11454b924390e.zip
[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.c2
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 *
return err;
}
- uart_add_one_port(&sunsab_reg, &up[0].port);
uart_add_one_port(&sunsab_reg, &up[1].port);
+ uart_add_one_port(&sunsab_reg, &up[0].port);
dev_set_drvdata(&op->dev, &up[0]);
OpenPOWER on IntegriCloud