usb irq handler should be IPL_SCHED

This commit is contained in:
jmcneill 2013-09-07 10:45:53 +00:00
parent 53914b01fc
commit ce02c0de21
1 changed files with 3 additions and 3 deletions

View File

@ -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, device_t self, void *aux)
}
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, device_t self, void *aux)
}
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",