Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7293
b: refs/heads/master
c: cb14c4d
h: refs/heads/master
i:
  7291: 5957a32
v: v3
  • Loading branch information
Milton Miller authored and Paul Mackerras committed Sep 6, 2005
1 parent 0c35fd4 commit 73e8a03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 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: 5fdabaab01ee8928597aae8a0178a3a4f7b66365
refs/heads/master: cb14c4d641b4e083fae7ce4a0e8a3973cecb7554
16 changes: 4 additions & 12 deletions trunk/arch/ppc64/kernel/udbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,8 @@ void udbg_maple_real_putc(unsigned char c)
while ((real_readb(&udbg_comport->lsr) & LSR_THRE) == 0)
/* wait for idle */;
real_writeb(c, &udbg_comport->thr); eieio();
if (c == '\n') {
/* Also put a CR. This is for convenience. */
while ((real_readb(&udbg_comport->lsr) & LSR_THRE) == 0)
/* wait for idle */;
real_writeb('\r', &udbg_comport->thr); eieio();
}
if (c == '\n')
udbg_maple_real_putc('\r');
}
}

Expand All @@ -194,12 +190,8 @@ void udbg_putc(unsigned char c)
while ((in_8(&udbg_comport->lsr) & LSR_THRE) == 0)
/* wait for idle */;
out_8(&udbg_comport->thr, c);
if (c == '\n') {
/* Also put a CR. This is for convenience. */
while ((in_8(&udbg_comport->lsr) & LSR_THRE) == 0)
/* wait for idle */;
out_8(&udbg_comport->thr, '\r');
}
if (c == '\n')
udbg_putc('\r');
}
#ifdef CONFIG_PPC_PMAC
else if (sccc) {
Expand Down

0 comments on commit 73e8a03

Please sign in to comment.