diff options
Diffstat (limited to 'sys/arch')
-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 */ |