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 For now the interrupt handler is not ...



details:   https://anonhg.NetBSD.org/src/rev/dec5d4ce1ef8
branches:  trunk
changeset: 803293:dec5d4ce1ef8
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Oct 20 20:02:16 2014 +0000

description:
For now the interrupt handler is not MPSAFE

diffstat:

 sys/arch/arm/allwinner/awin_gige.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 9b0e5f3fc5f6 -r dec5d4ce1ef8 sys/arch/arm/allwinner/awin_gige.c
--- a/sys/arch/arm/allwinner/awin_gige.c        Mon Oct 20 19:51:40 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_gige.c        Mon Oct 20 20:02:16 2014 +0000
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_gige.c,v 1.15 2014/10/19 17:01:40 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_gige.c,v 1.16 2014/10/20 20:02:16 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -124,7 +124,7 @@
        /*
         * Interrupt handler
         */
-       sc->sc_ih = intr_establish(loc->loc_intr, IPL_VM, IST_LEVEL|IST_MPSAFE,
+       sc->sc_ih = intr_establish(loc->loc_intr, IPL_NET, IST_LEVEL,
            awin_gige_intr, sc);
        if (sc->sc_ih == NULL) {
                aprint_error_dev(self, "failed to establish interrupt %d\n",



Home | Main Index | Thread Index | Old Index