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 usb irq handler should be IPL_SCHED



details:   https://anonhg.NetBSD.org/src/rev/3d0d8c6c9f31
branches:  trunk
changeset: 789770:3d0d8c6c9f31
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Sep 07 10:45:53 2013 +0000

description:
usb irq handler should be IPL_SCHED

diffstat:

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

diffs (30 lines):

diff -r 1d561d074b02 -r 3d0d8c6c9f31 sys/arch/arm/allwinner/awin_usb.c
--- a/sys/arch/arm/allwinner/awin_usb.c Sat Sep 07 09:22:37 2013 +0000
+++ b/sys/arch/arm/allwinner/awin_usb.c Sat Sep 07 10:45:53 2013 +0000
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.4 2013/09/07 02:32:53 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.5 2013/09/07 10:45:53 jmcneill Exp $");
 
 #include <sys/bus.h>
 #include <sys/device.h>
@@ -155,7 +155,7 @@
        }
 
        const int irq = 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",
@@ -235,7 +235,7 @@
        }
 
        const int irq = 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