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