Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67589
b: refs/heads/master
c: b63db45
h: refs/heads/master
i:
  67587: 40f5e47
v: v3
  • Loading branch information
Valentine Barshak authored and Paul Mackerras committed Oct 12, 2007
1 parent 9dccea3 commit 6eb53f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1189be6508d45183013ddb82b18f4934193de274
refs/heads/master: b63db45ca44a805ef21eb10a3750e88419156423
5 changes: 3 additions & 2 deletions trunk/arch/powerpc/kernel/legacy_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,10 @@ void __init find_legacy_serial_ports(void)
}

/* First fill our array with opb bus ports */
for (np = NULL; (np = of_find_compatible_node(np, "serial", "ns16750")) != NULL;) {
for (np = NULL; (np = of_find_compatible_node(np, "serial", "ns16550")) != NULL;) {
struct device_node *opb = of_get_parent(np);
if (opb && !strcmp(opb->type, "opb")) {
if (opb && (!strcmp(opb->type, "opb") ||
of_device_is_compatible(opb, "ibm,opb"))) {
index = add_legacy_soc_port(np, np);
if (index >= 0 && np == stdout)
legacy_serial_console = index;
Expand Down

0 comments on commit 6eb53f0

Please sign in to comment.