Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Use splusb() like the other drivers instead of s...



details:   https://anonhg.NetBSD.org/src/rev/c349b3f0ad6f
branches:  trunk
changeset: 818166:c349b3f0ad6f
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sat Oct 01 07:23:40 2016 +0000

description:
Use splusb() like the other drivers instead of splnet().

diffstat:

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

diffs (27 lines):

diff -r 109cfa74a66a -r c349b3f0ad6f sys/dev/usb/if_run.c
--- a/sys/dev/usb/if_run.c      Sat Oct 01 07:21:45 2016 +0000
+++ b/sys/dev/usb/if_run.c      Sat Oct 01 07:23:40 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_run.c,v 1.17 2016/10/01 07:21:45 mlelstv Exp $      */
+/*     $NetBSD: if_run.c,v 1.18 2016/10/01 07:23:40 mlelstv Exp $      */
 /*     $OpenBSD: if_run.c,v 1.90 2012/03/24 15:11:04 jsg Exp $ */
 
 /*-
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_run.c,v 1.17 2016/10/01 07:21:45 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_run.c,v 1.18 2016/10/01 07:23:40 mlelstv Exp $");
 
 #include <sys/param.h>
 #include <sys/sockio.h>
@@ -749,7 +749,7 @@
 
        pmf_device_deregister(self);
 
-       s = splnet();
+       s = splusb();
 
        sc->sc_flags |= RUN_DETACHING;
 



Home | Main Index | Thread Index | Old Index