GENERIC revision 1.92 1 1.92 tsutsui # $NetBSD: GENERIC,v 1.92 2011/01/03 06:07:44 tsutsui Exp $
2 1.1 thorpej #
3 1.1 thorpej # Generic Shark configuration.
4 1.1 thorpej #
5 1.1 thorpej
6 1.1 thorpej include "arch/shark/conf/std.shark"
7 1.1 thorpej
8 1.5 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9 1.5 atatat
10 1.92 tsutsui #ident "GENERIC-$Revision: 1.92 $"
11 1.1 thorpej
12 1.1 thorpej # estimated number of users
13 1.1 thorpej maxusers 32
14 1.1 thorpej
15 1.1 thorpej # Standard system options
16 1.1 thorpej
17 1.1 thorpej options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
18 1.1 thorpej options HZ=64
19 1.1 thorpej #options NTP # NTP phase/frequency locked loop
20 1.1 thorpej #options BOOT_QUIETLY # twiddle instead of normal boot msg output
21 1.1 thorpej
22 1.1 thorpej # CPU options
23 1.1 thorpej
24 1.1 thorpej options CPU_SA110 # Support the SA110 core
25 1.1 thorpej
26 1.1 thorpej # Architecture options
27 1.1 thorpej
28 1.1 thorpej options SHARK # We are a Shark
29 1.1 thorpej options NSIO # We are using the National Semi SuperIO
30 1.20 uwe makeoptions CPUFLAGS="-march=armv4 -mtune=strongarm"
31 1.1 thorpej
32 1.1 thorpej # compatibility with old version of OFW, which may have incorrect
33 1.1 thorpej # properties and/or may set up devices incorrectly.
34 1.1 thorpej options COMPAT_OLD_OFW
35 1.1 thorpej
36 1.1 thorpej # FPA options
37 1.1 thorpej
38 1.1 thorpej #options ARMFPE # ARM Ltd FPE
39 1.1 thorpej
40 1.1 thorpej # File systems
41 1.1 thorpej
42 1.1 thorpej file-system FFS # UFS
43 1.1 thorpej #file-system LFS # log-structured file system
44 1.1 thorpej file-system MFS # memory file system
45 1.1 thorpej file-system NFS # Network file system
46 1.1 thorpej #file-system ADOSFS # AmigaDOS-compatible file system
47 1.1 thorpej #file-system EXT2FS # second extended file system (linux)
48 1.1 thorpej #file-system CD9660 # ISO 9660 + Rock Ridge file system
49 1.1 thorpej file-system MSDOSFS # MS-DOS file system
50 1.30 christos file-system FDESC # /dev/fd
51 1.1 thorpej #file-system FILECORE # Acorn filecore file system
52 1.1 thorpej file-system KERNFS # /kern
53 1.24 matt file-system NULLFS # loopback file system
54 1.1 thorpej #file-system OVERLAY # overlay filesystem
55 1.30 christos file-system PROCFS # /proc
56 1.1 thorpej #file-system UMAPFS # NULLFS + uid and gid remapping
57 1.1 thorpej #file-system UNION # union file system
58 1.1 thorpej #file-system CODA # Coda file system (needs vcoda below)
59 1.51 christos file-system PTYFS # /dev/pts/N support
60 1.69 matt file-system TMPFS # Efficient memory file-system
61 1.57 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system
62 1.1 thorpej
63 1.1 thorpej # File system options
64 1.1 thorpej #options QUOTA # UFS quotas
65 1.1 thorpej #options FFS_EI # FFS Endian Independant support
66 1.80 simonb options WAPBL # File system journaling support - Experimental
67 1.40 rumble #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
68 1.30 christos options NFSSERVER
69 1.54 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
70 1.1 thorpej
71 1.1 thorpej # Networking options
72 1.1 thorpej
73 1.1 thorpej #options GATEWAY # packet forwarding
74 1.1 thorpej options INET # IP + ICMP + TCP + UDP
75 1.1 thorpej options INET6 # IPV6
76 1.1 thorpej #options IPSEC # IP security
77 1.1 thorpej #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
78 1.46 tron #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
79 1.1 thorpej #options IPSEC_DEBUG # debug for IP security
80 1.1 thorpej #options MROUTING # IP multicast routing
81 1.34 manu #options PIM # Protocol Independent Multicast
82 1.1 thorpej #options ISO,TPIP # OSI
83 1.1 thorpej #options EON # OSI tunneling over IP
84 1.1 thorpej #options NETATALK # AppleTalk networking
85 1.1 thorpej #options PFIL_HOOKS # pfil(9) packet filter hooks (Required
86 1.1 thorpej # if you enable the pseudo-device ipl).
87 1.1 thorpej
88 1.1 thorpej #options PPP_BSDCOMP # BSD-Compress compression support for PPP
89 1.1 thorpej #options PPP_DEFLATE # Deflate compression support for PPP
90 1.1 thorpej #options PPP_FILTER # Active filter support for PPP (requires bpf)
91 1.1 thorpej options NFS_BOOT_DHCP # use NetBSD standard DHCP/NFS boot code
92 1.1 thorpej #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
93 1.1 thorpej
94 1.31 abs #options ALTQ # Manipulate network interfaces' output queues
95 1.31 abs #options ALTQ_BLUE # Stochastic Fair Blue
96 1.31 abs #options ALTQ_CBQ # Class-Based Queueing
97 1.31 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
98 1.31 abs #options ALTQ_FIFOQ # First-In First-Out Queue
99 1.31 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
100 1.31 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
101 1.31 abs #options ALTQ_LOCALQ # Local queueing discipline
102 1.31 abs #options ALTQ_PRIQ # Priority Queueing
103 1.31 abs #options ALTQ_RED # Random Early Detection
104 1.31 abs #options ALTQ_RIO # RED with IN/OUT
105 1.31 abs #options ALTQ_WFQ # Weighted Fair Queueing
106 1.31 abs
107 1.1 thorpej # Compatibility options
108 1.1 thorpej
109 1.13 perry #options COMPAT_09 # NetBSD 0.9 compatibility.
110 1.13 perry #options COMPAT_10 # NetBSD 1.0 compatibility.
111 1.13 perry #options COMPAT_11 # NetBSD 1.1 compatibility.
112 1.13 perry options COMPAT_12 # NetBSD 1.2 compatibility.
113 1.13 perry options COMPAT_13 # NetBSD 1.3 compatibility.
114 1.13 perry options COMPAT_14 # NetBSD 1.4 compatibility.
115 1.13 perry options COMPAT_15 # NetBSD 1.5 compatibility.
116 1.13 perry options COMPAT_16 # NetBSD 1.6 compatibility.
117 1.29 christos options COMPAT_20 # NetBSD 2.0 compatibility.
118 1.50 christos options COMPAT_30 # NetBSD 3.0 compatibility.
119 1.79 tsutsui options COMPAT_40 # NetBSD 4.0 compatibility.
120 1.90 dholland options COMPAT_50 # NetBSD 5.0 compatibility.
121 1.1 thorpej options COMPAT_43 # 4.3BSD compatibility.
122 1.24 matt options COMPAT_LINUX # Linux compatibility.
123 1.1 thorpej #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
124 1.37 tsutsui options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
125 1.1 thorpej
126 1.1 thorpej # Shared memory options
127 1.1 thorpej
128 1.1 thorpej options SYSVMSG # System V-like message queues
129 1.1 thorpej options SYSVSEM # System V-like semaphores
130 1.1 thorpej options SYSVSHM # System V-like memory sharing
131 1.29 christos options P1003_1B_SEMAPHORE # p1003.1b semaphore support
132 1.1 thorpej
133 1.1 thorpej # Device options
134 1.1 thorpej
135 1.44 christos #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
136 1.3 lukem #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
137 1.1 thorpej #options MEMORY_DISK_IS_ROOT # use memory disk as root
138 1.1 thorpej
139 1.1 thorpej options INSECURE # disable kernel securelevel
140 1.1 thorpej
141 1.1 thorpej # Use the following to force the serial to always be the console
142 1.1 thorpej # device. 19200 is what the serial gets set up as by the firmware
143 1.1 thorpej # when it hasn't fallen back from PC. If it has fallen back then
144 1.1 thorpej # the speed will be set at 9600.
145 1.1 thorpej #options COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
146 1.1 thorpej
147 1.1 thorpej # Miscellaneous kernel options
148 1.1 thorpej options KTRACE # system call tracing, a la ktrace(1)
149 1.1 thorpej options IRQSTATS # manage IRQ statistics, XXX temp required
150 1.1 thorpej options KMEMSTATS # kernel memory statistics, XXX temp required
151 1.7 lukem options USERCONF # userconf(4) support
152 1.37 tsutsui #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
153 1.32 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
154 1.92 tsutsui options MODULAR # new style module(7) framework
155 1.1 thorpej
156 1.1 thorpej # Development and Debugging options
157 1.1 thorpej
158 1.1 thorpej #options ARM700BUGTRACK # track the ARM700 swi bug
159 1.1 thorpej #options PORTMASTER # Enable PortMaster only options
160 1.75 christos options DIAGNOSTIC # internal consistency checks
161 1.1 thorpej #options PMAP_DEBUG # Enable pmap_debug_level code
162 1.1 thorpej options DDB # in-kernel debugger
163 1.44 christos options SYMTAB_SPACE=440000 # reserve symbol space for DDB
164 1.8 martin # (needed because we boot netbsd.aout)
165 1.1 thorpej #options DDB_ONPANIC=0 # don't run DDB at panictime
166 1.1 thorpej #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
167 1.11 wiz #options KERNEL_DEBUG # compile in kernel debugging capability
168 1.1 thorpej #makeoptions DEBUG="-g" # compile full symbol table
169 1.1 thorpej
170 1.38 tsutsui #
171 1.38 tsutsui # wscons options
172 1.38 tsutsui #
173 1.38 tsutsui # builtin terminal emulations
174 1.38 tsutsui #options WSEMUL_SUN # sun terminal emulation
175 1.38 tsutsui options WSEMUL_VT100 # VT100 / VT220 emulation
176 1.38 tsutsui # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
177 1.38 tsutsui #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
178 1.38 tsutsui #options WS_DEFAULT_FG=WSCOL_WHITE
179 1.38 tsutsui #options WS_DEFAULT_BG=WSCOL_BLACK
180 1.38 tsutsui #options WS_DEFAULT_COLATTR="(0)"
181 1.38 tsutsui #options WS_DEFAULT_MONOATTR="(0)"
182 1.38 tsutsui options WS_KERNEL_FG=WSCOL_GREEN
183 1.38 tsutsui #options WS_KERNEL_BG=WSCOL_BLACK
184 1.38 tsutsui #options WS_KERNEL_COLATTR=""
185 1.38 tsutsui #options WS_KERNEL_MONOATTR=""
186 1.38 tsutsui # customization of console border color
187 1.38 tsutsui #options WSDISPLAY_CUSTOM_BORDER # border customization from wsconsctl(8)
188 1.38 tsutsui #options WSDISPLAY_BORDER_COLOR=WSCOL_BLUE # default color
189 1.38 tsutsui # compatibility to other console drivers
190 1.38 tsutsui options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
191 1.38 tsutsui options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
192 1.38 tsutsui options WSDISPLAY_COMPAT_USL # VT handling
193 1.38 tsutsui options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
194 1.62 drochner # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
195 1.38 tsutsui #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
196 1.38 tsutsui #options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
197 1.38 tsutsui # allocate a number of virtual screens at autoconfiguration time
198 1.38 tsutsui #options WSDISPLAY_DEFAULTSCREENS=4
199 1.38 tsutsui # use a large software cursor that doesn't blink
200 1.38 tsutsui #options PCDISPLAY_SOFTCURSOR
201 1.38 tsutsui # modify the screen type of the console; defaults to "80x25"
202 1.38 tsutsui #options VGA_CONSOLE_SCREENTYPE="\"80x24\""
203 1.38 tsutsui # console scrolling support.
204 1.38 tsutsui #options WSDISPLAY_SCROLLSUPPORT
205 1.38 tsutsui # enable VGA raster mode capable of displaying multilingual text on console
206 1.38 tsutsui #options VGA_RASTERCONSOLE
207 1.38 tsutsui
208 1.1 thorpej config netbsd root on ? type ?
209 1.1 thorpej
210 1.1 thorpej # The main bus device
211 1.1 thorpej mainbus0 at root
212 1.1 thorpej
213 1.23 wiz # The boot CPU
214 1.1 thorpej cpu0 at mainbus?
215 1.1 thorpej
216 1.1 thorpej # Open Firmware devices
217 1.1 thorpej ofbus* at root
218 1.1 thorpej ofbus* at ofbus?
219 1.1 thorpej #ofdisk* at ofbus?
220 1.1 thorpej #ofnet* at ofbus? # don't use with cs0
221 1.1 thorpej #ofcons* at ofbus? # don't use with pc0
222 1.1 thorpej ofrtc* at ofisa?
223 1.1 thorpej ofrom* at ofbus?
224 1.1 thorpej
225 1.1 thorpej ofisa* at ofbus?
226 1.1 thorpej ofbus* at ofisa?
227 1.1 thorpej
228 1.1 thorpej # IDE/ATA disk
229 1.1 thorpej wdc* at ofisa?
230 1.21 bouyer atabus* at wdc? channel ?
231 1.21 bouyer wd* at atabus? drive ?
232 1.1 thorpej
233 1.21 bouyer atapibus* at atabus?
234 1.1 thorpej cd* at atapibus? drive?
235 1.1 thorpej sd* at atapibus? drive?
236 1.1 thorpej
237 1.1 thorpej # PCCONS@OFW
238 1.38 tsutsui #ofisapc* at ofbus?
239 1.38 tsutsui #pc* at ofisapc?
240 1.1 thorpej #options FRENCH_KBD
241 1.1 thorpej #options FINNISH_KBD
242 1.1 thorpej #options GERMAN_KBD
243 1.1 thorpej #options NORWEGIAN_KBD
244 1.1 thorpej
245 1.1 thorpej # PS/2 Mouse
246 1.38 tsutsui #opms0 at spckbd? irq 12
247 1.38 tsutsui
248 1.38 tsutsui # wscons
249 1.38 tsutsui pckbc* at ofisa?
250 1.38 tsutsui pckbd* at pckbc?
251 1.38 tsutsui pms* at pckbc?
252 1.38 tsutsui vga* at ofbus?
253 1.68 macallan igsfb* at ofbus?
254 1.68 macallan wsdisplay* at wsemuldisplaydev?
255 1.38 tsutsui wskbd* at pckbd? console ?
256 1.38 tsutsui wsmouse* at pms? mux 0
257 1.1 thorpej
258 1.1 thorpej # CS8900 Ethernet@OFW
259 1.1 thorpej cs* at ofisa?
260 1.1 thorpej
261 1.1 thorpej # Serial @OFW
262 1.1 thorpej com* at ofisa?
263 1.1 thorpej
264 1.1 thorpej # Parallel @OFW
265 1.1 thorpej lpt* at ofisa?
266 1.1 thorpej
267 1.1 thorpej # Smart Card
268 1.1 thorpej ofisascr* at ofisa?
269 1.1 thorpej scr* at ofisascr?
270 1.1 thorpej
271 1.1 thorpej # ESS Sound@OFW
272 1.1 thorpej ess* at ofisa?
273 1.1 thorpej audio* at ess?
274 1.1 thorpej opl* at ess?
275 1.1 thorpej midi* at opl?
276 1.1 thorpej
277 1.1 thorpej # Joystick @OFW
278 1.1 thorpej joy* at ofisa?
279 1.1 thorpej
280 1.77 jmmv # Pull in optional local configuration
281 1.78 jmmv cinclude "arch/shark/conf/GENERIC.local"
282 1.77 jmmv
283 1.81 tls #
284 1.81 tls # accept filters
285 1.81 tls pseudo-device accf_data # "dataready" accept filter
286 1.81 tls pseudo-device accf_http # "httpready" accept filter
287 1.81 tls
288 1.1 thorpej pseudo-device loop 1 # network loopback
289 1.58 rpaulo pseudo-device bpfilter # packet filter
290 1.63 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
291 1.59 cube #pseudo-device sl # CSLIP
292 1.59 cube #pseudo-device ppp # PPP
293 1.59 cube #pseudo-device tun # network tunneling over tty
294 1.1 thorpej #pseudo-device ipfilter 1 # ip filter
295 1.59 cube pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
296 1.59 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
297 1.60 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
298 1.59 cube #pseudo-device strip # STarmode Radio IP (Metricon Ricochet)
299 1.1 thorpej pseudo-device pty # pseudo-terminals
300 1.59 cube pseudo-device vnd # disk-like interface to files
301 1.47 hubertf #options VND_COMPRESSION # compressed vnd(4)
302 1.1 thorpej #pseudo-device ccd 2 # concatenated disk devices
303 1.89 pooka pseudo-device fss # file system snapshot device
304 1.10 elric #pseudo-device cgd 4 # cryptographic disk devices
305 1.1 thorpej pseudo-device rnd # /dev/random and /dev/urandom
306 1.1 thorpej
307 1.91 hannken #pseudo-device md # Ramdisk driver
308 1.1 thorpej #pseudo-device profiler 1 # fiq based profiling device
309 1.1 thorpej pseudo-device sequencer 1 # MIDI sequencer
310 1.1 thorpej pseudo-device openfirm # /dev/openfirm
311 1.1 thorpej #pseudo-device vcoda 4 # coda kernel <-> cachemanager
312 1.6 lukem pseudo-device clockctl # user control of clock subsystem
313 1.38 tsutsui pseudo-device wsmux # mouse & keyboard multiplexor
314 1.38 tsutsui pseudo-device wsfont
315 1.16 ragge pseudo-device ksyms # /dev/ksyms
316 1.28 itojun #pseudo-device pf # PF packet filter
317 1.28 itojun #pseudo-device pflog # PF log if
318 1.55 elad
319 1.55 elad # Veriexec
320 1.55 elad #
321 1.55 elad # a pseudo device needed for veriexec
322 1.55 elad #pseudo-device veriexec 1
323 1.55 elad #
324 1.55 elad # Uncomment the fingerprint methods below that are desired. Note that
325 1.55 elad # removing fingerprint methods will have almost no impact on the kernel
326 1.55 elad # code size.
327 1.55 elad #
328 1.55 elad #options VERIFIED_EXEC_FP_RMD160
329 1.55 elad #options VERIFIED_EXEC_FP_SHA256
330 1.55 elad #options VERIFIED_EXEC_FP_SHA384
331 1.55 elad #options VERIFIED_EXEC_FP_SHA512
332 1.55 elad #options VERIFIED_EXEC_FP_SHA1
333 1.55 elad #options VERIFIED_EXEC_FP_MD5
334 1.75 christos
335 1.75 christos options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
336 1.75 christos #options PAX_SEGVGUARD=0 # PaX Segmentation fault guard
337 1.75 christos options PAX_ASLR=0 # PaX Address Space Layout Randomization
338