From 1a73d72d3b56c3ffd546e86986d356406741ed24 Mon Sep 17 00:00:00 2001 From: rafal Date: Thu, 2 May 2002 20:26:49 +0000 Subject: [PATCH] If we handle multiple events from the zs chip in one interrupt, don't count that as multiple interrupts. --- sys/arch/sgimips/dev/zs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sgimips/dev/zs.c b/sys/arch/sgimips/dev/zs.c index d4d5c45b620b..68005cac14f7 100644 --- a/sys/arch/sgimips/dev/zs.c +++ b/sys/arch/sgimips/dev/zs.c @@ -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 @@ zshard(arg) 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;