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/0ee382e947a8
branches:  trunk
changeset: 333151:0ee382e947a8
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 d082e91ba145 -r 0ee382e947a8 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