Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/arch/arm/allwinner Pull up following revision(s) (req...



details:   https://anonhg.NetBSD.org/src/rev/cb004aa4cf1d
branches:  netbsd-7
changeset: 798607:cb004aa4cf1d
user:      snj <snj%NetBSD.org@localhost>
date:      Thu Nov 20 10:05:06 2014 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #252):
        sys/arch/arm/allwinner/awin_usb.c: revision 1.17
IPL_SCHED -> IPL_VM
Something isn't MP safe.

diffstat:

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

diffs (30 lines):

diff -r 554e12475af8 -r cb004aa4cf1d sys/arch/arm/allwinner/awin_usb.c
--- a/sys/arch/arm/allwinner/awin_usb.c Tue Nov 18 19:11:36 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_usb.c Thu Nov 20 10:05:06 2014 +0000
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.12.2.1 2014/11/09 14:42:33 martin Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_usb.c,v 1.12.2.2 2014/11/20 10:05:06 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -151,7 +151,7 @@
        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 @@
        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",



Home | Main Index | Thread Index | Old Index