Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Fix some bad indentation.



details:   https://anonhg.NetBSD.org/src/rev/8d0ce24fcaa7
branches:  trunk
changeset: 507823:8d0ce24fcaa7
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sun Apr 01 03:28:11 2001 +0000

description:
Fix some bad indentation.

diffstat:

 sys/dev/usb/umct.c   |  23 +++++++++++------------
 sys/dev/usb/uplcom.c |  16 ++++++++--------
 2 files changed, 19 insertions(+), 20 deletions(-)

diffs (68 lines):

diff -r dd9ed69827dd -r 8d0ce24fcaa7 sys/dev/usb/umct.c
--- a/sys/dev/usb/umct.c        Sun Apr 01 02:40:33 2001 +0000
+++ b/sys/dev/usb/umct.c        Sun Apr 01 03:28:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umct.c,v 1.1 2001/03/28 18:42:13 ichiro Exp $  */
+/*     $NetBSD: umct.c,v 1.2 2001/04/01 03:28:11 augustss Exp $        */
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -592,18 +592,17 @@
                return;
        }
 
-       DPRINTF(("%s: umct status = MSR:%02x, LSR:%02x\n", USBDEVNAME(sc->sc_dev), 
-               buf[0],buf[1]));
+       DPRINTF(("%s: umct status = MSR:%02x, LSR:%02x\n",
+                USBDEVNAME(sc->sc_dev), buf[0],buf[1]));
 
-               sc->sc_lsr = sc->sc_msr = 0;
-               mstatus = buf[0];
-               lstatus = buf[1];
-               if (ISSET(mstatus, MSR_DSR))
-                       sc->sc_msr |= UMSR_DSR;
-               if (ISSET(mstatus, MSR_DCD))
-                       sc->sc_msr |= UMSR_DCD;
-               ucom_status_change((struct ucom_softc *) sc->sc_subdev);
-
+       sc->sc_lsr = sc->sc_msr = 0;
+       mstatus = buf[0];
+       lstatus = buf[1];
+       if (ISSET(mstatus, MSR_DSR))
+               sc->sc_msr |= UMSR_DSR;
+       if (ISSET(mstatus, MSR_DCD))
+               sc->sc_msr |= UMSR_DCD;
+       ucom_status_change((struct ucom_softc *)sc->sc_subdev);
 }
 
 void
diff -r dd9ed69827dd -r 8d0ce24fcaa7 sys/dev/usb/uplcom.c
--- a/sys/dev/usb/uplcom.c      Sun Apr 01 02:40:33 2001 +0000
+++ b/sys/dev/usb/uplcom.c      Sun Apr 01 03:28:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uplcom.c,v 1.14 2001/03/26 12:58:44 ichiro Exp $       */
+/*     $NetBSD: uplcom.c,v 1.15 2001/04/01 03:28:11 augustss Exp $     */
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -648,13 +648,13 @@
 
        DPRINTF(("%s: uplcom status = %02x\n", USBDEVNAME(sc->sc_dev), buf[8]));
 
-               sc->sc_lsr = sc->sc_msr = 0;
-               pstatus = buf[8];
-               if (ISSET(pstatus, RSAQ_STATUS_DSR))
-                       sc->sc_msr |= UMSR_DSR;
-               if (ISSET(pstatus, RSAQ_STATUS_DCD))
-                       sc->sc_msr |= UMSR_DCD;
-               ucom_status_change((struct ucom_softc *) sc->sc_subdev);
+       sc->sc_lsr = sc->sc_msr = 0;
+       pstatus = buf[8];
+       if (ISSET(pstatus, RSAQ_STATUS_DSR))
+               sc->sc_msr |= UMSR_DSR;
+       if (ISSET(pstatus, RSAQ_STATUS_DCD))
+               sc->sc_msr |= UMSR_DCD;
+       ucom_status_change((struct ucom_softc *) sc->sc_subdev);
 }
 
 void



Home | Main Index | Thread Index | Old Index