Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Remove white-spaces, null-line and new-line.



details:   https://anonhg.NetBSD.org/src/rev/523f1fb943de
branches:  trunk
changeset: 788876:523f1fb943de
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sat Jul 27 06:43:56 2013 +0000

description:
Remove white-spaces, null-line and new-line.

diffstat:

 sys/dev/ic/com.c |  14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diffs (63 lines):

diff -r d7654bdee1e8 -r 523f1fb943de sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Fri Jul 26 19:49:19 2013 +0000
+++ b/sys/dev/ic/com.c  Sat Jul 27 06:43:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.310 2013/05/01 07:38:00 mlelstv Exp $ */
+/* $NetBSD: com.c,v 1.311 2013/07/27 06:43:56 kiyohara Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2004, 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.310 2013/05/01 07:38:00 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.311 2013/07/27 06:43:56 kiyohara Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"
@@ -251,7 +251,7 @@
        com_data, com_data, com_dlbl, com_dlbh, com_ier, com_iir, com_fifo, \
        com_efr, com_lcr, com_mcr, com_lsr, com_msr, 0, 0, 0, 0, 0, 0, 0, 0, \
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, com_usr }
- 
+
 #ifdef COM_16750
 const bus_size_t com_std_map[32] = COM_REG_16750;
 #else
@@ -416,7 +416,6 @@
                            (u_long)comcons_info.regs.cr_iobase);
                }
 
-               
                /* Make sure the console is always "hardwired". */
                delay(10000);                   /* wait for output to finish */
                if (is_console) {
@@ -436,7 +435,7 @@
                fifo_msg = "Au1X00 UART, working fifo";
                SET(sc->sc_hwflags, COM_HW_FIFO);
                goto fifodelay;
- 
+
        case COM_TYPE_16550_NOERS:
                sc->sc_fifolen = 16;
                fifo_msg = "ns16650, no ERS, working fifo";
@@ -477,8 +476,7 @@
                        CSR_WRITE_1(regsp, COM_REG_LCR, LCR_EERS);
                        CSR_WRITE_1(regsp, COM_REG_EFR, 0);
                        if (CSR_READ_1(regsp, COM_REG_EFR) == 0) {
-                               CSR_WRITE_1(regsp, COM_REG_LCR,
-                                   lcr | LCR_DLAB);
+                               CSR_WRITE_1(regsp, COM_REG_LCR, lcr | LCR_DLAB);
                                if (CSR_READ_1(regsp, COM_REG_EFR) == 0) {
                                        CLR(sc->sc_hwflags, COM_HW_FIFO);
                                        sc->sc_fifolen = 0;
@@ -2229,7 +2227,7 @@
                if (type == COM_TYPE_AU1x00) {
                        CSR_WRITE_2(regsp, COM_REG_DLBL, rate);
                } else {
-                       /* no EFR on alchemy */ 
+                       /* no EFR on alchemy */
                        if (type != COM_TYPE_16550_NOERS) {
                                CSR_WRITE_1(regsp, COM_REG_LCR, LCR_EERS);
                                CSR_WRITE_1(regsp, COM_REG_EFR, 0);



Home | Main Index | Thread Index | Old Index