summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>1999-12-12 02:16:14 +0000
committercg <cg@FreeBSD.org>1999-12-12 02:16:14 +0000
commitf1be6706cf778d9ab56e7bc0f0c7d2ba5fc27b84 (patch)
tree0c2cb95bf4a81c2e8a7ada4e67d5f0b3110df567 /sys
parente19cc0dd4faa046a35874be88336c0f17dab807c (diff)
downloadFreeBSD-src-f1be6706cf778d9ab56e7bc0f0c7d2ba5fc27b84.zip
FreeBSD-src-f1be6706cf778d9ab56e7bc0f0c7d2ba5fc27b84.tar.gz
increase buffer size, reduce number of channels allocated since we only use
1 at the moment
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/pci/t4dwave.c8
-rw-r--r--sys/dev/sound/pci/t4dwave.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/sound/pci/t4dwave.c b/sys/dev/sound/pci/t4dwave.c
index 9309962..7539da7 100644
--- a/sys/dev/sound/pci/t4dwave.c
+++ b/sys/dev/sound/pci/t4dwave.c
@@ -38,6 +38,14 @@
/* -------------------------------------------------------------------- */
+#define TDX_PCI_ID 0x20001023
+#define TNX_PCI_ID 0x20011023
+
+#define TR_BUFFSIZE 0xf000
+#define TR_TIMEOUT_CDC 0xffff
+#define TR_INTSAMPLES 0x2000
+#define TR_MAXPLAYCH 4
+
struct tr_info;
/* channel registers */
diff --git a/sys/dev/sound/pci/t4dwave.h b/sys/dev/sound/pci/t4dwave.h
index 1e68c86..661c6db 100644
--- a/sys/dev/sound/pci/t4dwave.h
+++ b/sys/dev/sound/pci/t4dwave.h
@@ -29,14 +29,6 @@
#ifndef _T4DWAVE_REG_H
#define _T4DWAVE_REG_H
-#define TDX_PCI_ID 0x20001023
-#define TNX_PCI_ID 0x20011023
-
-#define TR_BUFFSIZE 0x8000
-#define TR_TIMEOUT_CDC 0xffff
-#define TR_INTSAMPLES 0x2000
-#define TR_MAXPLAYCH 64
-
#define TR_REG_CIR 0xa0
#define TR_CIR_MASK 0x0000003f
#define TR_CIR_ADDRENA 0x00001000
OpenPOWER on IntegriCloud