Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Move some comments



details:   https://anonhg.NetBSD.org/src/rev/13b4d0320963
branches:  trunk
changeset: 1008231:13b4d0320963
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Mar 15 14:58:54 2020 +0000

description:
Move some comments

diffstat:

 sys/dev/usb/uhci.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 1b3bd9b8af95 -r 13b4d0320963 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c        Sun Mar 15 14:19:04 2020 +0000
+++ b/sys/dev/usb/uhci.c        Sun Mar 15 14:58:54 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci.c,v 1.297 2020/03/15 13:59:20 skrll Exp $ */
+/*     $NetBSD: uhci.c,v 1.298 2020/03/15 14:58:54 skrll Exp $ */
 
 /*
  * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.297 2020/03/15 13:59:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.298 2020/03/15 14:58:54 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -460,8 +460,10 @@
        if (err)
                return err;
        sc->sc_pframes = KERNADDR(&sc->sc_dma, 0);
-       UWRITE2(sc, UHCI_FRNUM, 0);             /* set frame number to 0 */
-       UWRITE4(sc, UHCI_FLBASEADDR, DMAADDR(&sc->sc_dma, 0)); /* set frame list*/
+       /* set frame number to 0 */
+       UWRITE2(sc, UHCI_FRNUM, 0);
+       /* set frame list*/
+       UWRITE4(sc, UHCI_FLBASEADDR, DMAADDR(&sc->sc_dma, 0));
 
        /* Initialise mutex early for uhci_alloc_* */
        mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_SOFTUSB);



Home | Main Index | Thread Index | Old Index