patch-2.2.15 linux/drivers/sound/dmabuf.c
Next file: linux/drivers/sound/es1370.c
Previous file: linux/drivers/sound/cmpci.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Fri Apr 21 12:46:33 2000
- Orig file:
v2.2.14/drivers/sound/dmabuf.c
- Orig date:
Wed Oct 20 01:12:48 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/sound/dmabuf.c linux/drivers/sound/dmabuf.c
@@ -70,6 +70,14 @@
if (dma_buffsize < 4096)
dma_buffsize = 4096;
dma_pagesize = (dmap->dma < 4) ? (64 * 1024) : (128 * 1024);
+
+ /*
+ * Now check for the Cyrix problem.
+ */
+
+ if(isa_dma_bridge_buggy==2)
+ dma_pagesize=32768;
+
dmap->raw_buf = NULL;
dmap->buffsize = dma_buffsize;
if (dmap->buffsize > dma_pagesize)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)