Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ews4800mips/ews4800mips Check and update intc_cause...
details: https://anonhg.NetBSD.org/src/rev/0a960b5b4493
branches: trunk
changeset: 762628:0a960b5b4493
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Feb 24 14:40:43 2011 +0000
description:
Check and update intc_cause on each iteration of interrupt handler loop.
Fixes silent hang during SCSI probe.
diffstat:
sys/arch/ews4800mips/ews4800mips/tr2a_intr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r ca5c9c585b50 -r 0a960b5b4493 sys/arch/ews4800mips/ews4800mips/tr2a_intr.c
--- a/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c Thu Feb 24 14:33:23 2011 +0000
+++ b/sys/arch/ews4800mips/ews4800mips/tr2a_intr.c Thu Feb 24 14:40:43 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tr2a_intr.c,v 1.13 2011/02/20 07:55:20 matt Exp $ */
+/* $NetBSD: tr2a_intr.c,v 1.14 2011/02/24 14:40:43 tsutsui Exp $ */
/*-
* Copyright (c) 2004, 2005 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tr2a_intr.c,v 1.13 2011/02/20 07:55:20 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tr2a_intr.c,v 1.14 2011/02/24 14:40:43 tsutsui Exp $");
#define __INTR_PRIVATE
#include <sys/param.h>
@@ -287,6 +287,7 @@
*INTC_CLEAR_REG = 0x14;
*INTC_STATUS_REG;
}
+ intc_cause = *INTC_STATUS_REG & *INTC_MASK_REG;
}
}
Home |
Main Index |
Thread Index |
Old Index