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