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