summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/dart.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-06-12 03:50:11 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-06-12 03:50:11 +0000
commit4fb24fe6958a3be077dfb9d8c25c9d772c8eb6cf (patch)
tree2943832f112de5b52b072492e59fec95c70b5160 /sys/arch/mvme88k/dev/dart.c
parent276a58d2aab250fb358c21f43fbefc77fba654bf (diff)
cnputc() will take care of the necessary cr->cr/lf translation, so don't
do it in those consoles either.
Diffstat (limited to 'sys/arch/mvme88k/dev/dart.c')
-rw-r--r--sys/arch/mvme88k/dev/dart.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/sys/arch/mvme88k/dev/dart.c b/sys/arch/mvme88k/dev/dart.c
index baecc2aa2db..301b6f71c4d 100644
--- a/sys/arch/mvme88k/dev/dart.c
+++ b/sys/arch/mvme88k/dev/dart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dart.c,v 1.17 2002/04/28 15:17:09 miod Exp $ */
+/* $OpenBSD: dart.c,v 1.18 2002/06/12 03:49:56 miod Exp $ */
/*
* Mach Operating System
@@ -1193,16 +1193,9 @@ dartcnputc(dev, c)
DELAY_CR;
ptaddr->write.wr_cr = TXEN;
- /* If the character is a line feed(\n) */
- /* then follow it with carriage return (\r) */
- for (;;) {
- while (!(ptaddr->read.rd_sr & TXRDY))
- ;
- ptaddr->write.wr_tb = c;
- if (c != '\n')
- break;
- c = '\r';
- }
+ while (!(ptaddr->read.rd_sr & TXRDY))
+ ;
+ ptaddr->write.wr_tb = c;
/* wait for transmitter to empty */
while (!(ptaddr->read.rd_sr & TXEMT))