Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/tsarm/isa whoops, had intr mask inverted



details:   https://anonhg.NetBSD.org/src/rev/b833f92c9241
branches:  trunk
changeset: 573265:b833f92c9241
user:      joff <joff%NetBSD.org@localhost>
date:      Mon Jan 24 02:36:04 2005 +0000

description:
whoops, had intr mask inverted

diffstat:

 sys/arch/evbarm/tsarm/isa/isa_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f2137c8c65b0 -r b833f92c9241 sys/arch/evbarm/tsarm/isa/isa_machdep.c
--- a/sys/arch/evbarm/tsarm/isa/isa_machdep.c   Mon Jan 24 02:08:57 2005 +0000
+++ b/sys/arch/evbarm/tsarm/isa/isa_machdep.c   Mon Jan 24 02:36:04 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isa_machdep.c,v 1.1 2004/12/23 04:31:48 joff Exp $     */
+/*     $NetBSD: isa_machdep.c,v 1.2 2005/01/24 02:36:04 joff Exp $     */
 
 /*-
  * Copyright (c) 1996-1998 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.1 2004/12/23 04:31:48 joff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.2 2005/01/24 02:36:04 joff Exp $");
 
 #include "opt_irqstats.h"
 
@@ -125,7 +125,7 @@
        count = -1;
 
        /* some interrupts should never be dynamically allocated */
-       mask &= 0xff1f;
+       mask &= 0x00e0;
 
        for (i = 0; i < sizeof(isairq); i++) {
                if ((mask & (1<<isairq[i])) == 0)



Home | Main Index | Thread Index | Old Index