From: deraadt Date: Wed, 22 Nov 1995 11:03:05 +0000 (+0000) Subject: change ZLRB_RING_SIZE to 4096 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=758ccf20f28ffd0f96d36b427ab7c76eeb43dc30;p=openbsd change ZLRB_RING_SIZE to 4096 --- diff --git a/sys/arch/sparc/dev/zsvar.h b/sys/arch/sparc/dev/zsvar.h index 2726db2abf8..b552227de0d 100644 --- a/sys/arch/sparc/dev/zsvar.h +++ b/sys/arch/sparc/dev/zsvar.h @@ -65,8 +65,8 @@ * When the value is a character + RR1 status, the character is in the * upper 8 bits of the RR1 status. */ -#define ZLRB_RING_SIZE 256 /* ZS line ring buffer size */ -#define ZLRB_RING_MASK 255 /* mask for same */ +#define ZLRB_RING_SIZE 4096 /* ZS line ring buffer size */ +#define ZLRB_RING_MASK (ZLRB_RING_SIZE-1) /* mask for same */ /* 0 is reserved (means "no interrupt") */ #define ZRING_RINT 1 /* receive data interrupt */