1# $NetBSD: GENERIC,v 1.52 2015/08/12 07:53:57 maxv 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.52 $" 29 30maxusers 16 31 32#options MIPS1 # R2000/R3000 33options MIPS3 # R4000/R4400 34 35makeoptions CPUFLAGS="-march=r4400 -mabi=32" # optimize for R4400 36 37# MIPS3 on-chip timer interrupt is not used on EWS4800, 38# but the external timer interrupt line is connected to CPU INT5. 39options MIPS3_ENABLE_CLOCK_INTR 40 41# Support for specific models 42options EWS4800_TR2 # 350 43options EWS4800_TR2A # 360,360AD,360ADII,360SX,360EX 44 45# Standard system options 46options NTP # NTP phase/frequency locked loop 47 48options KTRACE # system call tracing ktrace(1) 49 50options SYSVMSG # System V-like message queues 51options SYSVSEM # System V-like semaphores 52options SEMMNI=10 # number of semaphore identifiers 53options SYSVSHM # System V shared memory 54 55options USERCONF # userconf(4) support 56#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 57options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 58 59# Enable experimental buffer queue strategy for better responsiveness under 60# high disk I/O load. Likely stable but not yet the default. 61#options BUFQ_READPRIO 62#options BUFQ_PRIOCSCAN 63 64# Diagnostic/debugging support options 65#options DIAGNOSTIC # expensive kernel consistency checks 66#options DEBUG # extra kernel debugging support 67options DDB # in-kernel debugger 68#options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 69#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 70#makeoptions DEBUG="-g" # compile full symbol table 71 72# Compatibility options 73#options COMPAT_10 # NetBSD 1.0, 74#options COMPAT_11 # NetBSD 1.1, 75#options COMPAT_12 # NetBSD 1.2, 76options COMPAT_13 # NetBSD 1.3, 77options COMPAT_14 # NetBSD 1.4, 78options COMPAT_15 # NetBSD 1.5, 79options COMPAT_16 # NetBSD 1.6, 80options COMPAT_20 # NetBSD 2.0, 81options COMPAT_30 # NetBSD 3.0, 82options COMPAT_40 # NetBSD 4.0, 83options COMPAT_50 # NetBSD 5.0, 84options COMPAT_60 # NetBSD 6.0, and 85options COMPAT_70 # NetBSD 7.0 binary compatibility. 86options COMPAT_43 # 4.3BSD 87#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 88 89#options COMPAT_LINUX # binary compatibility with Linux 90options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 91 92# File systems 93file-system FFS # fast filesystem with user and group quotas 94file-system EXT2FS # second extended file system (linux) 95file-system LFS # log-structured file system 96file-system MFS # memory file system 97file-system NFS # Network File System client 98#file-system NTFS # Windows/NT file system (experimental) 99file-system CD9660 # ISO 9660 + Rock Ridge file system 100file-system MSDOSFS # MS-DOS file system 101file-system FDESC # /dev/fd 102file-system KERNFS # /kern 103file-system NULLFS # loopback file system 104file-system OVERLAY # overlay file system 105file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 106file-system PROCFS # /proc 107file-system UMAPFS # NULLFS + uid and gid remapping 108file-system UNION # union file system 109#file-system CODA # Coda file system; also needs vcoda (below) 110#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 111file-system SYSVBFS # System V boot filesystem. 112file-system PTYFS # /dev/pts/N support 113file-system TMPFS # Efficient memory file-system 114#file-system UDF # experimental - OSTA UDF CD/DVD file-system 115 116# File system options 117options QUOTA # legacy UFS quotas 118options QUOTA2 # new, in-filesystem UFS quotas 119#options FFS_EI # FFS Endian Indpendent support 120options WAPBL # File system journaling support 121#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 122options NFSSERVER # Network File System server 123#options FFS_NO_SNAPSHOT # no FFS snapshot support 124options UFS_EXTATTR # Extended attribute support for UFS1 125#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 126 # immutable) behave as system flags. 127 128# Networking options 129#options GATEWAY # packet forwarding 130options INET # IP + ICMP + TCP + UDP 131options INET6 # IPV6 132#options IPSEC # IP security 133#options IPSEC_DEBUG # debug for IP security 134#options MROUTING # IP multicast routing 135#options PIM # Protocol Independent Multicast 136options NETATALK # AppleTalk networking protocols 137options PPP_BSDCOMP # BSD-Compress compression support for PPP 138options PPP_DEFLATE # Deflate compression support for PPP 139options PPP_FILTER # Active filter support for PPP (requires bpf) 140options IPFILTER_LOG # ipmon(8) log support 141options IPFILTER_LOOKUP # ippool(8) support 142options IPFILTER_COMPAT # Compat for IP-Filter 143#options IPFILTER_DEFAULT_BLOCK # block all packets by default 144#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 145 146#options ALTQ # Manipulate network interfaces' output queues 147#options ALTQ_BLUE # Stochastic Fair Blue 148#options ALTQ_CBQ # Class-Based Queueing 149#options ALTQ_CDNR # Diffserv Traffic Conditioner 150#options ALTQ_FIFOQ # First-In First-Out Queue 151#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 152#options ALTQ_HFSC # Hierarchical Fair Service Curve 153#options ALTQ_LOCALQ # Local queueing discipline 154#options ALTQ_PRIQ # Priority Queueing 155#options ALTQ_RED # Random Early Detection 156#options ALTQ_RIO # RED with IN/OUT 157#options ALTQ_WFQ # Weighted Fair Queueing 158 159# JIT compiler for bpfilter 160#options SLJIT 161#options BPFJIT 162 163# These options enable verbose messages for several subsystems. 164# Warning, these may compile large string tables into the kernel! 165options SCSIVERBOSE # human readable SCSI error messages 166 167options NFS_BOOT_DHCP 168 169 170# workstation console options 171options WSEMUL_VT100 # VT100 / VT220 emulation 172options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 173options WS_KERNEL_FG=WSCOL_GREEN 174options WS_KERNEL_BG=WSCOL_BLACK 175 176options FONT_GALLANT12x22 177#options FONT_SONY12x24 178 179config netbsd root on ? type ? 180 181# 182# Device configuration 183# 184 185mainbus0 at root 186 187cpu0 at mainbus? 188 189sbdio0 at mainbus? 190 191mkclock0 at sbdio? 192 193zsc0 at sbdio? 194zstty0 at zsc? channel 0 # SIO ch-A 195zstty1 at zsc? channel 1 # SIO ch-B 196 197#kbms* at sbdio? 198#wskbd0 at kbms? console ? 199#wsmouse0 at kbms? 200 201zsc1 at sbdio? 202ewskbd0 at zsc? 203wskbd* at ewskbd? 204ewsms0 at zsc? 205wsmouse* at ewsms? 206 207fb* at sbdio? 208wsdisplay* at fb? console ? 209 210# Disk 211osiop* at sbdio? flags 0x0000 212scsibus* at scsi? 213 214sd* at scsibus? target ? lun ? # SCSI disk drives 215st* at scsibus? target ? lun ? # SCSI tape drives 216cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 217ch* at scsibus? target ? lun ? # SCSI autochangers 218ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 219ss* at scsibus? target ? lun ? # SCSI scanners 220uk* at scsibus? target ? lun ? # SCSI unknown 221 222# Ether 223iee* at sbdio? # TR2 224le* at sbdio? # TR2A 225 226 227# Pseudo-Devices 228 229# disk/mass strage pseudo-devices 230pseudo-device ccd # concatenated/striped disk devices 231#pseudo-device cgd # cryptographic disk devices 232pseudo-device raid # RAIDframe disk driver 233options RAID_AUTOCONFIG # auto-configuration of RAID components 234# Options to enable various other RAIDframe RAID types. 235#options RF_INCLUDE_EVENODD=1 236#options RF_INCLUDE_RAID5_RS=1 237#options RF_INCLUDE_PARITYLOGGING=1 238#options RF_INCLUDE_CHAINDECLUSTER=1 239#options RF_INCLUDE_INTERDECLUSTER=1 240#options RF_INCLUDE_PARITY_DECLUSTERING=1 241#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 242pseudo-device fss # file system snapshot device 243pseudo-device putter # for puffs and pud 244 245pseudo-device md # 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# 273# accept filters 274pseudo-device accf_data # "dataready" accept filter 275pseudo-device accf_http # "httpready" accept filter 276 277# miscellaneous pseudo-devices 278pseudo-device pty # pseudo-terminals 279#pseudo-device tb 1 # tablet line discipline 280pseudo-device clockctl # user control of clock subsystem 281pseudo-device ksyms # /dev/ksyms 282 283# a pseudo device needed for Coda # also needs CODA (above) 284#pseudo-device vcoda # coda minicache <-> venus comm. 285 286# a pseudo device needed for SMBFS 287#pseudo-device nsmb # experimental - SMB requester 288 289# wscons pseudo-devices 290pseudo-device wsmux 291 292# Veriexec 293 294# a pseudo device needed for veriexec 295#pseudo-device veriexec 296 297# Uncomment the fingerprint methods below that are desired. Note that 298# removing fingerprint methods will have almost no impact on the kernel 299# code size. 300#options VERIFIED_EXEC_FP_RMD160 301#options VERIFIED_EXEC_FP_SHA256 302#options VERIFIED_EXEC_FP_SHA384 303#options VERIFIED_EXEC_FP_SHA512 304#options VERIFIED_EXEC_FP_SHA1 305#options VERIFIED_EXEC_FP_MD5 306