patch-2.3.99-pre1 linux/drivers/sound/dmabuf.c
Next file: linux/drivers/sound/miroaci.h
Previous file: linux/drivers/sound/dev_table.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Sun Mar 12 19:39:48 2000
- Orig file:
v2.3.51/linux/drivers/sound/dmabuf.c
- Orig date:
Thu Mar 2 14:36:23 2000
diff -u --recursive --new-file v2.3.51/linux/drivers/sound/dmabuf.c linux/drivers/sound/dmabuf.c
@@ -66,6 +66,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)