summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cs4231var.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-01-11 00:11:42 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-01-11 00:11:42 +0000
commit3e3650d9509f45221f3c86696a83e53df53f3ec9 (patch)
treef374b2500b6eedfd1b90442f0c55611ae45cf6fb /sys/arch/sparc/dev/cs4231var.h
parent61f7997e1714f586a704ae49a791587c442e5c1d (diff)
Only check for playback interrupts if we're actually expecting them.
(This fixes the crash in pr2212, but the magma still doesn't want to talk to the world... looks like oscillator problems). [Many thanks to John Baker <jdbaker@blkbox.com> for donating a MAGMA board for testing]
Diffstat (limited to 'sys/arch/sparc/dev/cs4231var.h')
-rw-r--r--sys/arch/sparc/dev/cs4231var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/cs4231var.h b/sys/arch/sparc/dev/cs4231var.h
index 90ae2b26c42..9258080ddd1 100644
--- a/sys/arch/sparc/dev/cs4231var.h
+++ b/sys/arch/sparc/dev/cs4231var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cs4231var.h,v 1.3 2001/10/05 17:32:20 jason Exp $ */
+/* $OpenBSD: cs4231var.h,v 1.4 2002/01/11 00:11:41 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -78,6 +78,7 @@ struct cs4231_softc {
u_int32_t sc_blksz;
u_int32_t sc_playcnt;
u_int32_t sc_playsegsz;
+ int sc_playing; /* currently playing */
struct cs_dma *sc_dmas; /* dma list */
struct cs_dma *sc_nowplaying;
};