Module Name: src
Committed By: jmcneill
Date: Sat Sep 7 10:45:53 UTC 2013
Modified Files:
src/sys/arch/arm/allwinner: awin_usb.c
Log Message:
usb irq handler should be IPL_SCHED
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/allwinner/awin_usb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/allwinner/awin_usb.c
diff -u src/sys/arch/arm/allwinner/awin_usb.c:1.4 src/sys/arch/arm/allwinner/awin_usb.c:1.5
--- src/sys/arch/arm/allwinner/awin_usb.c:1.4 Sat Sep 7 02:32:53 2013
+++ src/sys/arch/arm/allwinner/awin_usb.c Sat Sep 7 10:45:53 2013
@@ -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 @@ ohci_awinusb_attach(device_t parent, dev
}
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 @@ ehci_awinusb_attach(device_t parent, dev
}
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",