summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorariff <ariff@FreeBSD.org>2007-01-27 07:35:05 +0000
committerariff <ariff@FreeBSD.org>2007-01-27 07:35:05 +0000
commite055eda20eac9877836c3055bb209f2a754fe7d7 (patch)
tree655c3a07d240e3553a0ab7d9098233055642496e /sys/dev/sound
parent5b6974c9c1a30e251035a116148f5cee401d0f7c (diff)
downloadFreeBSD-src-e055eda20eac9877836c3055bb209f2a754fe7d7.zip
FreeBSD-src-e055eda20eac9877836c3055bb209f2a754fe7d7.tar.gz
Reduce maximum DMA segments from 128 to 64. We don't need more than that.
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pci/via8233.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/via8233.c b/sys/dev/sound/pci/via8233.c
index a2dfd4a..b0fd072 100644
--- a/sys/dev/sound/pci/via8233.c
+++ b/sys/dev/sound/pci/via8233.c
@@ -63,7 +63,7 @@ SND_DECLARE_FILE("$FreeBSD$");
#define NCHANS (NWRCHANS + NDXSCHANS + NMSGDCHANS)
#define NSEGS NCHANS * SEGS_PER_CHAN /* Segments in SGD table */
#define VIA_SEGS_MIN 2
-#define VIA_SEGS_MAX 128
+#define VIA_SEGS_MAX 64
#define VIA_SEGS_DEFAULT 2
#define VIA_DEFAULT_BUFSZ 0x1000
OpenPOWER on IntegriCloud