Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sh3/dev remove extra CRLF conversion



details:   https://anonhg.NetBSD.org/src/rev/c0dc4c72518d
branches:  trunk
changeset: 535355:c0dc4c72518d
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Aug 16 08:56:27 2002 +0000

description:
remove extra CRLF conversion

diffstat:

 sys/arch/sh3/dev/sci.c  |  5 +----
 sys/arch/sh3/dev/scif.c |  5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r f99e87a58b36 -r c0dc4c72518d sys/arch/sh3/dev/sci.c
--- a/sys/arch/sh3/dev/sci.c    Fri Aug 16 08:54:18 2002 +0000
+++ b/sys/arch/sh3/dev/sci.c    Fri Aug 16 08:56:27 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sci.c,v 1.26 2002/05/19 15:10:47 msaitoh Exp $ */
+/* $NetBSD: sci.c,v 1.27 2002/08/16 08:56:27 msaitoh Exp $ */
 
 /*-
  * Copyright (C) 1999 T.Horiuchi and SAITOH Masanobu.  All rights reserved.
@@ -323,9 +323,6 @@
 sci_putc(unsigned char c)
 {
 
-       if (c == '\n')
-               sci_putc('\r');
-
        /* wait for ready */
        while ((SHREG_SCSSR & SCSSR_TDRE) == NULL)
                ;
diff -r f99e87a58b36 -r c0dc4c72518d sys/arch/sh3/dev/scif.c
--- a/sys/arch/sh3/dev/scif.c   Fri Aug 16 08:54:18 2002 +0000
+++ b/sys/arch/sh3/dev/scif.c   Fri Aug 16 08:56:27 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scif.c,v 1.26 2002/05/19 15:10:47 msaitoh Exp $ */
+/*     $NetBSD: scif.c,v 1.27 2002/08/16 08:56:28 msaitoh Exp $ */
 
 /*-
  * Copyright (C) 1999 T.Horiuchi and SAITOH Masanobu.  All rights reserved.
@@ -337,9 +337,6 @@
 scif_putc(unsigned char c)
 {
 
-       if (c == '\n')
-               scif_putc('\r');
-
        /* wait for ready */
        while ((SHREG_SCFDR2 & SCFDR2_TXCNT) == SCFDR2_TXF_FULL)
                ;



Home | Main Index | Thread Index | Old Index