GENERIC revision 1.124 1 # $NetBSD: GENERIC,v 1.124 2017/09/14 07:58:41 mrg 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/luna68k/conf/std.luna68k"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.124 $"
26
27 makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk
28
29 maxusers 8
30
31 options M68030
32 options M68040
33 options FPSP # on m68040 to emulate some missing FP instructions
34
35 # Needs to be set per system. i.e change these as you see fit
36
37 # Standard system options
38 options NTP # NTP phase/frequency locked loop
39 options KTRACE
40 options SYSVMSG # System V message queues
41 options SYSVSEM # System V semaphores
42 options SYSVSHM # System V shared memory
43
44 options MODULAR # new style module(7) framework
45 options MODULAR_DEFAULT_AUTOLOAD
46
47 options USERCONF # userconf(4) support
48 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
49 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
50
51 # Enable experimental buffer queue strategy for better responsiveness under
52 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
53 #options BUFQ_READPRIO
54 #options BUFQ_PRIOCSCAN
55
56 # Debugging options
57 options DDB
58 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
59 #makeoptions COPY_SYMTAB=1 # place DDB symbols in data segment
60 #options DEBUG # extra kernel debugging support
61 #options DIAGNOSTIC # extra kernel sanity checking
62 #options SCSIVERBOSE # Verbose SCSI errors
63 #options SCSIDEBUG
64 #makeoptions DEBUG="-g" # compile full symbol table
65
66 # Compatibility options
67 include "conf/compat_netbsd12.config"
68
69 options COMPAT_AOUT_M68K # support for NetBSD a.out executables
70 options EXEC_AOUT # support for a.out executables
71
72 # Filesystem options
73 file-system FFS # ufs file system
74 #file-system LFS # log-structured file system
75 file-system NFS # nfs client support
76 file-system MFS
77 file-system CD9660 # ISO 9660 + Rock Ridge file system
78 #file-system MSDOSFS # MS-DOS FAT file system
79 file-system KERNFS # /kern
80 file-system PROCFS # /proc
81 #file-system FDESC # /dev/fd/*
82 file-system NULLFS # loopback file system
83 #file-system UMAPFS # NULLFS + uid and gid remapping
84 #file-system UNION # union file system
85 #file-system CODA # Coda File System; also needs vcode (below)
86 file-system PTYFS # /dev/pts/N support
87 file-system TMPFS # Efficient memory file-system
88 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
89
90 #options NFSSERVER # nfs server support
91 #options QUOTA # legacy UFS quotas
92 #options QUOTA2 # new, in-filesystem UFS quotas
93 #options FFS_EI # ffs endian independent support
94 options WAPBL # File system journaling support
95 #options FFS_NO_SNAPSHOT # No FFS snapshot support
96 #options UFS_EXTATTR # Extended attribute support for UFS1
97 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
98
99 # Networking options
100 options INET # IP protocol stack support
101 options INET6 # IPV6
102 #options IPSEC # IP security
103 #options IPSEC_DEBUG # debug for IP security
104 #options GATEWAY # IP packet forwarding
105 #options MROUTING # IP multicast routing
106 #options PIM # Protocol Independent Multicast
107 #options NETATALK # AppleTalk networking protocols
108 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
109 #options PPP_DEFLATE # Deflate compression support for PPP
110 #options PPP_FILTER # Active filter support for PPP (requires bpf)
111 #options IPFILTER_LOG # ipmon(8) log support
112 #options IPFILTER_LOOKUP # ippool(8) support
113 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
114 options 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
131 options WSEMUL_VT100
132 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
133 options WSDISPLAY_COMPAT_RAWKBD
134 options FONT_OMRON12x20
135
136 config netbsd root on ? type ?
137
138 mainbus0 at root
139
140 clock0 at mainbus0
141
142 # LCD on front panel
143 lcd0 at mainbus0
144
145 # uPD7201 SIO
146 sio0 at mainbus0
147 siotty0 at sio0 # ttya
148 ws0 at sio0 # port for keyboard and mouse
149 # AM7990 LANCE
150 le0 at mainbus0
151 # MB89532 SPC
152 spc0 at mainbus0
153 spc1 at mainbus0 # 2nd SCSI on LUNA-II
154 # framebuffer
155 fb0 at mainbus0 # 16 or 256 pseudo color
156
157 # HD647180X I/O processor
158 xp0 at mainbus0
159
160 # Workstation Console attachments
161 wsdisplay* at fb?
162 wskbd* at ws? console ? mux 1
163 wsmouse* at ws? mux 0
164
165 # SCSI bus support
166 scsibus* at spc?
167
168 # SCSI devices
169 sd* at scsibus? target ? lun ? # SCSI disks
170 st* at scsibus? target ? lun ? # SCSI tapes
171 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
172 #ch* at scsibus? target ? lun ? # SCSI changer devices
173 #ss* at scsibus? target ? lun ? # SCSI scanners
174 #uk* at scsibus? target ? lun ? # unknown SCSI devices
175
176 #
177 # accept filters
178 #pseudo-device accf_data # "dataready" accept filter
179 #pseudo-device accf_http # "httpready" accept filter
180
181 pseudo-device bpfilter # Berkeley Packet Filter
182 #pseudo-device carp # Common Address Redundancy Protocol
183 #pseudo-device ccd # concatenated and striped disks
184 #pseudo-device cgd # cryptographic disks
185 #pseudo-device gre # generic L3 over IP tunnel
186 #pseudo-device ipfilter # ip filter
187 pseudo-device loop # loopback interface; required
188 pseudo-device md # memory disk device
189 #pseudo-device ppp # PPP interfaces
190 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
191 pseudo-device pty # pseudo-terminals
192 #pseudo-device raid # RAIDframe disk driver
193 pseudo-device fss # file system snapshot device
194 #pseudo-device sl # SLIP interfaces
195 #pseudo-device tun # Network "tunnel" device
196 #pseudo-device tap # virtual Ethernet
197 pseudo-device vlan # IEEE 802.1q encapsulation
198 pseudo-device bridge # simple inter-network bridging
199 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
200 pseudo-device agr # IEEE 802.3ad link aggregation
201 #pseudo-device vnd # disk-like interface to files
202 #options VND_COMPRESSION # compressed vnd(4)
203 pseudo-device clockctl # user control of clock subsystem
204 pseudo-device ksyms # /dev/ksyms
205 #pseudo-device pf # PF packet filter
206 #pseudo-device pflog # PF log if
207
208 pseudo-device wsmux # mouse & keyboard multiplexsor
209
210 # Veriexec
211 #
212 # a pseudo device needed for veriexec
213 #pseudo-device veriexec
214 #
215 # Uncomment the fingerprint methods below that are desired. Note that
216 # removing fingerprint methods will have almost no impact on the kernel
217 # code size.
218 #
219 #options VERIFIED_EXEC_FP_SHA256
220 #options VERIFIED_EXEC_FP_SHA384
221 #options VERIFIED_EXEC_FP_SHA512
222