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