1 1.125 sevan # $NetBSD: GENERIC,v 1.125 2018/01/23 14:47:55 sevan Exp $ 2 1.1 nisimura # 3 1.24 gmcgarry # GENERIC machine description file 4 1.24 gmcgarry # 5 1.24 gmcgarry # This machine description file is used to generate the default NetBSD 6 1.24 gmcgarry # kernel. The generic kernel does not include all options, subsystems 7 1.24 gmcgarry # and device drivers, but should be useful for most applications. 8 1.1 nisimura # 9 1.24 gmcgarry # The machine description file can be customised for your specific 10 1.24 gmcgarry # machine to reduce the kernel size and improve its performance. 11 1.24 gmcgarry # 12 1.24 gmcgarry # For further information on compiling NetBSD kernels, see the config(8) 13 1.24 gmcgarry # man page. 14 1.24 gmcgarry # 15 1.24 gmcgarry # For further information on hardware support for this architecture, see 16 1.24 gmcgarry # the intro(4) man page. For further information about kernel options 17 1.24 gmcgarry # for this architecture, see the options(4) man page. For an explanation 18 1.24 gmcgarry # of each device driver in this file see the section 4 man page for the 19 1.24 gmcgarry # device. 20 1.24 gmcgarry 21 1.124 mrg include "arch/luna68k/conf/std.luna68k" 22 1.3 hubertf 23 1.30 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 1.30 atatat 25 1.125 sevan #ident "GENERIC-$Revision: 1.125 $" 26 1.111 tsutsui 27 1.111 tsutsui makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk 28 1.1 nisimura 29 1.1 nisimura maxusers 8 30 1.1 nisimura 31 1.22 lukem options M68030 32 1.94 tsutsui options M68040 33 1.94 tsutsui options FPSP # on m68040 to emulate some missing FP instructions 34 1.1 nisimura 35 1.1 nisimura # Needs to be set per system. i.e change these as you see fit 36 1.1 nisimura 37 1.1 nisimura # Standard system options 38 1.1 nisimura options NTP # NTP phase/frequency locked loop 39 1.1 nisimura options KTRACE 40 1.93 tsutsui options SYSVMSG # System V message queues 41 1.93 tsutsui options SYSVSEM # System V semaphores 42 1.93 tsutsui options SYSVSHM # System V shared memory 43 1.112 tsutsui 44 1.112 tsutsui options MODULAR # new style module(7) framework 45 1.117 jnemeth options MODULAR_DEFAULT_AUTOLOAD 46 1.112 tsutsui 47 1.32 lukem options USERCONF # userconf(4) support 48 1.27 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 49 1.48 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 50 1.37 junyoung 51 1.125 sevan # Alternate buffer queue strategies for better responsiveness under high 52 1.125 sevan # disk I/O load. 53 1.57 tsutsui #options BUFQ_READPRIO 54 1.57 tsutsui #options BUFQ_PRIOCSCAN 55 1.1 nisimura 56 1.1 nisimura # Debugging options 57 1.1 nisimura options DDB 58 1.1 nisimura #options DDB_HISTORY_SIZE=100 # enable history editing in DDB 59 1.115 joerg #makeoptions COPY_SYMTAB=1 # place DDB symbols in data segment 60 1.2 nisimura #options DEBUG # extra kernel debugging support 61 1.2 nisimura #options DIAGNOSTIC # extra kernel sanity checking 62 1.2 nisimura #options SCSIVERBOSE # Verbose SCSI errors 63 1.2 nisimura #options SCSIDEBUG 64 1.1 nisimura #makeoptions DEBUG="-g" # compile full symbol table 65 1.1 nisimura 66 1.17 wiz # Compatibility options 67 1.124 mrg include "conf/compat_netbsd12.config" 68 1.124 mrg 69 1.25 chs options COMPAT_AOUT_M68K # support for NetBSD a.out executables 70 1.25 chs options EXEC_AOUT # support for a.out executables 71 1.1 nisimura 72 1.1 nisimura # Filesystem options 73 1.1 nisimura file-system FFS # ufs file system 74 1.1 nisimura #file-system LFS # log-structured file system 75 1.1 nisimura file-system NFS # nfs client support 76 1.1 nisimura file-system MFS 77 1.110 tsutsui file-system CD9660 # ISO 9660 + Rock Ridge file system 78 1.1 nisimura #file-system MSDOSFS # MS-DOS FAT file system 79 1.1 nisimura file-system KERNFS # /kern 80 1.1 nisimura file-system PROCFS # /proc 81 1.1 nisimura #file-system FDESC # /dev/fd/* 82 1.1 nisimura file-system NULLFS # loopback file system 83 1.1 nisimura #file-system UMAPFS # NULLFS + uid and gid remapping 84 1.1 nisimura #file-system UNION # union file system 85 1.1 nisimura #file-system CODA # Coda File System; also needs vcode (below) 86 1.64 christos file-system PTYFS # /dev/pts/N support 87 1.90 chs file-system TMPFS # Efficient memory file-system 88 1.69 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system 89 1.1 nisimura 90 1.1 nisimura #options NFSSERVER # nfs server support 91 1.92 bouyer #options QUOTA # legacy UFS quotas 92 1.92 bouyer #options QUOTA2 # new, in-filesystem UFS quotas 93 1.77 wiz #options FFS_EI # ffs endian independent support 94 1.97 dholland options WAPBL # File system journaling support 95 1.67 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support 96 1.118 manu #options UFS_EXTATTR # Extended attribute support for UFS1 97 1.52 rumble #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 98 1.1 nisimura 99 1.1 nisimura # Networking options 100 1.65 isaki options INET # IP protocol stack support 101 1.112 tsutsui options INET6 # IPV6 102 1.1 nisimura #options IPSEC # IP security 103 1.1 nisimura #options IPSEC_DEBUG # debug for IP security 104 1.22 lukem #options GATEWAY # IP packet forwarding 105 1.1 nisimura #options MROUTING # IP multicast routing 106 1.49 manu #options PIM # Protocol Independent Multicast 107 1.1 nisimura #options NETATALK # AppleTalk networking protocols 108 1.1 nisimura #options PPP_BSDCOMP # BSD-Compress compression support for PPP 109 1.1 nisimura #options PPP_DEFLATE # Deflate compression support for PPP 110 1.1 nisimura #options PPP_FILTER # Active filter support for PPP (requires bpf) 111 1.1 nisimura #options IPFILTER_LOG # ipmon(8) log support 112 1.75 christos #options IPFILTER_LOOKUP # ippool(8) support 113 1.34 martti #options IPFILTER_DEFAULT_BLOCK # block all packets by default 114 1.1 nisimura options NFS_BOOT_DHCP # superset of BOOTP 115 1.19 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 116 1.1 nisimura 117 1.46 abs #options ALTQ # Manipulate network interfaces' output queues 118 1.46 abs #options ALTQ_BLUE # Stochastic Fair Blue 119 1.46 abs #options ALTQ_CBQ # Class-Based Queueing 120 1.46 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner 121 1.46 abs #options ALTQ_FIFOQ # First-In First-Out Queue 122 1.46 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 123 1.46 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve 124 1.46 abs #options ALTQ_LOCALQ # Local queueing discipline 125 1.46 abs #options ALTQ_PRIQ # Priority Queueing 126 1.46 abs #options ALTQ_RED # Random Early Detection 127 1.46 abs #options ALTQ_RIO # RED with IN/OUT 128 1.46 abs #options ALTQ_WFQ # Weighted Fair Queueing 129 1.46 abs 130 1.1 nisimura # WS console uses SUN or VT100 terminal emulation 131 1.1 nisimura options WSEMUL_VT100 132 1.100 abs options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 133 1.113 tsutsui options WSDISPLAY_COMPAT_RAWKBD 134 1.99 tsutsui options FONT_OMRON12x20 135 1.1 nisimura 136 1.12 nisimura config netbsd root on ? type ? 137 1.1 nisimura 138 1.1 nisimura mainbus0 at root 139 1.1 nisimura 140 1.1 nisimura clock0 at mainbus0 141 1.1 nisimura 142 1.121 tsutsui # LCD on front panel 143 1.121 tsutsui lcd0 at mainbus0 144 1.121 tsutsui 145 1.1 nisimura # uPD7201 SIO 146 1.1 nisimura sio0 at mainbus0 147 1.1 nisimura siotty0 at sio0 # ttya 148 1.1 nisimura ws0 at sio0 # port for keyboard and mouse 149 1.1 nisimura # AM7990 LANCE 150 1.1 nisimura le0 at mainbus0 151 1.1 nisimura # MB89532 SPC 152 1.1 nisimura spc0 at mainbus0 153 1.94 tsutsui spc1 at mainbus0 # 2nd SCSI on LUNA-II 154 1.1 nisimura # framebuffer 155 1.1 nisimura fb0 at mainbus0 # 16 or 256 pseudo color 156 1.1 nisimura 157 1.120 tsutsui # HD647180X I/O processor 158 1.120 tsutsui xp0 at mainbus0 159 1.120 tsutsui 160 1.1 nisimura # Workstation Console attachments 161 1.1 nisimura wsdisplay* at fb? 162 1.109 tsutsui wskbd* at ws? console ? mux 1 163 1.109 tsutsui wsmouse* at ws? mux 0 164 1.1 nisimura 165 1.1 nisimura # SCSI bus support 166 1.1 nisimura scsibus* at spc? 167 1.1 nisimura 168 1.1 nisimura # SCSI devices 169 1.1 nisimura sd* at scsibus? target ? lun ? # SCSI disks 170 1.1 nisimura st* at scsibus? target ? lun ? # SCSI tapes 171 1.106 tsutsui cd* at scsibus? target ? lun ? # SCSI CD-ROMs 172 1.1 nisimura #ch* at scsibus? target ? lun ? # SCSI changer devices 173 1.1 nisimura #ss* at scsibus? target ? lun ? # SCSI scanners 174 1.1 nisimura #uk* at scsibus? target ? lun ? # unknown SCSI devices 175 1.1 nisimura 176 1.84 tls # 177 1.84 tls # accept filters 178 1.112 tsutsui #pseudo-device accf_data # "dataready" accept filter 179 1.112 tsutsui #pseudo-device accf_http # "httpready" accept filter 180 1.84 tls 181 1.70 rpaulo pseudo-device bpfilter # Berkeley Packet Filter 182 1.72 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol 183 1.104 christos #pseudo-device ccd # concatenated and striped disks 184 1.104 christos #pseudo-device cgd # cryptographic disks 185 1.71 cube #pseudo-device gre # generic L3 over IP tunnel 186 1.104 christos #pseudo-device ipfilter # ip filter 187 1.104 christos pseudo-device loop # loopback interface; required 188 1.91 hannken pseudo-device md # memory disk device 189 1.71 cube #pseudo-device ppp # PPP interfaces 190 1.26 martin #pseudo-device pppoe # PPP over Ethernet (RFC 2516) 191 1.10 jdolecek pseudo-device pty # pseudo-terminals 192 1.105 christos #pseudo-device raid # RAIDframe disk driver 193 1.89 pooka pseudo-device fss # file system snapshot device 194 1.71 cube #pseudo-device sl # SLIP interfaces 195 1.71 cube #pseudo-device tun # Network "tunnel" device 196 1.51 cube #pseudo-device tap # virtual Ethernet 197 1.14 bouyer pseudo-device vlan # IEEE 802.1q encapsulation 198 1.23 atatat pseudo-device bridge # simple inter-network bridging 199 1.39 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 200 1.78 martin pseudo-device agr # IEEE 802.3ad link aggregation 201 1.71 cube #pseudo-device vnd # disk-like interface to files 202 1.60 hubertf #options VND_COMPRESSION # compressed vnd(4) 203 1.31 lukem pseudo-device clockctl # user control of clock subsystem 204 1.41 ragge pseudo-device ksyms # /dev/ksyms 205 1.45 itojun #pseudo-device pf # PF packet filter 206 1.45 itojun #pseudo-device pflog # PF log if 207 1.68 elad 208 1.109 tsutsui pseudo-device wsmux # mouse & keyboard multiplexsor 209 1.109 tsutsui 210 1.68 elad # Veriexec 211 1.68 elad # 212 1.68 elad # a pseudo device needed for veriexec 213 1.105 christos #pseudo-device veriexec 214 1.68 elad # 215 1.68 elad # Uncomment the fingerprint methods below that are desired. Note that 216 1.68 elad # removing fingerprint methods will have almost no impact on the kernel 217 1.68 elad # code size. 218 1.68 elad # 219 1.68 elad #options VERIFIED_EXEC_FP_SHA256 220 1.68 elad #options VERIFIED_EXEC_FP_SHA384 221 1.68 elad #options VERIFIED_EXEC_FP_SHA512 222