summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-01-26 21:25:40 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-01-26 21:25:40 +0000
commit8a9e3c670ef47f7998305fe3afbd7adf63a67793 (patch)
tree47aacc22094bcefd10f59f5c9babec7b19e6f07a /sys/arch/hppa
parent80f8b838bb789c213130e6d1ecdff1974bc0a3d4 (diff)
Ok, playback more or less works, now for capture. (I forgot to save the pintr/parg)
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/gsc/harmony.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/hppa/gsc/harmony.c b/sys/arch/hppa/gsc/harmony.c
index 66294788573..7be7678bf60 100644
--- a/sys/arch/hppa/gsc/harmony.c
+++ b/sys/arch/hppa/gsc/harmony.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: harmony.c,v 1.2 2003/01/26 21:14:57 jason Exp $ */
+/* $OpenBSD: harmony.c,v 1.3 2003/01/26 21:25:39 jason Exp $ */
/*
* Copyright (c) 2003 Jason L. Wright (jason@thought.net)
@@ -912,7 +912,7 @@ harmony_get_props(void *vsc)
int
harmony_trigger_output(void *vsc, void *start, void *end, int blksize,
- void (*intr)(void *), void *arg, struct audio_params *param)
+ void (*intr)(void *), void *intrarg, struct audio_params *param)
{
struct harmony_softc *sc = vsc;
struct harmony_channel *c = &sc->sc_playback;
@@ -927,6 +927,9 @@ harmony_trigger_output(void *vsc, void *start, void *end, int blksize,
return (EINVAL);
}
+ c->c_intr = intr;
+ c->c_intrarg = intrarg;
+
n = (caddr_t)end - (caddr_t)start;
c->c_blksz = blksize;