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