GENERIC revision 1.20
1# $NetBSD: GENERIC,v 1.20 2007/10/17 19:54:20 garbled Exp $ 2# 3# GENERIC machine description file 4# This machine description file is used to generate the default NetBSD 5# kernel. The generic kernel does not include all options, subsystems 6# and device drivers, but should be useful for most applications. 7# 8# The machine description file can be customised for your specific 9# machine to reduce the kernel size and improve its performance. 10# 11# For further information on compiling NetBSD kernels, see the config(8) 12# man page. 13# 14# For further information on hardware support for this architecture, see 15# the intro(4) man page. For further information about kernel options 16# for this architecture, see the options(4) man page. For an explanation 17# of each device driver in this file see the section 4 man page for the 18# device. 19 20# 21# kernel config file for EWS4800/350, 360AD, 360ADII 22# 23 24include "arch/ews4800mips/conf/std.ews4800mips" 25 26options INCLUDE_CONFIG_FILE # embed config file in kernel binary 27 28#ident "GENERIC-$Revision: 1.20 $" 29 30maxusers 16 31 32#options MIPS1 # R2000/R3000 33options MIPS3 # R4000/R4400 34 35# MIPS3 on-chip timer interrupt is not used on EWS4800, 36# but the external timer interrupt line is connected to CPU INT5. 37options MIPS3_ENABLE_CLOCK_INTR 38 39# Support for specific models 40options EWS4800_TR2 # 350 41options EWS4800_TR2A # 360,360AD,360ADII,360SX,360EX 42 43# Standard system options 44options NTP # NTP phase/frequency locked loop 45 46options KTRACE # system call tracing ktrace(1) 47#options SYSTRACE # system call vetting via systrace(1) 48 49options SYSVMSG # System V-like message queues 50options SYSVSEM # System V-like semaphores 51options SEMMNI=10 # number of semaphore identifiers 52#options SEMMNS=60 # number of semaphores in system 53#options SEMUME=10 # max number of undo entries per process 54#options SEMMNU=30 # number of undo structures in system 55options SYSVSHM # System V shared memory 56#options SHMMAXPGS=1024 # 1024 pages is the default 57options P1003_1B_SEMAPHORE # p1003.1b semaphore support 58 59options LKM # loadable kernel modules 60 61options USERCONF # userconf(4) support 62#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 63options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 64 65# Enable experimental buffer queue strategy for better responsiveness under 66# high disk I/O load. Likely stable but not yet the default. 67#options BUFQ_READPRIO 68#options BUFQ_PRIOCSCAN 69 70# Diagnostic/debugging support options 71#options DIAGNOSTIC # expensive kernel consistency checks 72#options DEBUG # extra kernel debugging support 73#options KMEMSTATS # kernel memory statistics (vmstat -m) 74options DDB # in-kernel debugger 75#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 76#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 77#makeoptions DEBUG="-g" # compile full symbol table 78 79# Compatibility options 80#options COMPAT_10 # NetBSD 1.0 81#options COMPAT_11 # NetBSD 1.1 82#options COMPAT_12 # NetBSD 1.2 83options COMPAT_13 # NetBSD 1.3 84options COMPAT_14 # NetBSD 1.4 85options COMPAT_15 # NetBSD 1.5 86options COMPAT_16 # NetBSD 1.6 87options COMPAT_20 # NetBSD 2.0 88options COMPAT_30 # NetBSD 3.0 89options COMPAT_40 # NetBSD 4.0 90options COMPAT_43 # 4.3BSD 91#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 92 93#options COMPAT_LINUX # binary compatibility with Linux 94options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 95 96# File systems 97file-system FFS # fast filesystem with user and group quotas 98file-system EXT2FS # second extended file system (linux) 99file-system LFS # log-structured file system 100file-system MFS # memory file system 101file-system NFS # Network File System client 102#file-system NTFS # Windows/NT file system (experimental) 103file-system CD9660 # ISO 9660 + Rock Ridge file system 104file-system MSDOSFS # MS-DOS file system 105file-system FDESC # /dev/fd 106file-system KERNFS # /kern 107file-system NULLFS # loopback file system 108file-system OVERLAY # overlay file system 109file-system PORTAL # portal file system (still exxperimental) 110file-system PROCFS # /proc 111file-system UMAPFS # NULLFS + uid and gid remapping 112file-system UNION # union file system 113#file-system CODA # Coda file system; also needs vcoda (below) 114#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 115file-system SYSVBFS # System V boot filesystem. 116file-system PTYFS # /dev/pts/N support 117#file-system TMPFS # Efficient memory file-system 118#file-system UDF # experimental - OSTA UDF CD/DVD file-system 119 120# File system options 121options QUOTA # UFS quotas 122#options FFS_EI # FFS Endian Indpendent support 123options SOFTDEP # FFS soft updates support. 124#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 125options NFSSERVER # Network File System server 126#options FFS_NO_SNAPSHOT # no FFS snapshot support 127#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 128 # immutable) behave as system flags. 129 130# Networking options 131#options GATEWAY # packet forwarding 132options INET # IP + ICMP + TCP + UDP 133options INET6 # IPV6 134#options IPSEC # IP security 135#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 136#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 137#options IPSEC_DEBUG # debug for IP security 138#options MROUTING # IP multicast routing 139#options PIM # Protocol Independent Multicast 140#options ISO,TPIP # OSI 141#options EON # OSI tunneling over IP 142options NETATALK # AppleTalk networking protocols 143options PPP_BSDCOMP # BSD-Compress compression support for PPP 144options PPP_DEFLATE # Deflate compression support for PPP 145options PPP_FILTER # Active filter support for PPP (requires bpf) 146options PFIL_HOOKS # pfil(9) packet filter hooks 147options IPFILTER_LOG # ipmon(8) log support 148options IPFILTER_LOOKUP # ippool(8) support 149#options IPFILTER_DEFAULT_BLOCK # block all packets by default 150#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 151 152#options ALTQ # Manipulate network interfaces' output queues 153#options ALTQ_BLUE # Stochastic Fair Blue 154#options ALTQ_CBQ # Class-Based Queueing 155#options ALTQ_CDNR # Diffserv Traffic Conditioner 156#options ALTQ_FIFOQ # First-In First-Out Queue 157#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 158#options ALTQ_HFSC # Hierarchical Fair Service Curve 159#options ALTQ_LOCALQ # Local queueing discipline 160#options ALTQ_PRIQ # Priority Queueing 161#options ALTQ_RED # Random Early Detection 162#options ALTQ_RIO # RED with IN/OUT 163#options ALTQ_WFQ # Weighted Fair Queueing 164 165# These options enable verbose messages for several subsystems. 166# Warning, these may compile large string tables into the kernel! 167options SCSIVERBOSE # human readable SCSI error messages 168 169options NFS_BOOT_DHCP 170 171 172# workstation console options 173options WSEMUL_VT100 # VT100 / VT220 emulation 174options WS_KERNEL_FG=WSCOL_GREEN 175options WS_KERNEL_BG=WSCOL_BLACK 176 177options FONT_GALLANT12x22 178#options FONT_SONY12x24 179 180config netbsd root on ? type ? 181 182# 183# Device configuration 184# 185 186mainbus0 at root 187 188cpu0 at mainbus? 189 190sbdio0 at mainbus? 191 192mkclock0 at sbdio? 193 194zsc0 at sbdio? 195zstty0 at zsc? channel 0 # SIO ch-A 196zstty1 at zsc? channel 1 # SIO ch-B 197 198#kbms* at sbdio? 199#wskbd0 at kbms? console ? 200#wsmouse0 at kbms? 201 202zsc1 at sbdio? 203ewskbd0 at zsc? 204wskbd* at ewskbd? 205ewsms0 at zsc? 206wsmouse* at ewsms? 207 208fb* at sbdio? 209wsdisplay* at fb? console ? 210 211# Disk 212osiop* at sbdio? flags 0x0000 213scsibus* at scsi? 214 215sd* at scsibus? target ? lun ? # SCSI disk drives 216st* at scsibus? target ? lun ? # SCSI tape drives 217cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 218ch* at scsibus? target ? lun ? # SCSI autochangers 219ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 220ss* at scsibus? target ? lun ? # SCSI scanners 221uk* at scsibus? target ? lun ? # SCSI unknown 222 223# Ether 224iee* at sbdio? # TR2 225le* at sbdio? # TR2A 226 227 228# Pseudo-Devices 229 230# disk/mass strage pseudo-devices 231pseudo-device ccd 4 # concatenated/striped disk devices 232#pseudo-device cgd 4 # cryptographic disk devices 233pseudo-device raid 8 # RAIDframe disk driver 234options RAID_AUTOCONFIG # auto-configuration of RAID components 235# Options to enable various other RAIDframe RAID types. 236#options RF_INCLUDE_EVENODD=1 237#options RF_INCLUDE_RAID5_RS=1 238#options RF_INCLUDE_PARITYLOGGING=1 239#options RF_INCLUDE_CHAINDECLUSTER=1 240#options RF_INCLUDE_INTERDECLUSTER=1 241#options RF_INCLUDE_PARITY_DECLUSTERING=1 242#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 243pseudo-device fss 4 # file system snapshot device 244 245pseudo-device md 1 # memory disk device (ramdisk) 246pseudo-device vnd # virtual disk ick 247options VND_COMPRESSION # compressed vnd(4) 248 249# network pseudo-devices 250pseudo-device bpfilter # packet filter ports 251#pseudo-device carp # Common Address Redundancy Protocol 252pseudo-device ipfilter # IP filter, NAT 253pseudo-device loop # network loopback 254pseudo-device ppp # Point-to-Point Protocol 255pseudo-device pppoe # PPP over Ethernet (RFC 2516) 256pseudo-device sl # Serial Line IP 257pseudo-device strip # Starmode Radio IP (Metricom) 258#pseudo-device irframetty # IrDA frame line discipline 259pseudo-device tap # virtual Ethernet 260pseudo-device tun # network tunneling over tty 261pseudo-device gre # generic L3 over IP tunnel 262pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 263#pseudo-device faith # IPv[46] tcp relay translation i/f 264pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 265pseudo-device vlan # IEEE 802.1q encapsulation 266pseudo-device bridge # simple inter-network bridging 267#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 268pseudo-device agr # IEEE 802.3ad link aggregation 269#pseudo-device pf # PF packet filter 270#pseudo-device pflog # PF log if 271 272# miscellaneous pseudo-devices 273pseudo-device pty # pseudo-terminals 274#pseudo-device tb 1 # tablet line discipline 275pseudo-device rnd # /dev/random and in-kernel generator 276pseudo-device clockctl # user control of clock subsystem 277pseudo-device ksyms # /dev/ksyms 278 279# a pseudo device needed for Coda # also needs CODA (above) 280#pseudo-device vcoda 4 # coda minicache <-> venus comm. 281 282# a pseudo device needed for SMBFS 283#pseudo-device nsmb # experimental - SMB requester 284 285# wscons pseudo-devices 286pseudo-device wsmux 287 288# Veriexec 289 290# a pseudo device needed for veriexec 291#pseudo-device veriexec 1 292 293# Uncomment the fingerprint methods below that are desired. Note that 294# removing fingerprint methods will have almost no impact on the kernel 295# code size. 296#options VERIFIED_EXEC_FP_RMD160 297#options VERIFIED_EXEC_FP_SHA256 298#options VERIFIED_EXEC_FP_SHA384 299#options VERIFIED_EXEC_FP_SHA512 300#options VERIFIED_EXEC_FP_SHA1 301#options VERIFIED_EXEC_FP_MD5 302