Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb KNF a comment.



details:   https://anonhg.NetBSD.org/src/rev/e597d1be796a
branches:  nick-nhusb
changeset: 334087:e597d1be796a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Dec 22 08:24:20 2014 +0000

description:
KNF a comment.

diffstat:

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

diffs (31 lines):

diff -r 38ad01775b08 -r e597d1be796a sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Mon Dec 22 08:23:35 2014 +0000
+++ b/sys/dev/usb/ehci.c        Mon Dec 22 08:24:20 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.234.2.17 2014/12/22 08:23:35 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.234.2.18 2014/12/22 08:24:20 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.17 2014/12/22 08:23:35 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.18 2014/12/22 08:24:20 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -2841,8 +2841,10 @@
                USBHIST_LOG(ehcidebug, "cbp=0x%08zx end=0x%08zx",
                    (size_t)curoffs, (size_t)(curoffs + curlen), 0, 0);
 
-               /* adjust the toggle based on the number of packets in this
-                  qtd */
+               /*
+                * adjust the toggle based on the number of packets in this
+                * qtd
+                */
                if (((curlen + mps - 1) / mps) & 1) {
                        tog ^= 1;
                        qtdstatus ^= EHCI_QTD_TOGGLE_MASK;



Home | Main Index | Thread Index | Old Index