1 1.108.2.2 tls # $NetBSD: GENERIC,v 1.108.2.4 2017/12/03 11:36:00 jdolecek Exp $ 2 1.1 marcus # 3 1.14 gmcgarry # GENERIC machine description file 4 1.14 gmcgarry # 5 1.14 gmcgarry # This machine description file is used to generate the default NetBSD 6 1.14 gmcgarry # kernel. The generic kernel does not include all options, subsystems 7 1.14 gmcgarry # and device drivers, but should be useful for most applications. 8 1.1 marcus # 9 1.14 gmcgarry # The machine description file can be customised for your specific 10 1.14 gmcgarry # machine to reduce the kernel size and improve its performance. 11 1.14 gmcgarry # 12 1.14 gmcgarry # For further information on compiling NetBSD kernels, see the config(8) 13 1.14 gmcgarry # man page. 14 1.14 gmcgarry # 15 1.14 gmcgarry # For further information on hardware support for this architecture, see 16 1.14 gmcgarry # the intro(4) man page. For further information about kernel options 17 1.14 gmcgarry # for this architecture, see the options(4) man page. For an explanation 18 1.14 gmcgarry # of each device driver in this file see the section 4 man page for the 19 1.14 gmcgarry # device. 20 1.1 marcus 21 1.14 gmcgarry include "arch/dreamcast/conf/std.dreamcast" 22 1.23 atatat 23 1.23 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 1.1 marcus 25 1.20 uch maxusers 16 # estimated number of users 26 1.20 uch 27 1.1 marcus # Standard system options 28 1.1 marcus #options INSECURE # disable kernel security levels 29 1.1 marcus 30 1.13 lukem #options RTC_OFFSET=-540 31 1.8 marcus options HZ=100 # clock interrupt generates every 1/HZ sec 32 1.28 tsutsui options NTP # NTP phase/frequency locked loop 33 1.1 marcus 34 1.28 tsutsui options KTRACE # system call tracing via ktrace(1) 35 1.16 jdolecek 36 1.26 lukem options USERCONF # userconf(4) support 37 1.29 itohy #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 38 1.44 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 39 1.1 marcus 40 1.28 tsutsui options SYSVMSG # System V-like message queues 41 1.28 tsutsui options SYSVSEM # System V-like semaphores 42 1.28 tsutsui options SYSVSHM # System V-like memory sharing 43 1.1 marcus 44 1.100 tsutsui #options MODULAR # new style module(7) framework 45 1.108.2.4 jdolecek #options MODULAR_DEFAULT_AUTOLOAD 46 1.98 tsutsui 47 1.1 marcus # Diagnostic/debugging support options 48 1.62 chs #options DIAGNOSTIC # cheap kernel consistency checks 49 1.1 marcus #options DEBUG # expensive debugging checks/support 50 1.28 tsutsui options DDB # in-kernel debugger 51 1.18 uch #options KGDB # remote debugger 52 1.18 uch #options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600 53 1.1 marcus #makeoptions DEBUG="-g" # compile full symbol table 54 1.108.2.4 jdolecek makeoptions COPY_SYMTAB=1 55 1.1 marcus #options SYSCALL_DEBUG 56 1.1 marcus #options UVMHIST 57 1.13 lukem #options UVMHIST_PRINT 58 1.1 marcus 59 1.1 marcus # Compatibility options 60 1.108.2.4 jdolecek include "conf/compat_netbsd16.config" 61 1.1 marcus 62 1.1 marcus # Executable format options 63 1.1 marcus options EXEC_COFF # COFF executables 64 1.1 marcus 65 1.1 marcus # File systems 66 1.1 marcus file-system FFS # UFS 67 1.28 tsutsui #file-system EXT2FS # second extended file system (linux) 68 1.28 tsutsui #file-system LFS # log-structured file system 69 1.1 marcus file-system MFS # memory file system 70 1.6 thorpej file-system NFS # Network File System client 71 1.28 tsutsui file-system CD9660 # CD-ROM file system 72 1.28 tsutsui #file-system MSDOSFS # MS-DOS file system 73 1.28 tsutsui file-system FDESC # /dev/fd 74 1.28 tsutsui file-system KERNFS # /kern 75 1.1 marcus file-system PROCFS # /proc 76 1.1 marcus #file-system NULLFS # loopback file system 77 1.28 tsutsui #file-system OVERLAY # overlay file system 78 1.1 marcus #file-system UMAPFS # NULLFS + uid and gid remapping 79 1.107 abs file-system UNION # union file system 80 1.94 chs file-system PTYFS # /dev/pts/N support 81 1.94 chs file-system TMPFS # Efficient memory file-system 82 1.67 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system 83 1.1 marcus 84 1.1 marcus # File system options 85 1.101 bouyer #options QUOTA # legacy UFS quotas 86 1.101 bouyer #options QUOTA2 # new, in-filesystem UFS quotas 87 1.28 tsutsui #options FFS_EI # FFS Endian Independent supoprt 88 1.104 dholland options WAPBL # File system journaling support 89 1.53 tsutsui #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 90 1.1 marcus #options NFSSERVER # Network File System server 91 1.64 tsutsui options FFS_NO_SNAPSHOT # No FFS snapshot support 92 1.108.2.4 jdolecek #options UFS_EXTATTR # Extended attribute support for UFS1 93 1.28 tsutsui #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 94 1.28 tsutsui # immutable) behave as system flags. 95 1.1 marcus 96 1.1 marcus # Networking options 97 1.1 marcus options INET # IP + ICMP + TCP + UDP 98 1.28 tsutsui options INET6 # IPV6 99 1.28 tsutsui #options IPSEC # IP security 100 1.28 tsutsui #options IPSEC_DEBUG # debug for IP security 101 1.28 tsutsui #options MROUTING # IP multicast routing 102 1.45 manu #options PIM # Protocol Independent Multicast 103 1.28 tsutsui #options NETATALK # AppleTalk networking protocols 104 1.28 tsutsui #options PPP_BSDCOMP # BSD-Compress compression support for PPP 105 1.28 tsutsui #options PPP_DEFLATE # Deflrate compression support for PPP 106 1.28 tsutsui #options PPP_FILTER # Active filter support for PPP (requires bpf) 107 1.28 tsutsui #options IPFILTER_LOG # ipmon(8) log support 108 1.74 christos #options IPFILTER_LOOKUP # ippool(8) support 109 1.28 tsutsui #options IPFILTER_DEFAULT_BLOCK # block all packets by default 110 1.28 tsutsui #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 111 1.1 marcus 112 1.42 abs #options ALTQ # Manipulate network interfaces' output queues 113 1.42 abs #options ALTQ_BLUE # Stochastic Fair Blue 114 1.42 abs #options ALTQ_CBQ # Class-Based Queueing 115 1.42 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner 116 1.42 abs #options ALTQ_FIFOQ # First-In First-Out Queue 117 1.42 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 118 1.42 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve 119 1.42 abs #options ALTQ_LOCALQ # Local queueing discipline 120 1.42 abs #options ALTQ_PRIQ # Priority Queueing 121 1.42 abs #options ALTQ_RED # Random Early Detection 122 1.42 abs #options ALTQ_RIO # RED with IN/OUT 123 1.42 abs #options ALTQ_WFQ # Weighted Fair Queueing 124 1.42 abs 125 1.1 marcus #options PCIVERBOSE # verbose PCI device autoconfig messages 126 1.28 tsutsui #options MIIVERBOSE # verbose PHY autoconfig messages 127 1.1 marcus #options PCI_CONFIG_DUMP # verbosely dump PCI config space 128 1.1 marcus 129 1.28 tsutsui options NFS_BOOT_DHCP # Support DHCP NFS root 130 1.28 tsutsui 131 1.47 tsutsui options KLOADER # in-kernel bootloader 132 1.47 tsutsui #options KLOADER_DEBUG 133 1.47 tsutsui 134 1.28 tsutsui # wscons options 135 1.28 tsutsui options WSEMUL_VT100 # VT100 / VT220 emulation 136 1.108 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 137 1.28 tsutsui options FONT_BOLD8x16 138 1.28 tsutsui #options FONT_SONY8x16 139 1.28 tsutsui 140 1.1 marcus # Kernel root file system and dump configuration. 141 1.1 marcus #config netbsd root on ? type nfs 142 1.1 marcus #config netbsd root on wd0a type ffs 143 1.6 thorpej config netbsd root on ? type ? 144 1.1 marcus 145 1.1 marcus # 146 1.1 marcus # Device configuration 147 1.1 marcus # 148 1.1 marcus 149 1.1 marcus mainbus0 at root 150 1.1 marcus 151 1.20 uch cpu* at mainbus? 152 1.20 uch shb* at mainbus? 153 1.1 marcus 154 1.1 marcus # Serial Devices 155 1.28 tsutsui #options SCIFCONSOLE 156 1.13 lukem options SCIFCN_SPEED=57600 157 1.20 uch scif0 at shb? 158 1.3 marcus 159 1.6 thorpej pvr0 at shb? 160 1.13 lukem wsdisplay* at pvr? console ? 161 1.3 marcus 162 1.6 thorpej maple0 at shb? 163 1.29 itohy 164 1.6 thorpej mkbd* at maple? port ? subunit ? 165 1.29 itohy wskbd* at mkbd? mux 1 console ? 166 1.29 itohy 167 1.29 itohy mms* at maple? port ? subunit ? 168 1.29 itohy wsmouse* at mms? mux 0 169 1.29 itohy 170 1.29 itohy mmem* at maple? port ? subunit ? 171 1.29 itohy mlcd* at maple? port ? subunit ? 172 1.6 thorpej 173 1.6 thorpej gdrom0 at shb? 174 1.6 thorpej 175 1.6 thorpej g2bus0 at shb? 176 1.75 uwe g2rtc0 at g2bus? # time-of-day clock 177 1.6 thorpej gapspci* at g2bus? # GAPS PCI bridge 178 1.6 thorpej pci* at gapspci? 179 1.6 thorpej rtk* at pci? dev ? function ? # SEGA Broadband Adapter 180 1.91 tsutsui rlphy* at mii? phy ? 181 1.30 tsutsui 182 1.30 tsutsui mbe* at g2bus? # SEGA LAN Adapter 183 1.37 marcus 184 1.37 marcus aica* at g2bus? # AICA Sound Processing Unit 185 1.108.2.4 jdolecek audio* at audiobus? 186 1.108.2.4 jdolecek 187 1.108.2.4 jdolecek spkr* at audio? # PC speaker (synthesized) 188 1.1 marcus 189 1.108.2.2 tls #pseudo-device cgd # cryptographic disk devices 190 1.99 hannken pseudo-device md # memory disk device (ramdisk) 191 1.69 cube pseudo-device vnd # disk-like interface to files 192 1.56 hubertf #options VND_COMPRESSION # compressed vnd(4) 193 1.28 tsutsui 194 1.28 tsutsui # network pseudo-devices 195 1.68 rpaulo pseudo-device bpfilter # Berkeley packet filter 196 1.71 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol 197 1.1 marcus #pseudo-device ipfilter # IP filter (firewall) and NAT 198 1.1 marcus pseudo-device loop # network loopback 199 1.69 cube #pseudo-device ppp # Point-to-Point Protocol 200 1.28 tsutsui #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 201 1.69 cube #pseudo-device sl # Serial Line IP 202 1.69 cube #pseudo-device tun # network tunneling over tty 203 1.48 cube #pseudo-device tap # virtual Ethernet 204 1.69 cube #pseudo-device gre # generic L3 over IP tunnel 205 1.69 cube #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 206 1.69 cube #pseudo-device faith # IPv[46] tcp relay translation i/f 207 1.69 cube #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 208 1.28 tsutsui #pseudo-device vlan # IEEE 802.1q encapsulation 209 1.28 tsutsui #pseudo-device bridge # simple inter-network bridging 210 1.53 tsutsui #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 211 1.78 martin #pseudo-device agr # IEEE 802.3ad link aggregation 212 1.28 tsutsui 213 1.86 tls # 214 1.86 tls # accept filters 215 1.86 tls pseudo-device accf_data # "dataready" accept filter 216 1.86 tls pseudo-device accf_http # "httpready" accept filter 217 1.86 tls 218 1.28 tsutsui # miscellaneous pseudo-devices 219 1.1 marcus pseudo-device pty # pseudo-terminals 220 1.25 lukem pseudo-device clockctl # user control of clock subsystem 221 1.29 itohy pseudo-device wsmux # mouse & keyboard multiplexor 222 1.35 ragge pseudo-device ksyms # /dev/ksyms 223 1.41 itojun #pseudo-device pf # PF packet filter 224 1.41 itojun #pseudo-device pflog # PF log if 225 1.66 elad 226 1.66 elad # Veriexec 227 1.66 elad # 228 1.66 elad # a pseudo device needed for veriexec 229 1.108.2.2 tls #pseudo-device veriexec 230 1.66 elad # 231 1.66 elad # Uncomment the fingerprint methods below that are desired. Note that 232 1.66 elad # removing fingerprint methods will have almost no impact on the kernel 233 1.66 elad # code size. 234 1.66 elad # 235 1.66 elad #options VERIFIED_EXEC_FP_SHA256 236 1.66 elad #options VERIFIED_EXEC_FP_SHA384 237 1.66 elad #options VERIFIED_EXEC_FP_SHA512 238