Use 8KB buffer for ZLRB_RING_SIZE to prevent overruns
This commit is contained in:
parent
99752e43b2
commit
7ffdc72669
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue