c2534a819b
(commented out in some).
164 lines
6.4 KiB
Plaintext
164 lines
6.4 KiB
Plaintext
# $NetBSD: GENERIC,v 1.70 2007/06/04 08:55:23 martin Exp $
|
|
#
|
|
# GENERIC machine description file
|
|
#
|
|
# This machine description file is used to generate the default NetBSD
|
|
# kernel. The generic kernel does not include all options, subsystems
|
|
# and device drivers, but should be useful for most applications.
|
|
#
|
|
# The machine description file can be customised for your specific
|
|
# machine to reduce the kernel size and improve its performance.
|
|
#
|
|
# For further information on compiling NetBSD kernels, see the config(8)
|
|
# man page.
|
|
#
|
|
# For further information on hardware support for this architecture, see
|
|
# the intro(4) man page. For further information about kernel options
|
|
# for this architecture, see the options(4) man page. For an explanation
|
|
# of each device driver in this file see the section 4 man page for the
|
|
# device.
|
|
|
|
include "arch/pc532/conf/std.pc532"
|
|
|
|
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
|
|
|
#ident "GENERIC-$Revision: 1.70 $"
|
|
|
|
maxusers 8 # estimated number of users
|
|
|
|
#options DDB # kernel debugger; recommended
|
|
#options DDB_HISTORY_SIZE=100 # enable history editing in DDB
|
|
#options DIAGNOSTIC # internal consistency checking
|
|
options KTRACE # system call tracing, a la ktrace(1)
|
|
#options SYSTRACE # system call vetting via systrace(1)
|
|
# XXX
|
|
# Need "-g" so that link sets in libraries work. The "objcopy -x" step
|
|
# will strip out static link set info from an a.out object.
|
|
makeoptions COPTS="-O2 -g" # compile full symbol table
|
|
|
|
#options ACCOUNTING # process accounting
|
|
#options SYSVMSG # System V message queues
|
|
#options SYSVSEM # System V semaphores
|
|
#options SEMMNI=10 # number of semaphore identifiers
|
|
#options SEMMNS=60 # number of semaphores in system
|
|
#options SEMUME=10 # max number of undo entries per process
|
|
#options SEMMNU=30 # number of undo structures in system
|
|
#options SYSVSHM # System V shared memory
|
|
#options SHMMAXPGS=1024
|
|
options P1003_1B_SEMAPHORE # p1003.1b semaphore support
|
|
options LKM # loadable kernel modules
|
|
options PFIL_HOOKS # pfil(9) packet filter hooks
|
|
options USERCONF # userconf(4) support
|
|
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
|
|
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
|
|
|
|
# compatibility options
|
|
options COMPAT_11 # NetBSD 1.1,
|
|
options COMPAT_12 # NetBSD 1.2,
|
|
options COMPAT_13 # NetBSD 1.3,
|
|
options COMPAT_14 # NetBSD 1.4,
|
|
options COMPAT_15 # NetBSD 1.5,
|
|
options COMPAT_16 # NetBSD 1.6,
|
|
options COMPAT_20 # NetBSD 2.0,
|
|
options COMPAT_30 # NetBSD 3.0 compatibility.
|
|
options COMPAT_43 # and 4.3BSD
|
|
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
|
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
|
|
|
|
# file system options
|
|
file-system FFS # Berkeley fast file system
|
|
file-system NULLFS # loopback file system
|
|
file-system OVERLAY # overlay file system
|
|
file-system UNION # union file system
|
|
file-system NFS # Network File System client
|
|
file-system PTYFS # /dev/pts/N support
|
|
#file-system TMPFS # Efficient memory file-system
|
|
#file-system UDF # experimental - OSTA UDF CD/DVD file-system
|
|
|
|
options NFSSERVER # Network File System server
|
|
#options QUOTA # file system quotas
|
|
#options FFS_EI # FFS Endian Independant support
|
|
options SOFTDEP # FFS soft updates support.
|
|
#options FFS_NO_SNAPSHOT # No FFS snapshot support
|
|
#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
|
|
|
|
# networking options
|
|
#options GATEWAY # packet forwarding
|
|
options INET # IP + ICMP + TCP + UDP
|
|
options INET6 # IPV6
|
|
#options IPSEC # IP security
|
|
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
|
|
#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
|
|
#options IPSEC_DEBUG # debug for IP security
|
|
options PPP_BSDCOMP,PPP_DEFLATE # compression for PPP
|
|
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
|
|
|
#options ALTQ # Manipulate network interfaces' output queues
|
|
#options ALTQ_BLUE # Stochastic Fair Blue
|
|
#options ALTQ_CBQ # Class-Based Queueing
|
|
#options ALTQ_CDNR # Diffserv Traffic Conditioner
|
|
#options ALTQ_FIFOQ # First-In First-Out Queue
|
|
#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
|
|
#options ALTQ_HFSC # Hierarchical Fair Service Curve
|
|
#options ALTQ_LOCALQ # Local queueing discipline
|
|
#options ALTQ_PRIQ # Priority Queueing
|
|
#options ALTQ_RED # Random Early Detection
|
|
#options ALTQ_RIO # RED with IN/OUT
|
|
#options ALTQ_WFQ # Weighted Fair Queueing
|
|
|
|
# pc532 specific options
|
|
options CPU30MHZ # necessary for fast machines
|
|
#options CONSOLE_SPEED=B9600 # default console baud rate
|
|
#options SCNDEF_CFLAG="CREAD|CS8|HUPCL" # and settings
|
|
|
|
config netbsd root on ? type ?
|
|
|
|
sd* at scsibus? target ? lun ? # SCSI disks
|
|
st* at scsibus? target ? lun ? # SCSI tapes
|
|
cd* at scsibus? target ? lun ? # SCSI CD-ROMs
|
|
se* at scsibus0 target ? lun ? # Cabletron EA412/EA419
|
|
uk* at scsibus? target ? lun ? # All the things we don't know
|
|
|
|
pseudo-device pty # pseudo-terminals
|
|
pseudo-device loop 1 # loopback network
|
|
pseudo-device vnd # vnode devices
|
|
#options VND_COMPRESSION # compressed vnd(4)
|
|
pseudo-device bpfilter # packet filter
|
|
#pseudo-device carp # Common Address Redundancy Protocol
|
|
pseudo-device sl # compressed SLIP
|
|
pseudo-device ppp # Point-to-Point Protocol
|
|
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
|
|
pseudo-device tun # network tunneling
|
|
pseudo-device tap # virtual Ethernet
|
|
pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
|
|
#pseudo-device faith # IPv[46] tcp relay translation i/f
|
|
pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
|
|
pseudo-device vlan # IEEE 802.1q encapsulation
|
|
pseudo-device bridge # simple inter-network bridging
|
|
#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
|
|
#pseudo-device agr # IEEE 802.3ad link aggregation
|
|
pseudo-device ccd 4 # Concatenated Disk Driver
|
|
pseudo-device fss 4 # file system snapshot device
|
|
#pseudo-device cgd 4 # cryptographic disk devices
|
|
pseudo-device rnd # kernel random number generator
|
|
pseudo-device clockctl # user control of clock subsystem
|
|
pseudo-device ksyms # /dev/ksyms
|
|
#pseudo-device pf # PF packet filter
|
|
#pseudo-device pflog # PF log if
|
|
|
|
# Veriexec
|
|
#
|
|
# a pseudo device needed for veriexec
|
|
#pseudo-device veriexec 1
|
|
#
|
|
# Uncomment the fingerprint methods below that are desired. Note that
|
|
# removing fingerprint methods will have almost no impact on the kernel
|
|
# code size.
|
|
#
|
|
#options VERIFIED_EXEC_FP_RMD160
|
|
#options VERIFIED_EXEC_FP_SHA256
|
|
#options VERIFIED_EXEC_FP_SHA384
|
|
#options VERIFIED_EXEC_FP_SHA512
|
|
#options VERIFIED_EXEC_FP_SHA1
|
|
#options VERIFIED_EXEC_FP_MD5
|