Make TTYHOG tunable.

Reviewed by:	mike (mentor)
This commit is contained in:
David Schultz 2003-03-05 08:16:29 +00:00
parent 876d09d890
commit 9c62b3ee7c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111899
12 changed files with 22 additions and 2 deletions

View File

@ -1038,6 +1038,9 @@ options LIBICONV
# Size of the kernel message buffer. Should be N * pagesize.
options MSGBUF_SIZE=40960
# Maximum size of a tty or pty input buffer.
options TTYHOG=8193
#####################################################################
# HARDWARE DEVICE CONFIGURATION

View File

@ -141,6 +141,7 @@ SYSVSHM opt_sysvipc.h
VFS_AIO
WLCACHE opt_wavelan.h
WLDEBUG opt_wavelan.h
TTYHOG opt_tty.h
# POSIX kernel options
_KPOSIX_PRIORITY_SCHEDULING opt_posix.h

View File

@ -58,6 +58,7 @@
#include "opt_compat.h"
#include "opt_dgb.h"
#include "opt_tty.h"
#include "dgb.h"

View File

@ -39,6 +39,8 @@
*/
#include "opt_compat.h"
#include "opt_tty.h"
#include <sys/param.h>
#include <sys/systm.h>
#if defined(COMPAT_43) || defined(COMPAT_SUNOS)

View File

@ -35,6 +35,8 @@
/*#define RCDEBUG*/
#include "opt_tty.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>

View File

@ -41,6 +41,7 @@ static const char si_copyright1[] = "@(#) Copyright (C) Specialix International
#include "opt_compat.h"
#include "opt_debug_si.h"
#include "opt_tty.h"
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -39,6 +39,7 @@
/*****************************************************************************/
#include "opt_compat.h"
#include "opt_tty.h"
#define TTYDEFCHARS 1

View File

@ -41,6 +41,7 @@
#define TTYDEFCHARS 1
#include "opt_compat.h"
#include "opt_tty.h"
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -76,6 +76,7 @@
*/
#include "opt_compat.h"
#include "opt_tty.h"
#include <sys/param.h>
#include <sys/systm.h>

View File

@ -39,6 +39,7 @@
* (Actually two drivers, requiring two entries in 'cdevsw')
*/
#include "opt_compat.h"
#include "opt_tty.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/lock.h>

View File

@ -4,9 +4,12 @@
KMOD= nmdm
SRCS= nmdm.c
SRCS+= opt_compat.h vnode_if.h
SRCS+= opt_compat.h opt_tty.h vnode_if.h
opt_compat.h:
echo "#define COMPAT_43 1" >opt_compat.h
opt_tty.h:
echo "#define TTYHOG 8192" >opt_tty.h
.include <bsd.kmod.mk>

View File

@ -3,6 +3,9 @@
.PATH: ${.CURDIR}/../../dev/rc
KMOD= rc
SRCS= rc.c device_if.h bus_if.h isa_if.h
SRCS= rc.c device_if.h bus_if.h isa_if.h opt_tty.h
opt_tty.h:
echo "#define TTYHOG 8192" >opt_tty.h
.include <bsd.kmod.mk>