Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb umidi is mpsafe



details:   https://anonhg.NetBSD.org/src/rev/9748be15785e
branches:  trunk
changeset: 784236:9748be15785e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jan 22 21:13:39 2013 +0000

description:
umidi is mpsafe

diffstat:

 sys/dev/usb/umidi.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3d38c8a37811 -r 9748be15785e sys/dev/usb/umidi.c
--- a/sys/dev/usb/umidi.c       Tue Jan 22 21:12:32 2013 +0000
+++ b/sys/dev/usb/umidi.c       Tue Jan 22 21:13:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umidi.c,v 1.63 2012/06/10 06:15:54 mrg Exp $   */
+/*     $NetBSD: umidi.c,v 1.64 2013/01/22 21:13:39 jmcneill Exp $      */
 /*
  * Copyright (c) 2001, 2012 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.63 2012/06/10 06:15:54 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.64 2013/01/22 21:13:39 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -513,7 +513,7 @@
            goto quit;
        }
        ep->next_slot = ep->buffer;
-       err = usbd_open_pipe(sc->sc_iface, ep->addr, 0, &ep->pipe);
+       err = usbd_open_pipe(sc->sc_iface, ep->addr, USBD_MPSAFE, &ep->pipe);
        if (err)
            usbd_free_xfer(ep->xfer);
        ep->solicit_cookie = softint_establish(SOFTINT_CLOCK, out_solicit, ep);



Home | Main Index | Thread Index | Old Index