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