Skip to content

Commit

Permalink
[SPARC64] Fix sunsab ports ordering
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marc Zyngier authored and David S. Miller committed Jul 21, 2006
1 parent 06ffd79 commit 44f2650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/sunsab.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);

Expand Down

0 comments on commit 44f2650

Please sign in to comment.