summaryrefslogtreecommitdiff
path: root/sys/arch/pica
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-30 14:28:44 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-30 14:28:44 +0000
commit117d33b02924ca90635a242c5683cc4faf475b7e (patch)
tree1574eedcc5670ab95c7deb4a50646c00e51710d7 /sys/arch/pica
parent543abff8d4836ed20ab107e11ce503143d727453 (diff)
Fixed bufsiz setup bug.
Diffstat (limited to 'sys/arch/pica')
-rw-r--r--sys/arch/pica/dev/asc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/pica/dev/asc.c b/sys/arch/pica/dev/asc.c
index 262329ac38b..a9dae3585a7 100644
--- a/sys/arch/pica/dev/asc.c
+++ b/sys/arch/pica/dev/asc.c
@@ -515,10 +515,12 @@ ascattach(parent, self, aux)
*/
switch (cputype) {
case ACER_PICA_61:
+ bufsiz = 63 * 1024; /*XXX check if code handles 0 as 64k */
asc->dma = &asc->__dma;
asc_dma_init(asc->dma);
break;
default:
+ bufsiz = 64 * 1024;
};
/*
* Now for timing. The pica has a 25Mhz