Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/allwinner IPL_USB -> IPL_SCHED for intr handlers



details:   https://anonhg.NetBSD.org/src/rev/a5bb011e2c14
branches:  trunk
changeset: 333460:a5bb011e2c14
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Nov 05 01:07:26 2014 +0000

description:
IPL_USB -> IPL_SCHED for intr handlers

diffstat:

 sys/arch/arm/allwinner/awin_usb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r ed96377ca7d2 -r a5bb011e2c14 sys/arch/arm/allwinner/awin_usb.c
--- a/sys/arch/arm/allwinner/awin_usb.c Wed Nov 05 00:50:17 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_usb.c Wed Nov 05 01:07:26 2014 +0000
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.15 2014/10/12 13:07:45 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.16 2014/11/05 01:07:26 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -151,7 +151,7 @@
        const int irq = awin_chip_id() == AWIN_CHIP_ID_A31 ?
                        awinusb_ohci_irqs_a31[usbaa->usbaa_port] :
                        awinusb_ohci_irqs[usbaa->usbaa_port];
-       usbsc->usbsc_ohci_ih = intr_establish(irq, IPL_USB,
+       usbsc->usbsc_ohci_ih = intr_establish(irq, IPL_SCHED,
            IST_LEVEL, ohci_intr, sc);
        if (usbsc->usbsc_ohci_ih == NULL) {
                aprint_error_dev(self, "failed to establish interrupt %d\n",
@@ -228,7 +228,7 @@
        const int irq = awin_chip_id() == AWIN_CHIP_ID_A31 ?
                        awinusb_ehci_irqs_a31[usbaa->usbaa_port] :
                        awinusb_ehci_irqs[usbaa->usbaa_port];
-       usbsc->usbsc_ehci_ih = intr_establish(irq, IPL_USB,
+       usbsc->usbsc_ehci_ih = intr_establish(irq, IPL_SCHED,
            IST_LEVEL, ehci_intr, sc);
        if (usbsc->usbsc_ehci_ih == NULL) {
                aprint_error_dev(self, "failed to establish interrupt %d\n",



Home | Main Index | Thread Index | Old Index