diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 17:31:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 17:31:57 +0000 |
commit | 2911dd665ac9b5d0981c2a31acbdd128bc511847 (patch) | |
tree | 3f80cfe4c71fe011df50028cb1636f57edd4ff2c /sys | |
parent | 9e4f7b73b1d00cc24e759f6ce4d4316c30430335 (diff) |
irq counter
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/dev/amd7930.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/amd7930.c b/sys/arch/sparc/dev/amd7930.c index 94e69e1ccdc..0702e095162 100644 --- a/sys/arch/sparc/dev/amd7930.c +++ b/sys/arch/sparc/dev/amd7930.c @@ -1,4 +1,4 @@ -/* $NetBSD: amd7930.c,v 1.4 1995/07/19 19:50:16 brezak Exp $ */ +/* $NetBSD: amd7930.c,v 1.2 1995/05/04 19:43:27 pk Exp $ */ /* * Copyright (c) 1995 Rolf Grossmann @@ -83,7 +83,7 @@ struct amd7930_softc { /* sc_au is special in that the hardware interrupt handler uses it */ struct auio sc_au; /* recv and xmit buffers, etc */ -#define sc_intrcnt sc_au.au_intrcnt /* statistics */ +#define sc_intrcnt sc_au.au_intrcnt }; /* interrupt interfaces */ @@ -914,6 +914,7 @@ amd7930hwintr(au0) } } + *(au->au_intrcnt)++; return (1); } #endif /* AUDIO_C_HANDLER */ |