Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb add USB_TASKQ_MPSAFE to usb_init_task args



details:   https://anonhg.NetBSD.org/src/rev/c9ad8886167a
branches:  trunk
changeset: 784225:c9ad8886167a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jan 22 15:19:48 2013 +0000

description:
add USB_TASKQ_MPSAFE to usb_init_task args

diffstat:

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

diffs (28 lines):

diff -r 79cc9da867c3 -r c9ad8886167a sys/dev/usb/dwc_otg.c
--- a/sys/dev/usb/dwc_otg.c     Tue Jan 22 14:03:43 2013 +0000
+++ b/sys/dev/usb/dwc_otg.c     Tue Jan 22 15:19:48 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dwc_otg.c,v 1.34 2013/01/22 13:06:41 skrll Exp $       */
+/*     $NetBSD: dwc_otg.c,v 1.35 2013/01/22 15:19:48 jmcneill Exp $    */
 
 /*-
  * Copyright (c) 2012 Hans Petter Selasky. All rights reserved.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc_otg.c,v 1.34 2013/01/22 13:06:41 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc_otg.c,v 1.35 2013/01/22 15:19:48 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -478,7 +478,8 @@
        }
 
        /* Execute the abort in a process context. */
-       usb_init_task(&dxfer->abort_task, dwc_otg_timeout_task, addr);
+       usb_init_task(&dxfer->abort_task, dwc_otg_timeout_task, addr,
+           USB_TASKQ_MPSAFE);
        usb_add_task(dxfer->xfer.pipe->device, &dxfer->abort_task,
            USB_TASKQ_HC);
 }



Home | Main Index | Thread Index | Old Index