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 Move interrupts back to IPL_USB



details:   https://anonhg.NetBSD.org/src/rev/eac3fd074a66
branches:  trunk
changeset: 789795:eac3fd074a66
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Sep 08 01:01:33 2013 +0000

description:
Move interrupts back to IPL_USB

diffstat:

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

diffs (30 lines):

diff -r 59fd7d9390f0 -r eac3fd074a66 sys/arch/arm/allwinner/awin_usb.c
--- a/sys/arch/arm/allwinner/awin_usb.c Sun Sep 08 00:55:25 2013 +0000
+++ b/sys/arch/arm/allwinner/awin_usb.c Sun Sep 08 01:01:33 2013 +0000
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.8 2013/09/07 22:51:41 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.9 2013/09/08 01:01:33 matt Exp $");
 
 #include <sys/bus.h>
 #include <sys/device.h>
@@ -144,7 +144,7 @@
        }
 
        const int irq = awinusb_ohci_irqs[usbaa->usbaa_port];
-       usbsc->usbsc_ohci_ih = intr_establish(irq, IPL_SCHED,
+       usbsc->usbsc_ohci_ih = intr_establish(irq, IPL_USB,
            IST_LEVEL, ohci_intr, sc);
        if (usbsc->usbsc_ohci_ih == NULL) {
                aprint_error_dev(self, "failed to establish interrupt %d\n",
@@ -217,7 +217,7 @@
        }
 
        const int irq = awinusb_ehci_irqs[usbaa->usbaa_port];
-       usbsc->usbsc_ehci_ih = intr_establish(irq, IPL_SCHED,
+       usbsc->usbsc_ehci_ih = intr_establish(irq, IPL_USB,
            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