Module Name:    src
Committed By:   skrll
Date:           Fri Nov 14 08:20:22 UTC 2014

Modified Files:
        src/sys/arch/arm/allwinner: awin_usb.c

Log Message:
IPL_SCHED -> IPL_VM

Something isn't MP safe.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 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.16 src/sys/arch/arm/allwinner/awin_usb.c:1.17
--- src/sys/arch/arm/allwinner/awin_usb.c:1.16	Wed Nov  5 01:07:26 2014
+++ src/sys/arch/arm/allwinner/awin_usb.c	Fri Nov 14 08:20:22 2014
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.16 2014/11/05 01:07:26 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.17 2014/11/14 08:20:22 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -151,7 +151,7 @@ ohci_awinusb_attach(device_t parent, dev
 	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_SCHED,
+	usbsc->usbsc_ohci_ih = intr_establish(irq, IPL_VM,
 	    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 @@ ehci_awinusb_attach(device_t parent, dev
 	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_SCHED,
+	usbsc->usbsc_ehci_ih = intr_establish(irq, IPL_VM,
 	    IST_LEVEL, ehci_intr, sc);
 	if (usbsc->usbsc_ehci_ih == NULL) {
 		aprint_error_dev(self, "failed to establish interrupt %d\n",

Reply via email to