GENERIC revision 1.31 1 # $NetBSD: GENERIC,v 1.31 2004/06/26 07:32:08 abs 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.31 $"
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 NMBCLUSTERS=1024 # XXX, temporarily required
21 #options BOOT_QUIETLY # twiddle instead of normal boot msg output
22
23 # CPU options
24
25 options CPU_SA110 # Support the SA110 core
26
27 # Architecture options
28
29 options SHARK # We are a Shark
30 options NSIO # We are using the National Semi SuperIO
31 makeoptions CPUFLAGS="-march=armv4 -mtune=strongarm"
32
33 # compatibility with old version of OFW, which may have incorrect
34 # properties and/or may set up devices incorrectly.
35 options COMPAT_OLD_OFW
36
37 # FPA options
38
39 #options ARMFPE # ARM Ltd FPE
40
41 # File systems
42
43 file-system FFS # UFS
44 #file-system LFS # log-structured file system
45 file-system MFS # memory file system
46 file-system NFS # Network file system
47 #file-system ADOSFS # AmigaDOS-compatible file system
48 #file-system EXT2FS # second extended file system (linux)
49 #file-system CD9660 # ISO 9660 + Rock Ridge file system
50 file-system MSDOSFS # MS-DOS file system
51 file-system FDESC # /dev/fd
52 #file-system FILECORE # Acorn filecore file system
53 file-system KERNFS # /kern
54 file-system NULLFS # loopback file system
55 #file-system OVERLAY # overlay filesystem
56 #file-system PORTAL # portal filesystem (still experimental)
57 file-system PROCFS # /proc
58 #file-system UMAPFS # NULLFS + uid and gid remapping
59 #file-system UNION # union file system
60 #file-system CODA # Coda file system (needs vcoda below)
61
62 # File system options
63 #options QUOTA # UFS quotas
64 #options FFS_EI # FFS Endian Independant support
65 options SOFTDEP # FFS soft updates support.
66 options NFSSERVER
67
68 # Networking options
69
70 #options GATEWAY # packet forwarding
71 options INET # IP + ICMP + TCP + UDP
72 options INET6 # IPV6
73 #options IPSEC # IP security
74 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
75 #options IPSEC_DEBUG # debug for IP security
76 #options MROUTING # IP multicast routing
77 #options NS # XNS
78 #options NSIP # XNS tunneling over IP
79 #options ISO,TPIP # OSI
80 #options EON # OSI tunneling over IP
81 #options CCITT,LLC,HDLC # X.25
82 #options NETATALK # AppleTalk networking
83 #options PFIL_HOOKS # pfil(9) packet filter hooks (Required
84 # if you enable the pseudo-device ipl).
85
86 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
87 #options PPP_DEFLATE # Deflate compression support for PPP
88 #options PPP_FILTER # Active filter support for PPP (requires bpf)
89 options NFS_BOOT_DHCP # use NetBSD standard DHCP/NFS boot code
90 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
91
92 #options ALTQ # Manipulate network interfaces' output queues
93 #options ALTQ_BLUE # Stochastic Fair Blue
94 #options ALTQ_CBQ # Class-Based Queueing
95 #options ALTQ_CDNR # Diffserv Traffic Conditioner
96 #options ALTQ_FIFOQ # First-In First-Out Queue
97 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
98 #options ALTQ_HFSC # Hierarchical Fair Service Curve
99 #options ALTQ_LOCALQ # Local queueing discipline
100 #options ALTQ_PRIQ # Priority Queueing
101 #options ALTQ_RED # Random Early Detection
102 #options ALTQ_RIO # RED with IN/OUT
103 #options ALTQ_WFQ # Weighted Fair Queueing
104
105 # Compatibility options
106
107 #options COMPAT_09 # NetBSD 0.9 compatibility.
108 #options COMPAT_10 # NetBSD 1.0 compatibility.
109 #options COMPAT_11 # NetBSD 1.1 compatibility.
110 options COMPAT_12 # NetBSD 1.2 compatibility.
111 options COMPAT_13 # NetBSD 1.3 compatibility.
112 options COMPAT_14 # NetBSD 1.4 compatibility.
113 options COMPAT_15 # NetBSD 1.5 compatibility.
114 options COMPAT_16 # NetBSD 1.6 compatibility.
115 options COMPAT_20 # NetBSD 2.0 compatibility.
116 options COMPAT_43 # 4.3BSD compatibility.
117 options COMPAT_LINUX # Linux compatibility.
118 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
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 #options SHMMAXPGS=1024 # 1024 pages is the default
126 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
127
128 # Device options
129
130 options MEMORY_DISK_HOOKS # boottime setup of ramdisk
131 #options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks
132 #options MEMORY_DISK_IS_ROOT # use memory disk as root
133
134 options XSERVER # also need INSECURE for now
135 options INSECURE # disable kernel securelevel
136
137 # Use the following to force the serial to always be the console
138 # device. 19200 is what the serial gets set up as by the firmware
139 # when it hasn't fallen back from PC. If it has fallen back then
140 # the speed will be set at 9600.
141 #options COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
142
143 # Miscellaneous kernel options
144 options KTRACE # system call tracing, a la ktrace(1)
145 options SYSTRACE # system call vetting via systrace(1)
146 options IRQSTATS # manage IRQ statistics, XXX temp required
147 #options LKM # loadable kernel modules
148 options KMEMSTATS # kernel memory statistics, XXX temp required
149 options USERCONF # userconf(4) support
150 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
151
152 # Development and Debugging options
153
154 #options ARM700BUGTRACK # track the ARM700 swi bug
155 #options PORTMASTER # Enable PortMaster only options
156 options DIAGNOSTIC # internal consistency checks
157 #options PMAP_DEBUG # Enable pmap_debug_level code
158 #options IPKDB # remote kernel debugging
159 options DDB # in-kernel debugger
160 options SYMTAB_SPACE=242000 # reserve symbol space for DDB
161 # (needed because we boot netbsd.aout)
162 #options DDB_ONPANIC=0 # don't run DDB at panictime
163 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
164 #options KERNEL_DEBUG # compile in kernel debugging capability
165 #makeoptions DEBUG="-g" # compile full symbol table
166
167 config netbsd root on ? type ?
168
169 # The main bus device
170 mainbus0 at root
171
172 # The boot CPU
173 cpu0 at mainbus?
174
175 # Open Firmware devices
176 ofbus* at root
177 ofbus* at ofbus?
178 #ofdisk* at ofbus?
179 #ofnet* at ofbus? # don't use with cs0
180 #ofcons* at ofbus? # don't use with pc0
181 ofrtc* at ofisa?
182 ofrom* at ofbus?
183
184 ofisa* at ofbus?
185 ofbus* at ofisa?
186
187 # IDE/ATA disk
188 wdc* at ofisa?
189 atabus* at wdc? channel ?
190 wd* at atabus? drive ?
191
192 atapibus* at atabus?
193 cd* at atapibus? drive?
194 sd* at atapibus? drive?
195
196 # PCCONS@OFW
197 ofisapc* at ofbus?
198 pc* at ofisapc?
199 #options FRENCH_KBD
200 #options FINNISH_KBD
201 #options GERMAN_KBD
202 #options NORWEGIAN_KBD
203
204 # PS/2 Mouse
205 opms0 at spckbd? irq 12
206
207 # CS8900 Ethernet@OFW
208 cs* at ofisa?
209
210 # Serial @OFW
211 com* at ofisa?
212
213 # Parallel @OFW
214 lpt* at ofisa?
215
216 # Smart Card
217 ofisascr* at ofisa?
218 scr* at ofisascr?
219
220 # ESS Sound@OFW
221 ess* at ofisa?
222 audio* at ess?
223 opl* at ess?
224 midi* at opl?
225
226 # Joystick @OFW
227 joy* at ofisa?
228
229 pseudo-device loop 1 # network loopback
230 pseudo-device bpfilter 8 # packet filter
231 #pseudo-device sl 2 # CSLIP
232 #pseudo-device ppp 2 # PPP
233 #pseudo-device tun 2 # network tunneling over tty
234 #pseudo-device ipfilter 1 # ip filter
235 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
236 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
237 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
238 #pseudo-device strip 4 # STarmode Radio IP (Metricon Ricochet)
239 pseudo-device pty # pseudo-terminals
240 #pseudo-device tb 1 # tablet line discipline
241 pseudo-device vnd 4 # disk-like interface to files
242 #pseudo-device ccd 2 # concatenated disk devices
243 #pseudo-device cgd 4 # cryptographic disk devices
244 pseudo-device rnd # /dev/random and /dev/urandom
245
246 #pseudo-device md 1 # Ramdisk driver
247 #pseudo-device profiler 1 # fiq based profiling device
248 pseudo-device sequencer 1 # MIDI sequencer
249 pseudo-device openfirm # /dev/openfirm
250 #pseudo-device vcoda 4 # coda kernel <-> cachemanager
251 pseudo-device clockctl # user control of clock subsystem
252 pseudo-device ksyms # /dev/ksyms
253 #pseudo-device pf # PF packet filter
254 #pseudo-device pflog # PF log if
255