Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/dev If we handle multiple events from the z...
details: https://anonhg.NetBSD.org/src/rev/5e008ff95d91
branches: trunk
changeset: 526367:5e008ff95d91
user: rafal <rafal%NetBSD.org@localhost>
date: Thu May 02 20:26:49 2002 +0000
description:
If we handle multiple events from the zs chip in one interrupt, don't count
that as multiple interrupts.
diffstat:
sys/arch/sgimips/dev/zs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 6e49c6c6c9a7 -r 5e008ff95d91 sys/arch/sgimips/dev/zs.c
--- a/sys/arch/sgimips/dev/zs.c Thu May 02 18:56:55 2002 +0000
+++ b/sys/arch/sgimips/dev/zs.c Thu May 02 20:26:49 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zs.c,v 1.9 2002/04/17 13:49:55 rafal Exp $ */
+/* $NetBSD: zs.c,v 1.10 2002/05/02 20:26:49 rafal Exp $ */
/*-
* Copyright (c) 1996, 2000 The NetBSD Foundation, Inc.
@@ -382,9 +382,9 @@
if (zsc == NULL)
continue;
+ zsc->zsc_intrcnt.ev_count++;
while ((rr3 = zsc_intr_hard(zsc))) {
rval |= rr3;
- zsc->zsc_intrcnt.ev_count++;
}
softreq = zsc->zsc_cs[0]->cs_softreq;
Home |
Main Index |
Thread Index |
Old Index