Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb IPL_SOFTUSB suffices here to synchronize with us...
details: https://anonhg.NetBSD.org/src/rev/dd7dad8f1f07
branches: trunk
changeset: 353020:dd7dad8f1f07
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Apr 17 16:42:07 2017 +0000
description:
IPL_SOFTUSB suffices here to synchronize with usb xfer callback.
diffstat:
sys/dev/usb/ualea.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7b4471d1012e -r dd7dad8f1f07 sys/dev/usb/ualea.c
--- a/sys/dev/usb/ualea.c Mon Apr 17 15:43:40 2017 +0000
+++ b/sys/dev/usb/ualea.c Mon Apr 17 16:42:07 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ualea.c,v 1.3 2017/04/17 15:43:40 riastradh Exp $ */
+/* $NetBSD: ualea.c,v 1.4 2017/04/17 16:42:07 riastradh Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ualea.c,v 1.3 2017/04/17 15:43:40 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ualea.c,v 1.4 2017/04/17 16:42:07 riastradh Exp $");
#include <sys/types.h>
#include <sys/atomic.h>
@@ -103,7 +103,7 @@
sc->sc_dev = self;
sc->sc_udev = udev;
sc->sc_uif = uif;
- mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_USB);
+ mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_SOFTUSB);
rndsource_setcb(&sc->sc_rnd, ualea_get, sc);
rnd_attach_source(&sc->sc_rnd, device_xname(self), RND_TYPE_RNG,
RND_FLAG_COLLECT_VALUE|RND_FLAG_HASCB);
Home |
Main Index |
Thread Index |
Old Index