Increment device interrupt event counter when redispatching an interrupt.
authormiod <miod@openbsd.org>
Mon, 18 Aug 2008 23:09:42 +0000 (23:09 +0000)
committermiod <miod@openbsd.org>
Mon, 18 Aug 2008 23:09:42 +0000 (23:09 +0000)
sys/arch/vax/uba/uba_sbi.c

index b6ee3c9..f2c57de 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: uba_sbi.c,v 1.4 2005/11/24 04:55:18 brad Exp $        */
+/*     $OpenBSD: uba_sbi.c,v 1.5 2008/08/18 23:09:42 miod Exp $        */
 /*     $NetBSD: uba_sbi.c,v 1.1 1999/06/21 16:23:01 ragge Exp $           */
 /*
  * Copyright (c) 1996 Jonathan Stone.
@@ -224,6 +224,7 @@ uba_dw780int(uba)
                func = scb_vec[vec/4].hoppaddr;
                arg = scb_vec[vec/4].pushlarg;
                (*func)(arg);
+               scb_vec[vec/4].ev->ec_count++;
        }
 }