1 # $NetBSD: GENERIC,v 1.12 2025/08/27 04:47:17 isaki 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 21 include "arch/virt68k/conf/std.virt68k" 22 23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25 #ident "GENERIC-$Revision: 1.12 $" 26 27 makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk 28 29 # reserve symbol space and copy the symbol table into it. Needed 30 # because Qemu does not load the symbol table when loading the 31 # kernel. 32 makeoptions COPY_SYMTAB=1 33 34 # CPUs this kernel supports 35 options M68030 36 options M68040 37 38 maxusers 16 39 40 # Needed on m68040 boards to emulate some missing FP instructions 41 options FPSP 42 43 options DDB 44 options DIAGNOSTIC 45 #options LOCKDEBUG 46 #options DEBUG 47 48 #options SYSVSHM 49 options KTRACE 50 51 options USERCONF # userconf(4) support 52 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 53 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 54 55 # Alternate buffer queue strategies for better responsiveness under high 56 # disk I/O load. 57 #options BUFQ_READPRIO 58 #options BUFQ_PRIOCSCAN 59 60 file-system FFS 61 file-system NFS 62 file-system KERNFS 63 file-system PROCFS 64 #file-system MFS 65 file-system CD9660 66 file-system MSDOSFS 67 #file-system UNION 68 file-system PTYFS # /dev/pts/N support 69 file-system TMPFS # Efficient memory file-system 70 #file-system UDF # experimental - OSTA UDF CD/DVD file-system 71 file-system NULLFS # loopback file system 72 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 73 pseudo-device putter # for puffs and pud 74 75 # File system options 76 #options FFS_EI # FFS Endian Independent support 77 options FFS_NO_SNAPSHOT # No FFS snapshot support 78 #options UFS_DIRHASH # UFS Large Directory Hashing 79 #options UFS_EXTATTR # Extended attribute support for UFS1 80 options WAPBL # File system journaling support 81 options NFSSERVER # Network File System server 82 83 # Networking options 84 options INET 85 options INET6 # IPV6 86 #options IPSEC # IP security 87 #options IPSEC_DEBUG # debug for IP security 88 #options GATEWAY # IP packet forwarding 89 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 90 91 #options ALTQ # Manipulate network interfaces' output queues 92 #options ALTQ_BLUE # Stochastic Fair Blue 93 #options ALTQ_CBQ # Class-Based Queueing 94 #options ALTQ_CDNR # Diffserv Traffic Conditioner 95 #options ALTQ_FIFOQ # First-In First-Out Queue 96 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 97 #options ALTQ_HFSC # Hierarchical Fair Service Curve 98 #options ALTQ_LOCALQ # Local queueing discipline 99 #options ALTQ_PRIQ # Priority Queueing 100 #options ALTQ_RED # Random Early Detection 101 #options ALTQ_RIO # RED with IN/OUT 102 #options ALTQ_WFQ # Weighted Fair Queueing 103 104 options COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out 105 include "conf/compat_netbsd09.config" 106 #options COMPAT_SUNOS 107 #options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries 108 #options COMPAT_LINUX # compatibility with Linux/m68k binaries 109 #options COMPAT_OSSAUDIO # compatibility with Linux/m68k binaries 110 111 # Shared memory options 112 options SYSVMSG # System V-like message queues 113 options SYSVSEM # System V-like semaphores 114 options SYSVSHM # System V-like memory sharing 115 116 ## force NFS root and swap 117 #config netbsd root on ? type nfs 118 ## "generic" boot (put root on boot device) 119 config netbsd root on ? type ? 120 121 # Which protocol to use when booting over NFS 122 options NFS_BOOT_DHCP # Diskless client w/ dhcp 123 options NFS_BOOT_BOOTP # Diskless client w/ bootp 124 options NFS_BOOT_BOOTPARAM # Diskless client w/ bootparamd 125 126 # 127 # accept filters 128 pseudo-device accf_data # "dataready" accept filter 129 pseudo-device accf_http # "httpready" accept filter 130 131 pseudo-device sl 132 pseudo-device ppp 133 #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 134 pseudo-device loop 135 pseudo-device bpfilter 136 #pseudo-device carp # Common Address Redundancy Protocol 137 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 138 #pseudo-device faith # IPv[46] tcp relay translation i/f 139 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 140 #pseudo-device vlan # IEEE 802.1q encapsulation 141 #pseudo-device bridge # simple inter-network bridging 142 #pseudo-device vether # Virtual Ethernet for bridge 143 #pseudo-device agr # IEEE 802.3ad link aggregation 144 pseudo-device pty # pseudo-terminals 145 #pseudo-device cgd # cryptographic disk devices 146 pseudo-device vnd 147 #options VND_COMPRESSION # compressed vnd(4) 148 pseudo-device fss # file system snapshot device 149 pseudo-device clockctl # user control of clock subsystem 150 pseudo-device ksyms # /dev/ksyms 151 #pseudo-device npf # NPF packet filter 152 pseudo-device swwdog # software watchdog timer -- swwdog(4) 153 pseudo-device drvctl # user control of drive subsystem 154 155 # crypto pseudo-devices 156 pseudo-device crypto # /dev/crypto device 157 pseudo-device swcrypto # software crypto implementation 158 159 # random number generator pseudo-device 160 #options RND_COM # use "com" randomness as well (BROKEN) 161 162 # Veriexec 163 # include "dev/veriexec.config" 164 165 mainbus0 at root 166 167 # Goldfish virtual devices 168 gfpic* at mainbus? addr ? # interrupt controller 169 gftty* at mainbus? addr ? # console terminal 170 gfrtc* at mainbus? addr ? # real-time clock / timer 171 172 # Qemu Virtual System Controller 173 virtctrl* at mainbus? addr ? 174 175 # VirtIO devices 176 virtio* at mainbus? addr ? # VirtIO nexus 177 178 include "dev/virtio/virtio.config" 179 no vio9p* at virtio? # XXX ? 180 no viomb* at virtio? # XXX ? 181 no viogpu* at virtio? # No rasops (yet?) 182 183 # SCSI devices 184 scsibus* at scsi? 185 sd* at scsibus? target ? lun ? # SCSI disks 186 #st* at scsibus? target ? lun ? # SCSI tapes 187 cd* at scsibus? target ? lun ? # SCSI CD-ROMs 188 #ch* at scsibus? target ? lun ? # SCSI changer devices 189 #ss* at scsibus? target ? lun ? # SCSI scanners 190 #ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices 191 uk* at scsibus? target ? lun ? # unknown SCSI 192 193 # Pull in optional local configuration - always at end 194 cinclude "arch/virt68k/conf/GENERIC.local" 195