1*17aad413Sabs# $NetBSD: GENERIC,v 1.207 2023/02/12 14:50:41 abs Exp $ 2f10a0c89Sjonathan# 3bdd225baSgmcgarry# GENERIC machine description file 4fa2f6c51Sjonathan# 5bdd225baSgmcgarry# This machine description file is used to generate the default NetBSD 6bdd225baSgmcgarry# kernel. The generic kernel does not include all options, subsystems 7bdd225baSgmcgarry# and device drivers, but should be useful for most applications. 8fa2f6c51Sjonathan# 9bdd225baSgmcgarry# The machine description file can be customised for your specific 10bdd225baSgmcgarry# machine to reduce the kernel size and improve its performance. 11bdd225baSgmcgarry# 12bdd225baSgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 13bdd225baSgmcgarry# man page. 14bdd225baSgmcgarry# 15bdd225baSgmcgarry# For further information on hardware support for this architecture, see 16bdd225baSgmcgarry# the intro(4) man page. For further information about kernel options 17bdd225baSgmcgarry# for this architecture, see the options(4) man page. For an explanation 18bdd225baSgmcgarry# of each device driver in this file see the section 4 man page for the 19bdd225baSgmcgarry# device. 20bdd225baSgmcgarry 21fa2f6c51Sjonathaninclude "arch/pmax/conf/std.pmax" 22f10a0c89Sjonathan 23d1b38523Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 24d1b38523Satatat 25*17aad413Sabs#ident "GENERIC-$Revision: 1.207 $" 267e5ff674Shubertf 27fa2f6c51Sjonathanmaxusers 64 28f10a0c89Sjonathan 294692a371Sjonathanoptions MIPS1 # R2000/R3000 CPUs 301902d11aSnisimuraoptions MIPS3 # R4000/R4400 CPUs 315a80d438Sjonathan 32f10a0c89Sjonathan 33fa2f6c51Sjonathan# Support for specific models of DECstation 341902d11aSnisimuraoptions DEC_3100 # DECstation 2100, 3100 (kn01) 351902d11aSnisimuraoptions DEC_5100 # DECsystem 5100 (kn230) 361902d11aSnisimuraoptions DEC_3MAX # DECstation 5000/200 (kn02) 371902d11aSnisimuraoptions DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04) 381902d11aSnisimuraoptions DEC_MAXINE # Personal DECstation 5000/xx (kn02ca) 391902d11aSnisimuraoptions DEC_3MAXPLUS # DECstation 5000/240 (kn03), 5000/260 (kn05) 40dace3846Sjonathan 41ef246ec5Ssimonb#options DEC_5400 # DECsystem 5400 (kn210) 42ef246ec5Ssimonb#options DEC_5500 # DECsystem 5500 (kn220) 43ef246ec5Ssimonb#options DEC_5800 # DECsystem 58x0 (kn5800) 44dace3846Sjonathan 455e124f3aSmattmakeoptions DEBUG="-g" 46f10a0c89Sjonathan# Standard system options 4743bc0b92Sjonathanoptions DDB # in-kernel debugger 4856acc983Schsoptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 49c0fe0ae2Sskrlloptions DDB_ONPANIC=1 # don't enter debugger on panic 50c0fe0ae2Sskrlloptions DDB_COMMANDONENTER="trace;show registers" 51c0fe0ae2Sskrlloptions DIAGNOSTIC # extra kernel debugging checks 52c0fe0ae2Sskrlloptions DEBUG # extra kernel debugging support 53b88074d9Sflxd#options LOCKDEBUG 546a0af684Schristos#options VMFAULT_TRACE 556a0af684Schristos#options PMAP_FAULTINFO 56f10a0c89Sjonathanoptions KTRACE # system call tracing support 579c39aaeeSjonathan 589c39aaeeSjonathanoptions SYSVMSG # System V-like message queues 599c39aaeeSjonathanoptions SYSVSEM # System V-like semaphores 609c39aaeeSjonathanoptions SYSVSHM # System V-like memory sharing 613844d313Sjonathan 623ea2e21fSlukemoptions USERCONF # userconf(4) support 636d265bd8Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 64f68a9f1fSatatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 656d265bd8Sjdolecek 66b376ef7fSsevan# Alternate buffer queue strategies for better responsiveness under high 67b376ef7fSsevan# disk I/O load. 684e54a2ccStsutsui#options BUFQ_READPRIO 6975d6e670Ssevanoptions BUFQ_PRIOCSCAN 70e4b7588cSjunyoung 711a7afa38Smjacob#options SCSIVERBOSE # Verbose SCSI errors 725867f914Stsutsui#options TCVERBOSE # recognize "unknown" TC devices 731a7afa38Smjacob 74ab208e69Sad# Old 4.4BSD/pmax kgdb options 75f10a0c89Sjonathan#options KGDB # support for kernel gdb 7699bccc3cSlukem#options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 7799bccc3cSlukem#options KGDB_DEV="15*256+0" # device for kernel gdb 78f10a0c89Sjonathan 79fa2f6c51Sjonathanoptions NTP # network time protocol 80fa2f6c51Sjonathan 81fa2f6c51Sjonathan 82c7ae7f02Ssimonb# File systems 831b341f7eSthorpejfile-system FFS # fast filesystem with user and group quotas 841b341f7eSthorpejfile-system MFS # memory-based filesystem 851b341f7eSthorpejfile-system NFS # Sun NFS-compatible filesystem (client) 863844d313Sjonathanfile-system LFS # Log-based filesystem (still experimental) 873844d313Sjonathanfile-system CD9660 # ISO 9660 + Rock Ridge file system 883844d313Sjonathanfile-system FDESC # /dev/fd 893844d313Sjonathanfile-system KERNFS # /kern (kernel informational filesystem) 903844d313Sjonathanfile-system NULLFS # loopback file system 9187e1b0f9Swrstudenfile-system OVERLAY # overlay file system 9270d4493cSpookafile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 933844d313Sjonathanfile-system PROCFS # /proc 943844d313Sjonathanfile-system UMAPFS # NULLFS + uid and gid remapping 951b341f7eSthorpejfile-system UNION 9693c362d7Schristosfile-system PTYFS # /dev/pts/N support 977654d6d4Schsfile-system TMPFS # Efficient memory file-system 98a92fdbbcSreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 991b341f7eSthorpej 100c7ae7f02Ssimonb# File system options 101c7ae7f02Ssimonb#options FFS_EI # FFS Endian Independent support 102c7ae7f02Ssimonb#options FFS_NO_SNAPSHOT # No FFS snapshot support 103063f96f3Sbouyeroptions QUOTA # legacy UFS quotas 104063f96f3Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 105c7ae7f02Ssimonboptions UFS_DIRHASH # UFS Large Directory Hashing 1062cab231dSmanuoptions UFS_EXTATTR # Extended attribute support for UFS1 107c7ae7f02Ssimonboptions WAPBL # File system journaling support 108c7ae7f02Ssimonboptions LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental 109c7ae7f02Ssimonboptions NFSSERVER # Network File System server 110f10a0c89Sjonathan 111f10a0c89Sjonathan# Networking options 112f10a0c89Sjonathanoptions INET # Internet protocols 113e9a0023bSitojunoptions INET6 # IPV6 114e9a0023bSitojun#options IPSEC # IP security 115e9a0023bSitojun#options IPSEC_DEBUG # debug for IP security 116f10a0c89Sjonathanoptions GATEWAY # IP packet forwarding 117f10a0c89Sjonathan#options MROUTING # Multicast routing support 1186e3c6399Smanu#options PIM # Protocol Independent Multicast 1199c02b3c9Ssimonboptions NETATALK # AppleTalk networking protocols 12041cc9a0eSchristosoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 12141cc9a0eSchristosoptions PPP_DEFLATE # Deflate compression support for PPP 12241cc9a0eSchristosoptions PPP_FILTER # Active filter support for PPP (requires bpf) 12301b024cdSabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 124f10a0c89Sjonathan 125bd8eb3b5Sabs#options ALTQ # Manipulate network interfaces' output queues 126bd8eb3b5Sabs#options ALTQ_BLUE # Stochastic Fair Blue 127bd8eb3b5Sabs#options ALTQ_CBQ # Class-Based Queueing 128bd8eb3b5Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 129bd8eb3b5Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 130bd8eb3b5Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 131bd8eb3b5Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 132bd8eb3b5Sabs#options ALTQ_LOCALQ # Local queueing discipline 133bd8eb3b5Sabs#options ALTQ_PRIQ # Priority Queueing 134bd8eb3b5Sabs#options ALTQ_RED # Random Early Detection 135bd8eb3b5Sabs#options ALTQ_RIO # RED with IN/OUT 136bd8eb3b5Sabs#options ALTQ_WFQ # Weighted Fair Queueing 137bd8eb3b5Sabs 138e25150d4Salnsn# JIT compiler for bpfilter 139e25150d4Salnsn#options SLJIT 140e25150d4Salnsn#options BPFJIT 141e25150d4Salnsn 142fa2f6c51Sjonathan# NetBSD backwards compatibility 14395772a88Smrginclude "conf/compat_netbsd12.config" 144f10a0c89Sjonathan 145d8360081Sad# Workstation console options 146d8360081Sadoptions FONT_BOLD8x16 147ac3f848eSadoptions FONT_GALLANT12x22 148fa2f6c51Sjonathan 149d8360081Sadoptions WSEMUL_VT100 1503267a6b9Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 151d8360081Sadoptions WS_KERNEL_FG=WSCOL_GREEN 152d8360081Sadoptions WS_KERNEL_BG=WSCOL_BLACK 153d8360081Sad 154d8360081Sad# Disable kernel security levels. Needed for X with a PX or PXG. 155d8360081Sad#options INSECURE 156d8360081Sad 157f10a0c89Sjonathan# pmax specific 1581902d11aSnisimuraoptions COMPAT_ULTRIX # Ultrix compatibility 159cddf6cf5Ssimonb#options EXEC_AOUT # Old NetBSD/pmax a.out compatibility 1605a80d438Sjonathanoptions EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 16103aef472Slukemoptions HZ=256 # RTC rate required 162f10a0c89Sjonathan 1631065cb27Ssimonboptions NFS_BOOT_DHCP # superset of BOOTP 164408be226Sdrochner 165b57cf6e1Sjonathanconfig netbsd root on ? type ? 16625715bb0Ssimonb#config nfsnetbsd root on ? type nfs 167f10a0c89Sjonathan 168f10a0c89Sjonathan 169bb85c60cSmhitchmainbus0 at root 170bb85c60cSmhitchcpu* at mainbus0 171bb85c60cSmhitch 1720310fa65Snisimura## Peripheral Bus Support (for devices to attach to) 1730310fa65Snisimura## ---------------------------------------------------------------------------- 174f10a0c89Sjonathan 1750310fa65Snisimura# TURBOchannel bus support 1760310fa65Snisimuratc* at mainbus0 177f10a0c89Sjonathan 1780310fa65Snisimura# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot 1790310fa65Snisimuraioasic0 at tc? 1800b1eae6cSsimonbmcclock* at ioasic? offset ? # DS1287 RTC 1810b1eae6cSsimonble* at ioasic? offset ? # LANCE 182d8360081Saddt* at ioasic? offset ? # MAXINE kbd and mouse 183dcec163eSgmcgarrybba* at ioasic? offset ? # MAXINE baseboard audio 1840310fa65Snisimura#fdc at ioasic? offset ? # MAXINE floppy disk (not supported) 185d8360081Sadzsc0 at ioasic? offset 0x100000 # Z85C30 186d8360081Sadzsc1 at ioasic? offset 0x180000 # Z85C30 1870b1eae6cSsimonbasc* at ioasic? offset ? # NCR53C94 SCSI with IOASIC 188f10a0c89Sjonathan 189d8360081Sadzstty* at zsc? channel ? # serial ports on B/A channels 190d8360081Sadlkkbd* at zsc1 channel ? # keyboard port on A channels 191d8360081Sadvsms* at zsc0 channel ? # mouse port on A channels 192d8360081Sad 193d8360081Sadaudio* at bba? 194d8360081Sad 195ef2deb33Schristosspkr* at audio? # PC speaker (synthesized) 19603783bb5Snat 197d8360081Saddtkbd* at dt? addr ? 198d8360081Saddtms* at dt? addr ? 199d8360081Sad 2000310fa65Snisimura# 3MAX has TURBOchannel but no IOASIC 2017fa174a0Sthorpejibus0 at tc? slot ? offset ? # 3MAX system slot 2020b1eae6cSsimonb 2030b1eae6cSsimonb# PMAX, 3MAX and MIPSMATE common devices 2040b1eae6cSsimonbmcclock* at ibus0 addr ? # DS1287 RTC 205d8360081Saddz* at ibus0 addr ? # DC7085 quad line serial device 206d8360081Sad 207d8360081Sadlkkbd* at dz? line 0 # Keyboard 208d8360081Sadvsms* at dz? line 1 # Mouse 209f10a0c89Sjonathan 2100310fa65Snisimura# TURBOchannel devices 2117fa174a0Sthorpejmfb* at tc? slot ? offset ? # PMAG-A MX Monochrome Framebuffer 2127fa174a0Sthorpejcfb* at tc? slot ? offset ? # PMAG-B CX Color Framebuffer 213d8360081Sadtfb* at tc? slot ? offset ? # PMAG-RO TX True Color Framebuffer 2147fa174a0Sthorpejsfb* at tc? slot ? offset ? # PMAGB-B HX Smart Framebuffer 215d8360081Sadpx* at tc? slot ? offset ? # PMAG-C 2D accelerator 216d8360081Sadpxg* at tc? slot ? offset ? # PMAG-D,E,F 3D accelerator 2177fa174a0Sthorpej#sfbp* at tc? slot ? offset ? # PMAGD HX+ Smart Framebuffer 2180b1eae6cSsimonbxcfb* at tc? slot ? offset ? # PMAG-DV Color Framebuffer at MAXINE 2197fa174a0Sthorpejasc* at tc? slot ? offset ? # PMAZ-A single channel SCSI 2207fa174a0Sthorpejle* at tc? slot ? offset ? # PMAD-A LANCE 221cddf6cf5Ssimonbtcds* at tc? slot ? offset ? # PMAZB/PMAZC dual channel SCSI 222cddf6cf5Ssimonbasc* at tcds? chip ? 223f10a0c89Sjonathan 2240310fa65Snisimura# PMAX and MIPSMATE 2250310fa65Snisimuraibus0 at mainbus0 2260b1eae6cSsimonbpm* at ibus0 addr ? # 3100 onboard fb 2270b1eae6cSsimonble* at ibus0 addr ? # 3100, 5100 onboard LANCE 2280b1eae6cSsimonbsii* at ibus0 addr ? # DC7061 onboard SCSI 229f10a0c89Sjonathan 230d8360081Sad# Workstation console 231d8360081Sad 232d8360081Sadwskbd* at lkkbd? console ? 233d8360081Sadwskbd* at dtkbd? console ? 234d8360081Sadwsmouse* at vsms? 235d8360081Sadwsmouse* at dtms? 236d8360081Sad 237d8360081Sadwsdisplay* at mfb? 238d8360081Sadwsdisplay* at cfb? 239d8360081Sadwsdisplay* at px? 240d8360081Sadwsdisplay* at pxg? 241d8360081Sadwsdisplay* at sfb? 242d8360081Sad#wsdisplay* at sfbp? 243d8360081Sadwsdisplay* at tfb? 244d8360081Sadwsdisplay* at xcfb? 245d8360081Sadwsdisplay* at pm? 246d8360081Sad 247d8360081Sad 248bf95b924Ssimonb######################################################################### 249f10a0c89Sjonathan# SCSI configuration # 250bf95b924Ssimonb######################################################################### 251f10a0c89Sjonathan 252cddf6cf5Ssimonbscsibus* at sii? 253cddf6cf5Ssimonbscsibus* at asc? 25405131499Snisimura 255cddf6cf5Ssimonbsd* at scsibus? target ? lun ? # SCSI disks 256cddf6cf5Ssimonbst* at scsibus? target ? lun ? # SCSI tapes 257cddf6cf5Ssimonbcd* at scsibus? target ? lun ? # SCSI CD-ROMs 258cddf6cf5Ssimonbch* at scsibus? target ? lun ? # SCSI changer devices 259cddf6cf5Ssimonbss* at scsibus? target ? lun ? # SCSI scanners 260cddf6cf5Ssimonbuk* at scsibus? target ? lun ? # unknown SCSI 261fa2f6c51Sjonathan 262bf95b924Ssimonb######################################################################### 263bf95b924Ssimonb# Pseudo-devices # 264bf95b924Ssimonb######################################################################### 265f10a0c89Sjonathan 266fca9d633Stls# 267fca9d633Stls# accept filters 268fca9d633Stlspseudo-device accf_data # "dataready" accept filter 269fca9d633Stlspseudo-device accf_http # "httpready" accept filter 270fca9d633Stls 271dc14ae83Schristospseudo-device loop # network loopback 2726ff13154Scubepseudo-device sl # serial-line IP ports 2736ff13154Scubepseudo-device ppp # serial-line IP ports 274b506d6e1Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 275b1f94e26Sjdolecekpseudo-device pty # pseudo-terminals 27623b8c231Srpaulopseudo-device bpfilter # packet filter ports 27775d6e670Ssevanpseudo-device carp # Common Address Redundancy Protocol 278f71d13bdSmaxvpseudo-device npf # NPF packet filter 2796ff13154Scube#pseudo-device gre # generic L3 over IP tunnel 2806ff13154Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2816ff13154Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 282dc1372c5Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 283c71f40d1Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 28497c67a9bSatatatpseudo-device bridge # simple inter-network bridging 28598f3a8d4Sroy#pseudo-device vether # Virtual Ethernet for bridge 286c2534a81Smartinpseudo-device agr # IEEE 802.3ad link aggregation 2873844d313Sjonathan 2886ff13154Scubepseudo-device vnd # virtual disk ick 28967373050Shubertf#options VND_COMPRESSION # compressed vnd(4) 290dc14ae83Schristospseudo-device ccd # concatenated disks 291dc14ae83Schristos#pseudo-device cgd # cryptographic disk devices 2921cc8b68dSchristospseudo-device raid # RAIDframe disk driver 29339b858e3Sosteroptions RAID_AUTOCONFIG # auto-configuration of RAID components 29439b858e3Soster# Options to enable various other RAIDframe RAID types. 29539b858e3Soster#options RF_INCLUDE_EVENODD=1 29639b858e3Soster#options RF_INCLUDE_RAID5_RS=1 29739b858e3Soster#options RF_INCLUDE_PARITYLOGGING=1 29839b858e3Soster#options RF_INCLUDE_CHAINDECLUSTER=1 29939b858e3Soster#options RF_INCLUDE_INTERDECLUSTER=1 30039b858e3Soster#options RF_INCLUDE_PARITY_DECLUSTERING=1 30139b858e3Soster#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 302835e533bSpookapseudo-device fss # file system snapshot device 30370d4493cSpookapseudo-device putter # for puffs and pud 304f10a0c89Sjonathan 305fde6ae6fSlukempseudo-device clockctl # user control of clock subsystem 30647655f2dSisakipseudo-device drvctl # user control of drive subsystem 307d8c8fa81Sraggepseudo-device ksyms # /dev/ksyms 3086a4b8d60Sriastradhpseudo-device swwdog # software watchdog timer -- swwdog(4) 309d8360081Sadpseudo-device wsfont # wsfont control device 310d8360081Sadpseudo-device wsmux # wsmux control device 3114591e5acSelad 31275d6e670Ssevaninclude "dev/veriexec.config" 313fefcfcceSchristos 314fefcfcceSchristosoptions PAX_ASLR_DEBUG=1 # PaX ASLR debug 315fefcfcceSchristosoptions PAX_SEGVGUARD=0 # PaX Segmentation fault guard 316fefcfcceSchristosoptions PAX_MPROTECT=1 # PaX mprotect(2) restrictions 317fefcfcceSchristosoptions PAX_MPROTECT_DEBUG=1 # PaX mprotect debug 318fefcfcceSchristosoptions PAX_ASLR=1 # PaX Address Space Layout Randomization 319*17aad413Sabs 320*17aad413Sabs# Pull in optional local configuration - always at end 321*17aad413Sabscinclude "arch/pmax/conf/GENERIC.local" 322