diff options
Diffstat (limited to 'sys/arch/sparc/dev/zsvar.h')
-rw-r--r-- | sys/arch/sparc/dev/zsvar.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/zsvar.h b/sys/arch/sparc/dev/zsvar.h index b552227de0d..fc9b959f4f5 100644 --- a/sys/arch/sparc/dev/zsvar.h +++ b/sys/arch/sparc/dev/zsvar.h @@ -65,8 +65,6 @@ * 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 (ZLRB_RING_SIZE-1) /* mask for same */ /* 0 is reserved (means "no interrupt") */ #define ZRING_RINT 1 /* receive data interrupt */ @@ -133,7 +131,8 @@ struct zs_chanstate { */ u_int cs_rbget; /* ring buffer `get' index */ volatile u_int cs_rbput; /* ring buffer `put' index */ - int cs_rbuf[ZLRB_RING_SIZE];/* type, value pairs */ + u_int cs_ringmask; /* mask, reflecting size of `rbuf' */ + int *cs_rbuf; /* type, value pairs */ }; /* |