1# $NetBSD: GENERIC,v 1.66 2022/09/29 10:10:07 riastradh 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.66 $" 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# Alternate buffer queue strategies for better responsiveness under high 60# disk I/O load. 61#options BUFQ_READPRIO 62options 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 73include "conf/compat_netbsd13.config" 74#options COMPAT_LINUX # binary compatibility with Linux 75#options COMPAT_OSSAUDIO # binary compatibility with Linux 76 77# File systems 78file-system FFS # fast filesystem with user and group quotas 79file-system EXT2FS # second extended file system (linux) 80file-system LFS # log-structured file system 81file-system MFS # memory file system 82file-system NFS # Network File System client 83#file-system NTFS # Windows/NT file system (experimental) 84file-system CD9660 # ISO 9660 + Rock Ridge file system 85file-system MSDOSFS # MS-DOS file system 86file-system FDESC # /dev/fd 87file-system KERNFS # /kern 88file-system NULLFS # loopback file system 89file-system OVERLAY # overlay file system 90file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 91file-system PROCFS # /proc 92file-system UMAPFS # NULLFS + uid and gid remapping 93file-system UNION # union file system 94#file-system CODA # Coda file system; also needs vcoda (below) 95file-system SYSVBFS # System V boot filesystem. 96file-system PTYFS # /dev/pts/N support 97file-system TMPFS # Efficient memory file-system 98#file-system UDF # experimental - OSTA UDF CD/DVD file-system 99 100# File system options 101#options FFS_EI # FFS Endian Independent support 102#options FFS_NO_SNAPSHOT # No FFS snapshot support 103options QUOTA # legacy UFS quotas 104options QUOTA2 # new, in-filesystem UFS quotas 105#options UFS_DIRHASH # UFS Large Directory Hashing 106options UFS_EXTATTR # Extended attribute support for UFS1 107options WAPBL # File system journaling support 108#options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 109#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 110 # immutable) behave as system flags. 111options NFSSERVER # Network File System server 112 113# Networking options 114#options GATEWAY # packet forwarding 115options INET # IP + ICMP + TCP + UDP 116options INET6 # IPV6 117#options IPSEC # IP security 118#options IPSEC_DEBUG # debug for IP security 119#options MROUTING # IP multicast routing 120#options PIM # Protocol Independent Multicast 121options NETATALK # AppleTalk networking protocols 122options PPP_BSDCOMP # BSD-Compress compression support for PPP 123options PPP_DEFLATE # Deflate compression support for PPP 124options PPP_FILTER # Active filter support for PPP (requires bpf) 125#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 126 127#options ALTQ # Manipulate network interfaces' output queues 128#options ALTQ_BLUE # Stochastic Fair Blue 129#options ALTQ_CBQ # Class-Based Queueing 130#options ALTQ_CDNR # Diffserv Traffic Conditioner 131#options ALTQ_FIFOQ # First-In First-Out Queue 132#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 133#options ALTQ_HFSC # Hierarchical Fair Service Curve 134#options ALTQ_LOCALQ # Local queueing discipline 135#options ALTQ_PRIQ # Priority Queueing 136#options ALTQ_RED # Random Early Detection 137#options ALTQ_RIO # RED with IN/OUT 138#options ALTQ_WFQ # Weighted Fair Queueing 139 140# JIT compiler for bpfilter 141#options SLJIT 142#options BPFJIT 143 144# These options enable verbose messages for several subsystems. 145# Warning, these may compile large string tables into the kernel! 146options SCSIVERBOSE # human readable SCSI error messages 147 148options NFS_BOOT_DHCP 149 150 151# workstation console options 152options WSEMUL_VT100 # VT100 / VT220 emulation 153options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 154options WS_KERNEL_FG=WSCOL_GREEN 155options WS_KERNEL_BG=WSCOL_BLACK 156 157options FONT_GALLANT12x22 158#options FONT_SONY12x24 159 160config netbsd root on ? type ? 161 162# 163# Device configuration 164# 165 166mainbus0 at root 167 168cpu0 at mainbus? 169 170sbdio0 at mainbus? 171 172mkclock0 at sbdio? 173 174zsc0 at sbdio? 175zstty0 at zsc? channel 0 # SIO ch-A 176zstty1 at zsc? channel 1 # SIO ch-B 177 178#kbms* at sbdio? 179#wskbd0 at kbms? console ? 180#wsmouse0 at kbms? 181 182zsc1 at sbdio? 183ewskbd0 at zsc? 184wskbd* at ewskbd? 185ewsms0 at zsc? 186wsmouse* at ewsms? 187 188fb* at sbdio? 189wsdisplay* at fb? console ? 190 191# Disk 192osiop* at sbdio? flags 0x0000 193scsibus* at scsi? 194 195sd* at scsibus? target ? lun ? # SCSI disk drives 196st* at scsibus? target ? lun ? # SCSI tape drives 197cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 198ch* at scsibus? target ? lun ? # SCSI autochangers 199ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 200ss* at scsibus? target ? lun ? # SCSI scanners 201uk* at scsibus? target ? lun ? # SCSI unknown 202 203# Ether 204iee* at sbdio? # TR2 205le* at sbdio? # TR2A 206 207 208# Pseudo-Devices 209 210# disk/mass strage pseudo-devices 211pseudo-device ccd # concatenated/striped disk devices 212#pseudo-device cgd # cryptographic disk devices 213pseudo-device raid # RAIDframe disk driver 214options RAID_AUTOCONFIG # auto-configuration of RAID components 215# Options to enable various other RAIDframe RAID types. 216#options RF_INCLUDE_EVENODD=1 217#options RF_INCLUDE_RAID5_RS=1 218#options RF_INCLUDE_PARITYLOGGING=1 219#options RF_INCLUDE_CHAINDECLUSTER=1 220#options RF_INCLUDE_INTERDECLUSTER=1 221#options RF_INCLUDE_PARITY_DECLUSTERING=1 222#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 223pseudo-device fss # file system snapshot device 224pseudo-device putter # for puffs and pud 225 226pseudo-device md # memory disk device (ramdisk) 227pseudo-device vnd # virtual disk ick 228options VND_COMPRESSION # compressed vnd(4) 229 230# network pseudo-devices 231pseudo-device bpfilter # packet filter ports 232pseudo-device carp # Common Address Redundancy Protocol 233pseudo-device npf # NPF packet filter 234pseudo-device loop # network loopback 235pseudo-device ppp # Point-to-Point Protocol 236pseudo-device pppoe # PPP over Ethernet (RFC 2516) 237pseudo-device sl # Serial Line IP 238#pseudo-device irframetty # IrDA frame line discipline 239pseudo-device tap # virtual Ethernet 240pseudo-device tun # network tunneling over tty 241pseudo-device gre # generic L3 over IP tunnel 242pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 243#pseudo-device faith # IPv[46] tcp relay translation i/f 244pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 245pseudo-device vlan # IEEE 802.1q encapsulation 246pseudo-device bridge # simple inter-network bridging 247pseudo-device vether # Virtual Ethernet for bridge 248pseudo-device agr # IEEE 802.3ad link aggregation 249 250# 251# accept filters 252pseudo-device accf_data # "dataready" accept filter 253pseudo-device accf_http # "httpready" accept filter 254 255# miscellaneous pseudo-devices 256pseudo-device pty # pseudo-terminals 257#pseudo-device tb 1 # tablet line discipline 258pseudo-device clockctl # user control of clock subsystem 259pseudo-device ksyms # /dev/ksyms 260pseudo-device swwdog # software watchdog timer -- swwdog(4) 261 262# a pseudo device needed for Coda # also needs CODA (above) 263#pseudo-device vcoda # coda minicache <-> venus comm. 264 265# wscons pseudo-devices 266pseudo-device wsmux 267 268include "dev/veriexec.config" 269