Module Name: src
Committed By: skrll
Date: Tue Jan 8 06:47:46 UTC 2013
Modified Files:
src/sys/dev/usb: usb.c
Log Message:
Improve a comment slightly
To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/sys/dev/usb/usb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/usb.c
diff -u src/sys/dev/usb/usb.c:1.138 src/sys/dev/usb/usb.c:1.139
--- src/sys/dev/usb/usb.c:1.138 Sat Jan 5 23:34:19 2013
+++ src/sys/dev/usb/usb.c Tue Jan 8 06:47:45 2013
@@ -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 @@ usb_once_init(void)
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");