mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Make TTYHOG tunable.
Reviewed by: mike (mentor)
This commit is contained in:
parent
876d09d890
commit
9c62b3ee7c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111899
@ -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
|
||||
|
@ -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
|
||||
|
@ -58,6 +58,7 @@
|
||||
|
||||
#include "opt_compat.h"
|
||||
#include "opt_dgb.h"
|
||||
#include "opt_tty.h"
|
||||
|
||||
#include "dgb.h"
|
||||
|
||||
|
@ -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)
|
||||
|
@ -35,6 +35,8 @@
|
||||
|
||||
/*#define RCDEBUG*/
|
||||
|
||||
#include "opt_tty.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/bus.h>
|
||||
|
@ -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>
|
||||
|
@ -39,6 +39,7 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
#include "opt_compat.h"
|
||||
#include "opt_tty.h"
|
||||
|
||||
#define TTYDEFCHARS 1
|
||||
|
||||
|
@ -41,6 +41,7 @@
|
||||
#define TTYDEFCHARS 1
|
||||
|
||||
#include "opt_compat.h"
|
||||
#include "opt_tty.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -76,6 +76,7 @@
|
||||
*/
|
||||
|
||||
#include "opt_compat.h"
|
||||
#include "opt_tty.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user