GENERIC revision 1.70 1 1.70 liamjfoy # $NetBSD: GENERIC,v 1.70 2006/06/28 15:19:27 liamjfoy Exp $
2 1.8 reinoud #
3 1.8 reinoud # GENERIC --- NetBSD/acorn32 complete configuration
4 1.1 reinoud #
5 1.4 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.4 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.4 gmcgarry # and device drivers, but should be useful for most applications.
8 1.1 reinoud #
9 1.4 gmcgarry # The machine description file can be customised for your specific
10 1.4 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.4 gmcgarry #
12 1.4 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.4 gmcgarry # man page.
14 1.4 gmcgarry #
15 1.4 gmcgarry # For further information on hardware support for this architecture, see
16 1.4 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.4 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.4 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.4 gmcgarry # device.
20 1.1 reinoud
21 1.8 reinoud include "arch/acorn32/conf/std.acorn32"
22 1.1 reinoud
23 1.16 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.16 atatat
25 1.70 liamjfoy #ident "GENERIC-$Revision: 1.70 $"
26 1.1 reinoud
27 1.1 reinoud # estimated number of users
28 1.1 reinoud maxusers 32
29 1.1 reinoud
30 1.1 reinoud # Standard system options
31 1.1 reinoud
32 1.1 reinoud options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
33 1.1 reinoud #options NTP # NTP phase/frequency locked loop
34 1.22 junyoung
35 1.1 reinoud # CPU options
36 1.1 reinoud options CPU_SA110 # Support the SA110 core
37 1.1 reinoud options CPU_ARM6 # Support the ARM6 core
38 1.1 reinoud options CPU_ARM7 # Support the ARM7 core
39 1.10 reinoud #options CPU_ARM8 # Support the ARM8 core
40 1.1 reinoud #options ARM6_LATE_ABORT # ARM6XX late abort support
41 1.1 reinoud
42 1.10 reinoud # For StrongARM only kernels
43 1.10 reinoud #makeoptions COPTS="-O2 -march=armv3m -mtune=strongarm"
44 1.1 reinoud
45 1.1 reinoud # FPA options
46 1.1 reinoud #options ARMFPE # ARM Ltd FPE
47 1.1 reinoud
48 1.1 reinoud # File systems
49 1.1 reinoud
50 1.1 reinoud file-system FFS # UFS
51 1.1 reinoud #file-system LFS # log-structured file system
52 1.1 reinoud file-system MFS # memory file system
53 1.1 reinoud file-system NFS # Network file system
54 1.1 reinoud file-system ADOSFS # AmigaDOS-compatible file system
55 1.1 reinoud file-system EXT2FS # second extended file system (linux)
56 1.1 reinoud file-system CD9660 # ISO 9660 + Rock Ridge file system
57 1.1 reinoud file-system MSDOSFS # MS-DOS file system
58 1.1 reinoud file-system FDESC # /dev/fd
59 1.1 reinoud file-system FILECORE # Acorn filecore file system
60 1.1 reinoud file-system KERNFS # /kern
61 1.1 reinoud file-system NULLFS # loopback file system
62 1.1 reinoud file-system OVERLAY # overlay filesystem
63 1.1 reinoud file-system PORTAL # portal filesystem (still experimental)
64 1.1 reinoud file-system PROCFS # /proc
65 1.1 reinoud file-system UMAPFS # NULLFS + uid and gid remapping
66 1.1 reinoud file-system UNION # union file system
67 1.60 christos file-system PTYFS # /dev/pts/N support
68 1.61 jmmv #file-system TMPFS # experimental - Efficient memory file-system
69 1.66 reinoud #file-system UDF # experimental - OSTA UDF CD/DVD file-system
70 1.1 reinoud
71 1.1 reinoud # File system options
72 1.1 reinoud options QUOTA # UFS quotas
73 1.1 reinoud #options FFS_EI # FFS Endian Independant support
74 1.2 lukem options SOFTDEP # FFS soft updates support.
75 1.48 rumble #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
76 1.1 reinoud options NFSSERVER
77 1.63 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
78 1.1 reinoud
79 1.1 reinoud # Networking options
80 1.1 reinoud
81 1.1 reinoud options GATEWAY # packet forwarding
82 1.1 reinoud options INET # IP + ICMP + TCP + UDP
83 1.1 reinoud options INET6 # IPV6
84 1.1 reinoud #options IPSEC # IP security
85 1.1 reinoud #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
86 1.55 tron #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
87 1.1 reinoud #options IPSEC_DEBUG # debug for IP security
88 1.1 reinoud #options MROUTING # IP multicast routing
89 1.44 manu #options PIM # Protocol Independent Multicast
90 1.1 reinoud options NS # XNS
91 1.1 reinoud #options NSIP # XNS tunneling over IP
92 1.1 reinoud options ISO,TPIP # OSI
93 1.1 reinoud #options EON # OSI tunneling over IP
94 1.1 reinoud options CCITT,LLC,HDLC # X.25
95 1.1 reinoud options NETATALK # AppleTalk networking
96 1.1 reinoud options PFIL_HOOKS # pfil(9) packet filter hooks
97 1.1 reinoud options PPP_BSDCOMP # BSD-Compress compression support for PPP
98 1.1 reinoud options PPP_DEFLATE # Deflate compression support for PPP
99 1.1 reinoud options PPP_FILTER # Active filter support for PPP (requires bpf)
100 1.1 reinoud #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
101 1.1 reinoud
102 1.41 abs #options ALTQ # Manipulate network interfaces' output queues
103 1.41 abs #options ALTQ_BLUE # Stochastic Fair Blue
104 1.41 abs #options ALTQ_CBQ # Class-Based Queueing
105 1.41 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
106 1.41 abs #options ALTQ_FIFOQ # First-In First-Out Queue
107 1.41 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
108 1.41 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
109 1.41 abs #options ALTQ_LOCALQ # Local queueing discipline
110 1.41 abs #options ALTQ_PRIQ # Priority Queueing
111 1.41 abs #options ALTQ_RED # Random Early Detection
112 1.41 abs #options ALTQ_RIO # RED with IN/OUT
113 1.41 abs #options ALTQ_WFQ # Weighted Fair Queueing
114 1.41 abs
115 1.1 reinoud # Compatibility options
116 1.1 reinoud
117 1.1 reinoud options COMPAT_43 # 4.3BSD compatibility.
118 1.59 christos options COMPAT_30 # NetBSD 3.0 compatibility.
119 1.50 cube options COMPAT_20 # NetBSD 2.0 compatibility.
120 1.27 chris options COMPAT_16 # NetBSD 1.6 compatibility.
121 1.8 reinoud options COMPAT_15 # NetBSD 1.5 compatibility.
122 1.1 reinoud options COMPAT_14 # NetBSD 1.4 compatibility.
123 1.1 reinoud options COMPAT_13 # NetBSD 1.3 compatibility.
124 1.1 reinoud options COMPAT_12 # NetBSD 1.2 compatibility.
125 1.1 reinoud #options COMPAT_11 # NetBSD 1.1 compatibility.
126 1.1 reinoud #options COMPAT_10 # NetBSD 1.0 compatibility.
127 1.1 reinoud #options COMPAT_09 # NetBSD 0.9 compatibility.
128 1.8 reinoud #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
129 1.45 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
130 1.1 reinoud
131 1.1 reinoud # Shared memory options
132 1.1 reinoud
133 1.1 reinoud options SYSVMSG # System V-like message queues
134 1.1 reinoud options SYSVSEM # System V-like semaphores
135 1.2 lukem #options SEMMNI=10 # number of semaphore identifiers
136 1.2 lukem #options SEMMNS=60 # number of semaphores in system
137 1.2 lukem #options SEMUME=10 # max number of undo entries per process
138 1.2 lukem #options SEMMNU=30 # number of undo structures in system
139 1.1 reinoud options SYSVSHM # System V-like memory sharing
140 1.1 reinoud options SHMMAXPGS=1024 # 1024 pages is the default
141 1.42 bouyer options P1003_1B_SEMAPHORE # p1003.1b semaphore support
142 1.1 reinoud
143 1.1 reinoud # Device options
144 1.1 reinoud
145 1.1 reinoud options MEMORY_DISK_HOOKS # boottime setup of ramdisk
146 1.13 lukem #options MEMORY_DISK_ROOT_SIZE=4100 # Size in blocks
147 1.1 reinoud #options MEMORY_DISK_IS_ROOT # use memory disk as root
148 1.1 reinoud
149 1.1 reinoud # Miscellaneous kernel options
150 1.1 reinoud options KTRACE # system call tracing, a la ktrace(1)
151 1.20 provos options SYSTRACE # system call vetting via systrace(1)
152 1.1 reinoud options IRQSTATS # manage IRQ statistics
153 1.1 reinoud options LKM # loadable kernel modules
154 1.1 reinoud options KMEMSTATS # kernel memory statistics
155 1.1 reinoud #options SCSIVERBOSE # Verbose SCSI errors
156 1.19 lukem options USERCONF # userconf(4) support
157 1.9 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
158 1.43 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
159 1.23 junyoung
160 1.24 wiz # Enable experimental buffer queue strategy for better responsiveness under
161 1.23 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet.
162 1.53 tsutsui #options BUFQ_READPRIO
163 1.53 tsutsui #options BUFQ_PRIOCSCAN
164 1.1 reinoud
165 1.1 reinoud # Development and Debugging options
166 1.1 reinoud
167 1.1 reinoud #options ARM700BUGTRACK # track the ARM700 swi bug
168 1.1 reinoud #options PORTMASTER # Enable PortMaster only options
169 1.62 chs #options DIAGNOSTIC # internal consistency checks
170 1.2 lukem #options PMAP_DEBUG # Enable pmap_debug_level code
171 1.1 reinoud #options IPKDB # remote kernel debugging
172 1.1 reinoud options DDB # in-kernel debugger
173 1.1 reinoud #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
174 1.1 reinoud #makeoptions DEBUG="-g" # compile full symbol table
175 1.1 reinoud
176 1.1 reinoud config netbsd root on ? type ?
177 1.1 reinoud
178 1.1 reinoud # serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
179 1.1 reinoud # this really be fixed some day
180 1.2 lukem #options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
181 1.1 reinoud
182 1.1 reinoud # The main bus device
183 1.1 reinoud mainbus0 at root
184 1.1 reinoud
185 1.35 wiz # The boot CPU
186 1.1 reinoud cpu0 at mainbus?
187 1.1 reinoud
188 1.1 reinoud # The IOMD
189 1.1 reinoud iomd0 at mainbus?
190 1.1 reinoud
191 1.1 reinoud # system clock via IOMD
192 1.1 reinoud clock* at iomd?
193 1.1 reinoud
194 1.1 reinoud # IIC bus device
195 1.28 thorpej iomdiic* at iomd?
196 1.28 thorpej iic0 at iomdiic?
197 1.1 reinoud
198 1.1 reinoud # RTC device via IIC bus
199 1.28 thorpej pcfrtc* at iic? addr 0x50
200 1.1 reinoud
201 1.1 reinoud # VIDC device
202 1.1 reinoud vidc0 at mainbus?
203 1.1 reinoud
204 1.10 reinoud # WSCONS
205 1.10 reinoud # ws console uses DUMB, SUN or VT100 terminal emulation
206 1.10 reinoud #options WSEMUL_NODUMB
207 1.10 reinoud #options WSEMUL_SUN
208 1.10 reinoud #options WSEMUL_VT100
209 1.10 reinoud
210 1.10 reinoud #options WSDISPLAY_COMPAT_RAWKBD
211 1.10 reinoud
212 1.10 reinoud #options FONT_BOLD8x16
213 1.10 reinoud #options FONT_GALLANT12x22 # Very nice font
214 1.10 reinoud #options FONT_LUCIDA16x29
215 1.10 reinoud #options FONT_OMRON12x20 # looks funny
216 1.10 reinoud #options FONT_QVSS8x15 # broken ?
217 1.10 reinoud #options FONT_SONY12x25 # looks like VT220 font
218 1.10 reinoud #options FONT_SONY8x16 # not tested
219 1.10 reinoud #options FONT_VT220L8x8 # 8x8 font as in Arch. cons
220 1.10 reinoud #options FONT_VT220L8x16 # 8x(2x8) font as in Arch. cons
221 1.10 reinoud #options FONT_VT220L8x10 # not tested
222 1.10 reinoud #options FONT_VT220L8x20 # not tested
223 1.10 reinoud
224 1.10 reinoud #vidcvideo0 at vidc? # wscons driver for VIDC
225 1.10 reinoud #wsdisplay* at vidcvideo? console ? # display itself
226 1.10 reinoud
227 1.36 bjh21 iomdkbc* at iomd? # IOMD keyboard/mouse interface
228 1.36 bjh21
229 1.36 bjh21 #pckbd* at iomdkbc? slot ? # PS/2 keyboard
230 1.36 bjh21 #options PCKBD_LAYOUT=KB_UK
231 1.36 bjh21 #wskbd* at pckbd?
232 1.36 bjh21
233 1.36 bjh21 pms* at iomdkbc? slot ? # PS/2 mouse
234 1.36 bjh21 wsmouse* at pms?
235 1.36 bjh21
236 1.10 reinoud #rpckbd* at iomd? # based on old `kbd' driver
237 1.10 reinoud #wskbd* at rpckbd? # wskbd on RiscPC keyboard
238 1.10 reinoud
239 1.37 bjh21 qms* at iomd? # ws quadmouse driver
240 1.37 bjh21 wsmouse* at qms? # wsmouse on ws quadmouse
241 1.10 reinoud
242 1.36 bjh21 pseudo-device wsmux
243 1.10 reinoud
244 1.10 reinoud # The origional vidcconsole :
245 1.10 reinoud # vidcconsole kbd at IOMD
246 1.10 reinoud # vidcconsole PS2 mouse at IOMD
247 1.10 reinoud vidcconsole0 at vidc? # display + vt100 emulation
248 1.10 reinoud kbd* at iomd? # PS/2 keyboard for vidcconsole
249 1.1 reinoud
250 1.1 reinoud # generic VT console device
251 1.2 lukem vt0 at vidc?
252 1.2 lukem vt1 at vidc?
253 1.2 lukem vt2 at vidc?
254 1.2 lukem vt3 at vidc?
255 1.2 lukem vt4 at vidc?
256 1.2 lukem vt5 at vidc?
257 1.1 reinoud
258 1.1 reinoud # Peripheral IO Controller
259 1.1 reinoud pioc0 at mainbus? base 0x00210000
260 1.1 reinoud
261 1.1 reinoud # IDE disk controller
262 1.1 reinoud wdc0 at pioc? offset 0x01f0 irq 9
263 1.31 lukem
264 1.31 lukem # ATA (IDE) bus support
265 1.31 lukem atabus* at ata?
266 1.29 bouyer
267 1.30 christos wd* at atabus? drive ?
268 1.31 lukem atapibus* at atapi?
269 1.1 reinoud cd* at atapibus? drive ?
270 1.1 reinoud sd* at atapibus? drive ?
271 1.1 reinoud
272 1.1 reinoud # Floppy disk controller
273 1.2 lukem fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
274 1.2 lukem fd0 at fdc? drive ?
275 1.1 reinoud
276 1.1 reinoud # Serial ports
277 1.2 lukem com* at pioc? offset 0x03f8 irq 10
278 1.1 reinoud
279 1.1 reinoud # Parallel ports
280 1.33 bjh21 lpt* at pioc? offset 0x0278 irq 0 # Old driver
281 1.33 bjh21 #atppc* at pioc? offset 0x0278 irq 0 # New driver
282 1.33 bjh21 #ppbus* at atppc?
283 1.33 bjh21 #lpt* at ppbus? # Parallel printer
284 1.33 bjh21 #plip* at ppbus? # Parallel line IP
285 1.1 reinoud
286 1.1 reinoud # Audio device
287 1.1 reinoud vidcaudio0 at vidc?
288 1.1 reinoud audio* at vidcaudio0
289 1.1 reinoud
290 1.1 reinoud # Podule bus device
291 1.1 reinoud podulebus0 at root
292 1.1 reinoud
293 1.1 reinoud asc* at podulebus? # Acorn SCSI card
294 1.1 reinoud scsibus* at asc?
295 1.1 reinoud
296 1.1 reinoud cosc* at podulebus? # MCS Connect32 SCSI II card
297 1.1 reinoud scsibus* at cosc?
298 1.1 reinoud
299 1.1 reinoud ptsc* at podulebus? # Power-Tec SCSI II card
300 1.1 reinoud scsibus* at ptsc?
301 1.1 reinoud
302 1.18 bjh21 csc* at podulebus? # Cumana SCSI II card
303 1.18 bjh21 scsibus* at csc?
304 1.1 reinoud
305 1.1 reinoud oak* at podulebus? # Oak SCSI I card
306 1.1 reinoud scsibus* at oak?
307 1.1 reinoud
308 1.1 reinoud csa* at podulebus? # Cumana SCSI I adpater
309 1.1 reinoud scsibus* at csa?
310 1.1 reinoud
311 1.8 reinoud hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
312 1.1 reinoud scsibus* at hcsc?
313 1.1 reinoud
314 1.1 reinoud sd* at scsibus? target ? lun ? # SCSI disk drives
315 1.1 reinoud st* at scsibus? target ? lun ? # SCSI tape drives
316 1.1 reinoud cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
317 1.1 reinoud ch* at scsibus? target ? lun ? # SCSI auto-changers
318 1.1 reinoud uk* at scsibus? target ? lun ? # SCSI unknown device
319 1.1 reinoud ss* at scsibus? target ? lun ? # SCSI scanner
320 1.1 reinoud
321 1.1 reinoud dtide* at podulebus? # D.T. Software IDE card
322 1.1 reinoud
323 1.1 reinoud hcide* at podulebus? # HCCS IDE card
324 1.1 reinoud
325 1.1 reinoud icside* at podulebus? # ICS IDE card
326 1.1 reinoud
327 1.1 reinoud rapide* at podulebus? # Yellowstone RapIDE card
328 1.1 reinoud
329 1.1 reinoud simide* at podulebus? # Simtec IDE card
330 1.1 reinoud
331 1.1 reinoud amps* at podulebus? # Atomwide Multi-Port Serial card
332 1.1 reinoud com* at amps?
333 1.1 reinoud
334 1.1 reinoud ie* at podulebus? # Ether1 podules
335 1.1 reinoud ea* at podulebus? # Ether3 podules
336 1.1 reinoud eb0 at podulebus? # EtherB network slot cards
337 1.1 reinoud ne* at podulebus? # NE2000 clone cards
338 1.1 reinoud
339 1.2 lukem pseudo-device loop 1 # network loopback
340 1.67 rpaulo pseudo-device bpfilter # packet filter
341 1.70 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
342 1.68 cube pseudo-device sl # CSLIP
343 1.68 cube pseudo-device ppp # PPP
344 1.6 martin pseudo-device pppoe # PPP over Ethernet (RFC 2516)
345 1.68 cube pseudo-device tun # network tunneling over tty
346 1.47 cube pseudo-device tap # virtual Ethernet
347 1.68 cube #pseudo-device gre # generic L3 over IP tunnel
348 1.1 reinoud #pseudo-device ipfilter 1 # ip filter
349 1.68 cube pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
350 1.68 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
351 1.69 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
352 1.68 cube #pseudo-device strip # STarmode Radio IP (Metricon Ricochet)
353 1.1 reinoud pseudo-device vlan # IEEE 802.1q encapsulation
354 1.3 atatat pseudo-device bridge # simple inter-network bridging
355 1.25 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
356 1.1 reinoud pseudo-device pty # pseudo-terminals
357 1.68 cube pseudo-device vnd # disk-like interface to files
358 1.56 hubertf #options VND_COMPRESSION # compressed vnd(4)
359 1.1 reinoud pseudo-device ccd 2 # concatenated disk devices
360 1.21 elric #pseudo-device cgd 4 # cryptographic disk devices
361 1.7 oster pseudo-device raid 8 # RAIDframe disk driver
362 1.7 oster options RAID_AUTOCONFIG # auto-configuration of RAID components
363 1.7 oster # Options to enable various other RAIDframe RAID types.
364 1.7 oster # options RF_INCLUDE_EVENODD=1
365 1.7 oster # options RF_INCLUDE_RAID5_RS=1
366 1.7 oster # options RF_INCLUDE_PARITYLOGGING=1
367 1.7 oster # options RF_INCLUDE_CHAINDECLUSTER=1
368 1.7 oster # options RF_INCLUDE_INTERDECLUSTER=1
369 1.7 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1
370 1.7 oster # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
371 1.49 hannken pseudo-device fss 4 # file system snapshot device
372 1.1 reinoud pseudo-device md 1 # Ramdisk driver
373 1.1 reinoud pseudo-device rnd # /dev/random and in-kernel generator
374 1.17 lukem pseudo-device clockctl # user control of clock subsystem
375 1.1 reinoud
376 1.2 lukem makeoptions MONITOR="Taxan875+LR"
377 1.2 lukem #makeoptions MONITOR="AKF60"
378 1.2 lukem makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
379 1.26 ragge pseudo-device ksyms # /dev/ksyms
380 1.40 itojun #pseudo-device pf # PF packet filter
381 1.40 itojun #pseudo-device pflog # PF log if
382 1.64 elad
383 1.64 elad # Veriexec
384 1.64 elad #options VERIFIED_EXEC
385 1.64 elad #
386 1.64 elad # a pseudo device needed for veriexec
387 1.64 elad #pseudo-device veriexec 1
388 1.64 elad #
389 1.64 elad # Uncomment the fingerprint methods below that are desired. Note that
390 1.64 elad # removing fingerprint methods will have almost no impact on the kernel
391 1.64 elad # code size.
392 1.64 elad #
393 1.64 elad #options VERIFIED_EXEC_FP_RMD160
394 1.64 elad #options VERIFIED_EXEC_FP_SHA256
395 1.64 elad #options VERIFIED_EXEC_FP_SHA384
396 1.64 elad #options VERIFIED_EXEC_FP_SHA512
397 1.64 elad #options VERIFIED_EXEC_FP_SHA1
398 1.64 elad #options VERIFIED_EXEC_FP_MD5
399