diff options
| author | tjam <tjam@NetBSD.org> | 2009-01-28 19:57:37 +0000 |
|---|---|---|
| committer | tjam <tjam@NetBSD.org> | 2009-01-28 19:57:37 +0000 |
| commit | 7ffdc72669acd1efa85643056f18f48459f7a482 (patch) | |
| tree | c2b086d332b06584e4b3b1ad130cfb3c9b2fa920 /sys/arch/atari/dev | |
| parent | 99752e43b2662b88fbfd035186ad87e4f68a6907 (diff) | |
Use 8KB buffer for ZLRB_RING_SIZE to prevent overruns
Diffstat (limited to 'sys/arch/atari/dev')
| -rw-r--r-- | sys/arch/atari/dev/zsvar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/atari/dev/zsvar.h b/sys/arch/atari/dev/zsvar.h index 670d86f13a7..09e49c30529 100644 --- a/sys/arch/atari/dev/zsvar.h +++ b/sys/arch/atari/dev/zsvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: zsvar.h,v 1.12 2008/04/29 06:53:01 martin Exp $ */ +/* $NetBSD: zsvar.h,v 1.13 2009/01/28 19:57:37 tjam Exp $ */ /* * Copyright (c) 1992, 1993 @@ -105,8 +105,8 @@ struct zsdevice { * When the value is a character + RR1 status, the character is in the * upper 8 bits of the RR1 status. */ -#define ZLRB_RING_SIZE 4096 /* ZS line ring buffer size */ -#define ZLRB_RING_MASK 4095 /* mask for same */ +#define ZLRB_RING_SIZE 8192 /* ZS line ring buffer size */ +#define ZLRB_RING_MASK 8191 /* mask for same */ /* 0 is reserved (means "no interrupt") */ #define ZRING_RINT 1 /* receive data interrupt */ |
