Source-Changes-HG archive

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

[src/trunk]: src/sys More IPL_SCHED -> IPL_USB



details:   https://anonhg.NetBSD.org/src/rev/e4940daa69bb
branches:  trunk
changeset: 339986:e4940daa69bb
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Aug 19 06:23:35 2015 +0000

description:
More IPL_SCHED -> IPL_USB

diffstat:

 sys/arch/arm/allwinner/awin_otg.c |  6 +++---
 sys/dev/usb/ehci.c                |  6 +++---
 sys/dev/usb/motg.c                |  6 +++---
 sys/dev/usb/ohci.c                |  6 +++---
 sys/dev/usb/uhci.c                |  6 +++---
 sys/dev/usb/xhci.c                |  6 +++---
 6 files changed, 18 insertions(+), 18 deletions(-)

diffs (162 lines):

diff -r 0620483d2dc2 -r e4940daa69bb sys/arch/arm/allwinner/awin_otg.c
--- a/sys/arch/arm/allwinner/awin_otg.c Wed Aug 19 06:16:18 2015 +0000
+++ b/sys/arch/arm/allwinner/awin_otg.c Wed Aug 19 06:23:35 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_otg.c,v 1.5 2014/10/16 00:02:47 jmcneill Exp $ */
+/* $NetBSD: awin_otg.c,v 1.6 2015/08/19 06:23:35 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_otg.c,v 1.5 2014/10/16 00:02:47 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_otg.c,v 1.6 2015/08/19 06:23:35 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -137,7 +137,7 @@
        sc->sc_motg.sc_ep_max = 5;
        sc->sc_motg.sc_ep_fifosize = 512;
 
-       sc->sc_ih = intr_establish(loc->loc_intr, IPL_SCHED, IST_LEVEL,
+       sc->sc_ih = intr_establish(loc->loc_intr, IPL_USB, IST_LEVEL,
            awin_otg_intr, sc);
        if (sc->sc_ih == NULL) {
                aprint_error_dev(self, "couldn't establish interrupt %d\n",
diff -r 0620483d2dc2 -r e4940daa69bb sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Wed Aug 19 06:16:18 2015 +0000
+++ b/sys/dev/usb/ehci.c        Wed Aug 19 06:23:35 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.242 2015/07/11 03:06:25 msaitoh Exp $ */
+/*     $NetBSD: ehci.c,v 1.243 2015/08/19 06:23:35 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.242 2015/07/11 03:06:25 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.243 2015/08/19 06:23:35 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -370,7 +370,7 @@
 #endif
 
        mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_SOFTUSB);
-       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_SCHED);
+       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_USB);
        cv_init(&sc->sc_softwake_cv, "ehciab");
        cv_init(&sc->sc_doorbell, "ehcidi");
 
diff -r 0620483d2dc2 -r e4940daa69bb sys/dev/usb/motg.c
--- a/sys/dev/usb/motg.c        Wed Aug 19 06:16:18 2015 +0000
+++ b/sys/dev/usb/motg.c        Wed Aug 19 06:23:35 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: motg.c,v 1.12 2014/09/13 19:02:00 jmcneill Exp $       */
+/*     $NetBSD: motg.c,v 1.13 2015/08/19 06:23:35 skrll Exp $  */
 
 /*
  * Copyright (c) 1998, 2004, 2011, 2012, 2014 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
 #include "opt_motg.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: motg.c,v 1.12 2014/09/13 19:02:00 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: motg.c,v 1.13 2015/08/19 06:23:35 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -444,7 +444,7 @@
            "motgxfer", NULL, IPL_USB, NULL, NULL, NULL);
 
        mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_SOFTUSB);
-       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_SCHED);
+       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_USB);
 
        /* Set up the bus struct. */
        sc->sc_bus.methods = &motg_bus_methods;
diff -r 0620483d2dc2 -r e4940daa69bb sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Wed Aug 19 06:16:18 2015 +0000
+++ b/sys/dev/usb/ohci.c        Wed Aug 19 06:23:35 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.255 2015/03/30 11:54:43 skrll Exp $ */
+/*     $NetBSD: ohci.c,v 1.256 2015/08/19 06:23:35 skrll Exp $ */
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.255 2015/03/30 11:54:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.256 2015/08/19 06:23:35 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -645,7 +645,7 @@
        callout_init(&sc->sc_tmo_rhsc, CALLOUT_MPSAFE);
 
        mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_SOFTUSB);
-       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_SCHED);
+       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_USB);
        cv_init(&sc->sc_softwake_cv, "ohciab");
 
        sc->sc_rhsc_si = softint_establish(SOFTINT_NET | SOFTINT_MPSAFE,
diff -r 0620483d2dc2 -r e4940daa69bb sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c        Wed Aug 19 06:16:18 2015 +0000
+++ b/sys/dev/usb/uhci.c        Wed Aug 19 06:23:35 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci.c,v 1.265 2015/03/01 08:10:57 skrll Exp $ */
+/*     $NetBSD: uhci.c,v 1.266 2015/08/19 06:23:35 skrll Exp $ */
 
 /*
  * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.265 2015/03/01 08:10:57 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.266 2015/08/19 06:23:35 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -529,7 +529,7 @@
        callout_init(&sc->sc_poll_handle, CALLOUT_MPSAFE);
 
        mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_SOFTUSB);
-       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_SCHED);
+       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_USB);
        cv_init(&sc->sc_softwake_cv, "uhciab");
 
        /* Set up the bus struct. */
diff -r 0620483d2dc2 -r e4940daa69bb sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c        Wed Aug 19 06:16:18 2015 +0000
+++ b/sys/dev/usb/xhci.c        Wed Aug 19 06:23:35 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xhci.c,v 1.28 2014/11/18 10:18:45 skrll Exp $  */
+/*     $NetBSD: xhci.c,v 1.29 2015/08/19 06:23:35 skrll Exp $  */
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28 2014/11/18 10:18:45 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.29 2015/08/19 06:23:35 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -872,7 +872,7 @@
            xhci_op_read_4(sc, XHCI_USBCMD));
 
        mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_SOFTUSB);
-       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_SCHED);
+       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_USB);
        cv_init(&sc->sc_softwake_cv, "xhciab");
 
        sc->sc_xferpool = pool_cache_init(sizeof(struct xhci_xfer), 0, 0, 0,



Home | Main Index | Thread Index | Old Index