Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/arch/sparc/dev Pull up revision 1.9 (requested by p...
details: https://anonhg.NetBSD.org/src/rev/5b9a3e83a42d
branches: netbsd-1-6
changeset: 528073:5b9a3e83a42d
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Jun 24 12:08:28 2002 +0000
description:
Pull up revision 1.9 (requested by pk in ticket #357):
Make this work with AUDIO_C_HANDLER.
diffstat:
sys/arch/sparc/dev/audioamd.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 6845e491f6b2 -r 5b9a3e83a42d sys/arch/sparc/dev/audioamd.c
--- a/sys/arch/sparc/dev/audioamd.c Mon Jun 24 12:04:07 2002 +0000
+++ b/sys/arch/sparc/dev/audioamd.c Mon Jun 24 12:08:28 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audioamd.c,v 1.8 2002/03/11 16:27:01 pk Exp $ */
+/* $NetBSD: audioamd.c,v 1.8.6.1 2002/06/24 12:08:28 lukem Exp $ */
/* NetBSD: am7930_sparc.c,v 1.44 1999/03/14 22:29:00 jonathan Exp */
/*
@@ -391,9 +391,10 @@
#ifdef AUDIO_C_HANDLER
int
-am7930hwintr(sc)
- struct audioamd_softc *au0;
+am7930hwintr(v)
+ void *v;
{
+ struct audioamd_softc *sc = v;
struct auio *au = &sc->sc_au;
u_int8_t *d, *e;
int k;
@@ -425,7 +426,7 @@
}
}
- *(au->au_intrcnt)++;
+ au->au_intrcnt.ev_count++;
return (1);
}
#endif /* AUDIO_C_HANDLER */
Home |
Main Index |
Thread Index |
Old Index