Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Improve a comment slightly



details:   https://anonhg.NetBSD.org/src/rev/95b53dbd353e
branches:  trunk
changeset: 783765:95b53dbd353e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Jan 08 06:47:45 2013 +0000

description:
Improve a comment slightly

diffstat:

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

diffs (29 lines):

diff -r 43b3d7d8de3a -r 95b53dbd353e sys/dev/usb/usb.c
--- a/sys/dev/usb/usb.c Mon Jan 07 23:40:52 2013 +0000
+++ b/sys/dev/usb/usb.c Tue Jan 08 06:47:45 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb.c,v 1.138 2013/01/05 23:34:19 christos Exp $       */
+/*     $NetBSD: usb.c,v 1.139 2013/01/08 06:47:45 skrll Exp $  */
 
 /*
  * Copyright (c) 1998, 2002, 2008, 2012 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.138 2013/01/05 23:34:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.139 2013/01/08 06:47:45 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -226,8 +226,8 @@
 
                TAILQ_INIT(&taskq->tasks);
                /*
-                * Since USB tasks are callable from any context, we have to
-                * make this lock a spinlock.
+                * Since USB task methods usb_{add,rem}_task are callable
+                * from any context, we have to make this lock a spinlock.
                 */
                mutex_init(&taskq->lock, MUTEX_DEFAULT, IPL_USB);
                cv_init(&taskq->cv, "usbtsk");



Home | Main Index | Thread Index | Old Index