summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2000-08-06 20:58:11 +0000
committercg <cg@FreeBSD.org>2000-08-06 20:58:11 +0000
commiteffb6eb3f3ae080edeed7c596316d7da0bc14520 (patch)
tree7f0f06fb175ca420df0496c53f83791be0a6548c /sys
parent09cda20f320a0f4a9163372573b18604e0c4ae85 (diff)
downloadFreeBSD-src-effb6eb3f3ae080edeed7c596316d7da0bc14520.zip
FreeBSD-src-effb6eb3f3ae080edeed7c596316d7da0bc14520.tar.gz
sync CCR register definitions with creative sources
Diffstat (limited to 'sys')
-rw-r--r--sys/gnu/dev/sound/pci/emu10k1.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/gnu/dev/sound/pci/emu10k1.h b/sys/gnu/dev/sound/pci/emu10k1.h
index 52c4ac2..0ee34c6 100644
--- a/sys/gnu/dev/sound/pci/emu10k1.h
+++ b/sys/gnu/dev/sound/pci/emu10k1.h
@@ -339,10 +339,12 @@
#define CCCA_CURRADDR 0x18000008
#define CCR 0x09 /* Cache control register */
-#define CCR_CACHEINVALIDSIZE 0xfe000000 /* Number of invalid samples cache for this channel */
+#define CCR_CACHEINVALIDSIZE 0x07190009
+#define CCR_CACHEINVALIDSIZE_MASK 0xfe000000 /* Number of invalid samples cache for this channel */
#define CCR_CACHELOOPFLAG 0x01000000 /* 1 = Cache has a loop service pending */
#define CCR_INTERLEAVEDSAMPLES 0x00800000 /* 1 = A cache service will fetch interleaved samples */
#define CCR_WORDSIZEDSAMPLES 0x00400000 /* 1 = A cache service will fetch word sized samples */
+#define CCR_READADDRESS 0x06100009
#define CCR_READADDRESS_MASK 0x003f0000 /* Location of cache just beyond current cache service */
#define CCR_LOOPINVALSIZE 0x0000fe00 /* Number of invalid samples in cache prior to loop */
/* NOTE: This is valid only if CACHELOOPFLAG is set */
OpenPOWER on IntegriCloud