GENERIC revision 1.135
1b8e80941Smrg# $NetBSD: GENERIC,v 1.135 2022/09/29 10:10:08 riastradh Exp $ 2b8e80941Smrg# 3848b8605Smrg# GENERIC machine description file 4848b8605Smrg# 5848b8605Smrg# This machine description file is used to generate the default NetBSD 6848b8605Smrg# kernel. The generic kernel does not include all options, subsystems 7848b8605Smrg# and device drivers, but should be useful for most applications. 8848b8605Smrg# 9848b8605Smrg# The machine description file can be customised for your specific 10848b8605Smrg# machine to reduce the kernel size and improve its performance. 11848b8605Smrg# 12848b8605Smrg# For further information on compiling NetBSD kernels, see the config(8) 13848b8605Smrg# man page. 14848b8605Smrg# 15848b8605Smrg# For further information on hardware support for this architecture, see 16848b8605Smrg# the intro(4) man page. For further information about kernel options 17848b8605Smrg# for this architecture, see the options(4) man page. For an explanation 18848b8605Smrg# of each device driver in this file see the section 4 man page for the 19848b8605Smrg# device. 20848b8605Smrg 21848b8605Smrginclude "arch/luna68k/conf/std.luna68k" 22b8e80941Smrg 23b8e80941Smrgoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 24b8e80941Smrg 25b8e80941Smrg#ident "GENERIC-$Revision: 1.135 $" 26b8e80941Smrg 27b8e80941Smrgmakeoptions COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer" 28b8e80941Smrg # See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for 29b8e80941Smrg # backtraces in DDB. 30b8e80941Smrg 31b8e80941Smrgmaxusers 8 32b8e80941Smrg 33b8e80941Smrgoptions M68030 34b8e80941Smrgoptions M68040 35b8e80941Smrgoptions FPSP # on m68040 to emulate some missing FP instructions 36b8e80941Smrg 37b8e80941Smrg# Needs to be set per system. i.e change these as you see fit 38b8e80941Smrg 39b8e80941Smrg# Standard system options 40b8e80941Smrgoptions NTP # NTP phase/frequency locked loop 41b8e80941Smrgoptions KTRACE 42b8e80941Smrgoptions SYSVMSG # System V message queues 43b8e80941Smrgoptions SYSVSEM # System V semaphores 44b8e80941Smrgoptions SYSVSHM # System V shared memory 45b8e80941Smrg 46b8e80941Smrgoptions MODULAR # new style module(7) framework 47b8e80941Smrgoptions MODULAR_DEFAULT_AUTOLOAD 48b8e80941Smrg 49b8e80941Smrgoptions USERCONF # userconf(4) support 50b8e80941Smrg#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 51b8e80941Smrgoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 52b8e80941Smrg 53b8e80941Smrg# Alternate buffer queue strategies for better responsiveness under high 54b8e80941Smrg# disk I/O load. 55b8e80941Smrg#options BUFQ_READPRIO 56b8e80941Smrg#options BUFQ_PRIOCSCAN 57b8e80941Smrg 58b8e80941Smrg# Debugging options 59b8e80941Smrgoptions DDB 60b8e80941Smrg#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 61b8e80941Smrg#makeoptions COPY_SYMTAB=1 # place DDB symbols in data segment 62b8e80941Smrg#options DEBUG # extra kernel debugging support 63b8e80941Smrg#options DIAGNOSTIC # extra kernel sanity checking 64b8e80941Smrg#options SCSIVERBOSE # Verbose SCSI errors 65b8e80941Smrg#options SCSIDEBUG 66b8e80941Smrg#makeoptions DEBUG="-g" # compile full symbol table 67b8e80941Smrg 68b8e80941Smrg# Compatibility options 69b8e80941Smrginclude "conf/compat_netbsd12.config" 70b8e80941Smrg 71b8e80941Smrgoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 72b8e80941Smrgoptions EXEC_AOUT # support for a.out executables 73b8e80941Smrg 74b8e80941Smrg# File systems 75b8e80941Smrgfile-system FFS # ufs file system 76b8e80941Smrg#file-system LFS # log-structured file system 77b8e80941Smrgfile-system NFS # nfs client support 78b8e80941Smrgfile-system MFS 79b8e80941Smrgfile-system CD9660 # ISO 9660 + Rock Ridge file system 80b8e80941Smrg#file-system MSDOSFS # MS-DOS FAT file system 81b8e80941Smrgfile-system KERNFS # /kern 82b8e80941Smrgfile-system PROCFS # /proc 83b8e80941Smrg#file-system FDESC # /dev/fd/* 84b8e80941Smrgfile-system NULLFS # loopback file system 85b8e80941Smrg#file-system UMAPFS # NULLFS + uid and gid remapping 86b8e80941Smrg#file-system UNION # union file system 87b8e80941Smrg#file-system CODA # Coda File System; also needs vcode (below) 88b8e80941Smrgfile-system PTYFS # /dev/pts/N support 89b8e80941Smrgfile-system TMPFS # Efficient memory file-system 90b8e80941Smrg#file-system UDF # experimental - OSTA UDF CD/DVD file-system 91b8e80941Smrg 92b8e80941Smrg# File system options 93b8e80941Smrg#options FFS_EI # FFS Endian Independent support 94b8e80941Smrg#options FFS_NO_SNAPSHOT # No FFS snapshot support 95b8e80941Smrg#options QUOTA # legacy UFS quotas 96b8e80941Smrg#options QUOTA2 # new, in-filesystem UFS quotas 97b8e80941Smrg#options UFS_DIRHASH # UFS Large Directory Hashing 98b8e80941Smrg#options UFS_EXTATTR # Extended attribute support for UFS1 99b8e80941Smrgoptions WAPBL # File system journaling support 100b8e80941Smrg#options NFSSERVER # Network File System server 101b8e80941Smrg 102b8e80941Smrg# Networking options 103b8e80941Smrgoptions INET # IP protocol stack support 104b8e80941Smrgoptions INET6 # IPV6 105b8e80941Smrg#options IPSEC # IP security 106b8e80941Smrg#options IPSEC_DEBUG # debug for IP security 107b8e80941Smrg#options GATEWAY # IP packet forwarding 108b8e80941Smrg#options MROUTING # IP multicast routing 109b8e80941Smrg#options PIM # Protocol Independent Multicast 110b8e80941Smrg#options NETATALK # AppleTalk networking protocols 111b8e80941Smrg#options PPP_BSDCOMP # BSD-Compress compression support for PPP 112b8e80941Smrg#options PPP_DEFLATE # Deflate compression support for PPP 113b8e80941Smrg#options PPP_FILTER # Active filter support for PPP (requires bpf) 114b8e80941Smrgoptions NFS_BOOT_DHCP # superset of BOOTP 115b8e80941Smrg#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 116b8e80941Smrg 117b8e80941Smrg#options ALTQ # Manipulate network interfaces' output queues 118b8e80941Smrg#options ALTQ_BLUE # Stochastic Fair Blue 119b8e80941Smrg#options ALTQ_CBQ # Class-Based Queueing 120b8e80941Smrg#options ALTQ_CDNR # Diffserv Traffic Conditioner 121b8e80941Smrg#options ALTQ_FIFOQ # First-In First-Out Queue 122b8e80941Smrg#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 123b8e80941Smrg#options ALTQ_HFSC # Hierarchical Fair Service Curve 124b8e80941Smrg#options ALTQ_LOCALQ # Local queueing discipline 125b8e80941Smrg#options ALTQ_PRIQ # Priority Queueing 126b8e80941Smrg#options ALTQ_RED # Random Early Detection 127b8e80941Smrg#options ALTQ_RIO # RED with IN/OUT 128b8e80941Smrg#options ALTQ_WFQ # Weighted Fair Queueing 129b8e80941Smrg 130b8e80941Smrg# WS console uses SUN or VT100 terminal emulation 131b8e80941Smrgoptions WSEMUL_VT100 132b8e80941Smrgoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 133b8e80941Smrgoptions WSDISPLAY_COMPAT_RAWKBD 134b8e80941Smrgoptions WS_KERNEL_FG=WSCOL_GREEN 135b8e80941Smrg#options WS_KERNEL_BG=WSCOL_BLACK 136b8e80941Smrg 137b8e80941Smrgoptions FONT_OMRON12x20 138b8e80941Smrg 139b8e80941Smrgconfig netbsd root on ? type ? 140b8e80941Smrg 141b8e80941Smrgmainbus0 at root 142b8e80941Smrg 143b8e80941Smrgclock0 at mainbus0 144b8e80941Smrg 145b8e80941Smrg# LCD on front panel 146b8e80941Smrglcd0 at mainbus0 147b8e80941Smrg 148b8e80941Smrg# uPD7201 SIO 149b8e80941Smrgsio0 at mainbus0 150b8e80941Smrgsiotty0 at sio0 # ttya 151b8e80941Smrgws0 at sio0 # port for keyboard and mouse 152b8e80941Smrg# AM7990 LANCE 153b8e80941Smrgle0 at mainbus0 154b8e80941Smrg# MB89532 SPC 155b8e80941Smrgspc0 at mainbus0 156b8e80941Smrgspc1 at mainbus0 # 2nd SCSI on LUNA-II 157b8e80941Smrg# framebuffer 158b8e80941Smrgfb0 at mainbus0 # 16 or 256 pseudo color 159b8e80941Smrg 160b8e80941Smrg# HD647180X I/O processor 161b8e80941Smrgxpbus0 at mainbus0 162b8e80941Smrgxp0 at xpbus0 163b8e80941Smrg 164b8e80941Smrg# HD647180X I/O processor as PSG PAM audio 165b8e80941Smrgpsgpam0 at xpbus0 166b8e80941Smrgaudio* at psgpam? 167b8e80941Smrg#spkr* at audio? 168b8e80941Smrg#wsbell* at spkr? 169b8e80941Smrg 170b8e80941Smrg# Workstation Console attachments 171b8e80941Smrgwsdisplay* at fb? 172b8e80941Smrgwskbd* at ws? console ? mux 1 173b8e80941Smrgwsmouse* at ws? mux 0 174b8e80941Smrg 175b8e80941Smrg# SCSI bus support 176b8e80941Smrgscsibus* at spc? 177b8e80941Smrg 178b8e80941Smrg# SCSI devices 179b8e80941Smrgsd* at scsibus? target ? lun ? # SCSI disks 180b8e80941Smrgst* at scsibus? target ? lun ? # SCSI tapes 181b8e80941Smrgcd* at scsibus? target ? lun ? # SCSI CD-ROMs 182b8e80941Smrg#ch* at scsibus? target ? lun ? # SCSI changer devices 183b8e80941Smrg#ss* at scsibus? target ? lun ? # SCSI scanners 184b8e80941Smrg#uk* at scsibus? target ? lun ? # unknown SCSI devices 185b8e80941Smrg 186b8e80941Smrg# 187b8e80941Smrg# accept filters 188b8e80941Smrg#pseudo-device accf_data # "dataready" accept filter 189b8e80941Smrg#pseudo-device accf_http # "httpready" accept filter 190b8e80941Smrg 191b8e80941Smrgpseudo-device bpfilter # Berkeley Packet Filter 192b8e80941Smrg#pseudo-device carp # Common Address Redundancy Protocol 193b8e80941Smrg#pseudo-device ccd # concatenated and striped disks 194b8e80941Smrg#pseudo-device cgd # cryptographic disks 195b8e80941Smrg#pseudo-device gre # generic L3 over IP tunnel 196b8e80941Smrg#pseudo-device npf # NPF packet filter 197b8e80941Smrgpseudo-device loop # loopback interface; required 198b8e80941Smrgpseudo-device md # memory disk device 199b8e80941Smrg#pseudo-device ppp # PPP interfaces 200b8e80941Smrg#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 201b8e80941Smrgpseudo-device pty # pseudo-terminals 202b8e80941Smrg#pseudo-device raid # RAIDframe disk driver 203b8e80941Smrgpseudo-device fss # file system snapshot device 204b8e80941Smrg#pseudo-device sl # SLIP interfaces 205b8e80941Smrg#pseudo-device tun # Network "tunnel" device 206b8e80941Smrg#pseudo-device tap # virtual Ethernet 207b8e80941Smrgpseudo-device vlan # IEEE 802.1q encapsulation 208b8e80941Smrgpseudo-device bridge # simple inter-network bridging 209b8e80941Smrg#pseudo-device vether # Virtual Ethernet for bridge 210b8e80941Smrgpseudo-device agr # IEEE 802.3ad link aggregation 211b8e80941Smrg#pseudo-device vnd # disk-like interface to files 212b8e80941Smrg#options VND_COMPRESSION # compressed vnd(4) 213b8e80941Smrgpseudo-device clockctl # user control of clock subsystem 214b8e80941Smrgpseudo-device drvctl # user control of drive subsystem 215b8e80941Smrgpseudo-device ksyms # /dev/ksyms 216b8e80941Smrgpseudo-device swwdog # software watchdog timer -- swwdog(4) 217b8e80941Smrg 218b8e80941Smrgpseudo-device wsmux # mouse & keyboard multiplexsor 219b8e80941Smrg 220b8e80941Smrg# Veriexec 221b8e80941Smrg# include "dev/veriexec.config" 222b8e80941Smrg