summaryrefslogtreecommitdiffstats
path: root/drivers/serial/sunsab.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@misterjones.org>2006-07-18 00:53:32 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-07-21 23:17:57 +0200
commit44f2650b134b423128063ded29a11454b924390e (patch)
tree4d66896d3235c77dc0b6f1871fee911eedc1f879 /drivers/serial/sunsab.c
parent[SPARC]: Kill prom_getname, unused and not implemented properly. (diff)
downloadlinux-44f2650b134b423128063ded29a11454b924390e.tar.xz
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/sunsab.c')
-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]);