Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Comment & whitespace.



details:   https://anonhg.NetBSD.org/src/rev/aeac4723b730
branches:  trunk
changeset: 748971:aeac4723b730
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Nov 12 08:54:00 2009 +0000

description:
Comment & whitespace.

diffstat:

 sys/dev/usb/ohci.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r ae0ccd08de5a -r aeac4723b730 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Thu Nov 12 08:51:50 2009 +0000
+++ b/sys/dev/usb/ohci.c        Thu Nov 12 08:54:00 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.201 2009/11/01 06:36:44 uebayasi Exp $      */
+/*     $NetBSD: ohci.c,v 1.202 2009/11/12 08:54:00 uebayasi Exp $      */
 /*     $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $       */
 
 /*
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.201 2009/11/01 06:36:44 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.202 2009/11/12 08:54:00 uebayasi Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1231,7 +1231,7 @@
                 */
                ohci_rhsc(sc, sc->sc_intrxfer);
                /* Do not allow RHSC interrupts > 1 per second */
-                usb_callout(sc->sc_tmo_rhsc, hz, ohci_rhsc_enable, sc);
+               usb_callout(sc->sc_tmo_rhsc, hz, ohci_rhsc_enable, sc);
        }
 
        sc->sc_bus.intr_context--;
@@ -1812,7 +1812,7 @@
        opipe->tail.td = tail;
        OWRITE4(sc, OHCI_COMMAND_STATUS, OHCI_CLF);
        if (xfer->timeout && !sc->sc_bus.use_polling) {
-                usb_callout(xfer->timeout_handle, mstohz(xfer->timeout),
+               usb_callout(xfer->timeout_handle, mstohz(xfer->timeout),
                            ohci_timeout, xfer);
        }
        splx(s);
@@ -2416,7 +2416,7 @@
        {0x00, 0x01},           /* USB version */
        UDCLASS_HUB,            /* class */
        UDSUBCLASS_HUB,         /* subclass */
-       UDPROTO_FSHUB,
+       UDPROTO_FSHUB,          /* protocol */
        64,                     /* max packet */
        {0},{0},{0x00,0x01},    /* device id */
        1,2,0,                  /* string indicies */
@@ -3041,7 +3041,7 @@
            BUS_DMASYNC_PREWRITE | BUS_DMASYNC_PREREAD);
        OWRITE4(sc, OHCI_COMMAND_STATUS, OHCI_BLF);
        if (xfer->timeout && !sc->sc_bus.use_polling) {
-                usb_callout(xfer->timeout_handle, mstohz(xfer->timeout),
+               usb_callout(xfer->timeout_handle, mstohz(xfer->timeout),
                            ohci_timeout, xfer);
        }
 



Home | Main Index | Thread Index | Old Index