GENERIC revision 1.77 1 1.77 bjh21 # $NetBSD: GENERIC,v 1.77 2006/10/22 14:15:51 bjh21 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.77 bjh21 #ident "GENERIC-$Revision: 1.77 $"
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 ISO,TPIP # OSI
91 1.1 reinoud #options EON # OSI tunneling over IP
92 1.1 reinoud options NETATALK # AppleTalk networking
93 1.1 reinoud options PFIL_HOOKS # pfil(9) packet filter hooks
94 1.1 reinoud options PPP_BSDCOMP # BSD-Compress compression support for PPP
95 1.1 reinoud options PPP_DEFLATE # Deflate compression support for PPP
96 1.1 reinoud options PPP_FILTER # Active filter support for PPP (requires bpf)
97 1.1 reinoud #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
98 1.1 reinoud
99 1.41 abs #options ALTQ # Manipulate network interfaces' output queues
100 1.41 abs #options ALTQ_BLUE # Stochastic Fair Blue
101 1.41 abs #options ALTQ_CBQ # Class-Based Queueing
102 1.41 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
103 1.41 abs #options ALTQ_FIFOQ # First-In First-Out Queue
104 1.41 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
105 1.41 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
106 1.41 abs #options ALTQ_LOCALQ # Local queueing discipline
107 1.41 abs #options ALTQ_PRIQ # Priority Queueing
108 1.41 abs #options ALTQ_RED # Random Early Detection
109 1.41 abs #options ALTQ_RIO # RED with IN/OUT
110 1.41 abs #options ALTQ_WFQ # Weighted Fair Queueing
111 1.41 abs
112 1.1 reinoud # Compatibility options
113 1.1 reinoud
114 1.1 reinoud options COMPAT_43 # 4.3BSD compatibility.
115 1.59 christos options COMPAT_30 # NetBSD 3.0 compatibility.
116 1.50 cube options COMPAT_20 # NetBSD 2.0 compatibility.
117 1.27 chris options COMPAT_16 # NetBSD 1.6 compatibility.
118 1.8 reinoud options COMPAT_15 # NetBSD 1.5 compatibility.
119 1.1 reinoud options COMPAT_14 # NetBSD 1.4 compatibility.
120 1.1 reinoud options COMPAT_13 # NetBSD 1.3 compatibility.
121 1.1 reinoud options COMPAT_12 # NetBSD 1.2 compatibility.
122 1.1 reinoud #options COMPAT_11 # NetBSD 1.1 compatibility.
123 1.1 reinoud #options COMPAT_10 # NetBSD 1.0 compatibility.
124 1.1 reinoud #options COMPAT_09 # NetBSD 0.9 compatibility.
125 1.8 reinoud #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
126 1.45 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
127 1.1 reinoud
128 1.1 reinoud # Shared memory options
129 1.1 reinoud
130 1.1 reinoud options SYSVMSG # System V-like message queues
131 1.1 reinoud options SYSVSEM # System V-like semaphores
132 1.2 lukem #options SEMMNI=10 # number of semaphore identifiers
133 1.2 lukem #options SEMMNS=60 # number of semaphores in system
134 1.2 lukem #options SEMUME=10 # max number of undo entries per process
135 1.2 lukem #options SEMMNU=30 # number of undo structures in system
136 1.1 reinoud options SYSVSHM # System V-like memory sharing
137 1.1 reinoud options SHMMAXPGS=1024 # 1024 pages is the default
138 1.42 bouyer options P1003_1B_SEMAPHORE # p1003.1b semaphore support
139 1.1 reinoud
140 1.1 reinoud # Device options
141 1.1 reinoud
142 1.1 reinoud options MEMORY_DISK_HOOKS # boottime setup of ramdisk
143 1.13 lukem #options MEMORY_DISK_ROOT_SIZE=4100 # Size in blocks
144 1.1 reinoud #options MEMORY_DISK_IS_ROOT # use memory disk as root
145 1.1 reinoud
146 1.1 reinoud # Miscellaneous kernel options
147 1.1 reinoud options KTRACE # system call tracing, a la ktrace(1)
148 1.71 christos #options SYSTRACE # system call vetting via systrace(1)
149 1.1 reinoud options IRQSTATS # manage IRQ statistics
150 1.1 reinoud options LKM # loadable kernel modules
151 1.1 reinoud options KMEMSTATS # kernel memory statistics
152 1.1 reinoud #options SCSIVERBOSE # Verbose SCSI errors
153 1.19 lukem options USERCONF # userconf(4) support
154 1.9 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
155 1.43 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
156 1.23 junyoung
157 1.24 wiz # Enable experimental buffer queue strategy for better responsiveness under
158 1.23 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet.
159 1.53 tsutsui #options BUFQ_READPRIO
160 1.53 tsutsui #options BUFQ_PRIOCSCAN
161 1.1 reinoud
162 1.1 reinoud # Development and Debugging options
163 1.1 reinoud
164 1.1 reinoud #options ARM700BUGTRACK # track the ARM700 swi bug
165 1.1 reinoud #options PORTMASTER # Enable PortMaster only options
166 1.62 chs #options DIAGNOSTIC # internal consistency checks
167 1.2 lukem #options PMAP_DEBUG # Enable pmap_debug_level code
168 1.1 reinoud #options IPKDB # remote kernel debugging
169 1.1 reinoud options DDB # in-kernel debugger
170 1.1 reinoud #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
171 1.1 reinoud #makeoptions DEBUG="-g" # compile full symbol table
172 1.1 reinoud
173 1.1 reinoud config netbsd root on ? type ?
174 1.1 reinoud
175 1.1 reinoud # serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
176 1.1 reinoud # this really be fixed some day
177 1.2 lukem #options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
178 1.1 reinoud
179 1.1 reinoud # The main bus device
180 1.1 reinoud mainbus0 at root
181 1.1 reinoud
182 1.35 wiz # The boot CPU
183 1.1 reinoud cpu0 at mainbus?
184 1.1 reinoud
185 1.1 reinoud # The IOMD
186 1.1 reinoud iomd0 at mainbus?
187 1.1 reinoud
188 1.1 reinoud # system clock via IOMD
189 1.1 reinoud clock* at iomd?
190 1.1 reinoud
191 1.1 reinoud # IIC bus device
192 1.28 thorpej iomdiic* at iomd?
193 1.28 thorpej iic0 at iomdiic?
194 1.1 reinoud
195 1.1 reinoud # RTC device via IIC bus
196 1.28 thorpej pcfrtc* at iic? addr 0x50
197 1.1 reinoud
198 1.1 reinoud # VIDC device
199 1.1 reinoud vidc0 at mainbus?
200 1.1 reinoud
201 1.10 reinoud # WSCONS
202 1.10 reinoud # ws console uses DUMB, SUN or VT100 terminal emulation
203 1.10 reinoud #options WSEMUL_NODUMB
204 1.10 reinoud #options WSEMUL_SUN
205 1.73 bjh21 options WSEMUL_VT100
206 1.10 reinoud
207 1.10 reinoud #options WSDISPLAY_COMPAT_RAWKBD
208 1.10 reinoud
209 1.10 reinoud #options FONT_BOLD8x16
210 1.10 reinoud #options FONT_GALLANT12x22 # Very nice font
211 1.10 reinoud #options FONT_LUCIDA16x29
212 1.10 reinoud #options FONT_OMRON12x20 # looks funny
213 1.10 reinoud #options FONT_QVSS8x15 # broken ?
214 1.73 bjh21 options FONT_SONY12x25 # looks like VT220 font
215 1.73 bjh21 options FONT_SONY8x16 # not tested
216 1.10 reinoud #options FONT_VT220L8x8 # 8x8 font as in Arch. cons
217 1.10 reinoud #options FONT_VT220L8x16 # 8x(2x8) font as in Arch. cons
218 1.10 reinoud #options FONT_VT220L8x10 # not tested
219 1.10 reinoud #options FONT_VT220L8x20 # not tested
220 1.10 reinoud
221 1.73 bjh21 vidcvideo0 at vidc? # wscons driver for VIDC
222 1.73 bjh21 wsdisplay* at vidcvideo? console ? # display itself
223 1.10 reinoud
224 1.36 bjh21 iomdkbc* at iomd? # IOMD keyboard/mouse interface
225 1.36 bjh21
226 1.73 bjh21 pckbd* at iomdkbc? slot ? # PS/2 keyboard
227 1.73 bjh21 options PCKBD_LAYOUT=KB_UK
228 1.73 bjh21 wskbd* at pckbd?
229 1.36 bjh21
230 1.36 bjh21 pms* at iomdkbc? slot ? # PS/2 mouse
231 1.36 bjh21 wsmouse* at pms?
232 1.36 bjh21
233 1.37 bjh21 qms* at iomd? # ws quadmouse driver
234 1.37 bjh21 wsmouse* at qms? # wsmouse on ws quadmouse
235 1.10 reinoud
236 1.36 bjh21 pseudo-device wsmux
237 1.10 reinoud
238 1.1 reinoud # Peripheral IO Controller
239 1.1 reinoud pioc0 at mainbus? base 0x00210000
240 1.1 reinoud
241 1.1 reinoud # IDE disk controller
242 1.1 reinoud wdc0 at pioc? offset 0x01f0 irq 9
243 1.31 lukem
244 1.31 lukem # ATA (IDE) bus support
245 1.31 lukem atabus* at ata?
246 1.29 bouyer
247 1.30 christos wd* at atabus? drive ?
248 1.31 lukem atapibus* at atapi?
249 1.1 reinoud cd* at atapibus? drive ?
250 1.1 reinoud sd* at atapibus? drive ?
251 1.1 reinoud
252 1.1 reinoud # Floppy disk controller
253 1.2 lukem fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
254 1.2 lukem fd0 at fdc? drive ?
255 1.1 reinoud
256 1.1 reinoud # Serial ports
257 1.2 lukem com* at pioc? offset 0x03f8 irq 10
258 1.1 reinoud
259 1.1 reinoud # Parallel ports
260 1.33 bjh21 lpt* at pioc? offset 0x0278 irq 0 # Old driver
261 1.33 bjh21 #atppc* at pioc? offset 0x0278 irq 0 # New driver
262 1.33 bjh21 #ppbus* at atppc?
263 1.33 bjh21 #lpt* at ppbus? # Parallel printer
264 1.33 bjh21 #plip* at ppbus? # Parallel line IP
265 1.1 reinoud
266 1.1 reinoud # Audio device
267 1.1 reinoud vidcaudio0 at vidc?
268 1.1 reinoud audio* at vidcaudio0
269 1.1 reinoud
270 1.1 reinoud # Podule bus device
271 1.1 reinoud podulebus0 at root
272 1.1 reinoud
273 1.77 bjh21 sec* at podulebus? # Acorn SCSI card
274 1.77 bjh21 scsibus* at sec?
275 1.1 reinoud
276 1.1 reinoud cosc* at podulebus? # MCS Connect32 SCSI II card
277 1.1 reinoud scsibus* at cosc?
278 1.1 reinoud
279 1.1 reinoud ptsc* at podulebus? # Power-Tec SCSI II card
280 1.1 reinoud scsibus* at ptsc?
281 1.1 reinoud
282 1.18 bjh21 csc* at podulebus? # Cumana SCSI II card
283 1.18 bjh21 scsibus* at csc?
284 1.1 reinoud
285 1.1 reinoud oak* at podulebus? # Oak SCSI I card
286 1.1 reinoud scsibus* at oak?
287 1.1 reinoud
288 1.72 skrll csa* at podulebus? # Cumana SCSI I adapter
289 1.1 reinoud scsibus* at csa?
290 1.1 reinoud
291 1.8 reinoud hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
292 1.1 reinoud scsibus* at hcsc?
293 1.1 reinoud
294 1.1 reinoud sd* at scsibus? target ? lun ? # SCSI disk drives
295 1.1 reinoud st* at scsibus? target ? lun ? # SCSI tape drives
296 1.1 reinoud cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
297 1.1 reinoud ch* at scsibus? target ? lun ? # SCSI auto-changers
298 1.1 reinoud uk* at scsibus? target ? lun ? # SCSI unknown device
299 1.1 reinoud ss* at scsibus? target ? lun ? # SCSI scanner
300 1.1 reinoud
301 1.1 reinoud dtide* at podulebus? # D.T. Software IDE card
302 1.1 reinoud
303 1.1 reinoud hcide* at podulebus? # HCCS IDE card
304 1.1 reinoud
305 1.1 reinoud icside* at podulebus? # ICS IDE card
306 1.1 reinoud
307 1.1 reinoud rapide* at podulebus? # Yellowstone RapIDE card
308 1.1 reinoud
309 1.1 reinoud simide* at podulebus? # Simtec IDE card
310 1.1 reinoud
311 1.1 reinoud amps* at podulebus? # Atomwide Multi-Port Serial card
312 1.1 reinoud com* at amps?
313 1.1 reinoud
314 1.77 bjh21 ei* at podulebus? # Ether1 podules
315 1.1 reinoud ea* at podulebus? # Ether3 podules
316 1.1 reinoud eb0 at podulebus? # EtherB network slot cards
317 1.1 reinoud ne* at podulebus? # NE2000 clone cards
318 1.1 reinoud
319 1.2 lukem pseudo-device loop 1 # network loopback
320 1.67 rpaulo pseudo-device bpfilter # packet filter
321 1.70 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
322 1.68 cube pseudo-device sl # CSLIP
323 1.68 cube pseudo-device ppp # PPP
324 1.6 martin pseudo-device pppoe # PPP over Ethernet (RFC 2516)
325 1.68 cube pseudo-device tun # network tunneling over tty
326 1.47 cube pseudo-device tap # virtual Ethernet
327 1.68 cube #pseudo-device gre # generic L3 over IP tunnel
328 1.1 reinoud #pseudo-device ipfilter 1 # ip filter
329 1.68 cube pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
330 1.68 cube #pseudo-device faith # IPv[46] tcp relay translation i/f
331 1.69 pavel pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
332 1.68 cube #pseudo-device strip # STarmode Radio IP (Metricon Ricochet)
333 1.1 reinoud pseudo-device vlan # IEEE 802.1q encapsulation
334 1.3 atatat pseudo-device bridge # simple inter-network bridging
335 1.25 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
336 1.1 reinoud pseudo-device pty # pseudo-terminals
337 1.68 cube pseudo-device vnd # disk-like interface to files
338 1.56 hubertf #options VND_COMPRESSION # compressed vnd(4)
339 1.1 reinoud pseudo-device ccd 2 # concatenated disk devices
340 1.21 elric #pseudo-device cgd 4 # cryptographic disk devices
341 1.7 oster pseudo-device raid 8 # RAIDframe disk driver
342 1.7 oster options RAID_AUTOCONFIG # auto-configuration of RAID components
343 1.7 oster # Options to enable various other RAIDframe RAID types.
344 1.7 oster # options RF_INCLUDE_EVENODD=1
345 1.7 oster # options RF_INCLUDE_RAID5_RS=1
346 1.7 oster # options RF_INCLUDE_PARITYLOGGING=1
347 1.7 oster # options RF_INCLUDE_CHAINDECLUSTER=1
348 1.7 oster # options RF_INCLUDE_INTERDECLUSTER=1
349 1.7 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1
350 1.7 oster # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
351 1.49 hannken pseudo-device fss 4 # file system snapshot device
352 1.1 reinoud pseudo-device md 1 # Ramdisk driver
353 1.1 reinoud pseudo-device rnd # /dev/random and in-kernel generator
354 1.17 lukem pseudo-device clockctl # user control of clock subsystem
355 1.26 ragge pseudo-device ksyms # /dev/ksyms
356 1.40 itojun #pseudo-device pf # PF packet filter
357 1.40 itojun #pseudo-device pflog # PF log if
358 1.64 elad
359 1.64 elad # Veriexec
360 1.64 elad #
361 1.64 elad # a pseudo device needed for veriexec
362 1.64 elad #pseudo-device veriexec 1
363 1.64 elad #
364 1.64 elad # Uncomment the fingerprint methods below that are desired. Note that
365 1.64 elad # removing fingerprint methods will have almost no impact on the kernel
366 1.64 elad # code size.
367 1.64 elad #
368 1.64 elad #options VERIFIED_EXEC_FP_RMD160
369 1.64 elad #options VERIFIED_EXEC_FP_SHA256
370 1.64 elad #options VERIFIED_EXEC_FP_SHA384
371 1.64 elad #options VERIFIED_EXEC_FP_SHA512
372 1.64 elad #options VERIFIED_EXEC_FP_SHA1
373 1.64 elad #options VERIFIED_EXEC_FP_MD5
374 1.74 bjh21
375 1.74 bjh21 # If the standard modes don't work for your monitor, you can specify
376 1.74 bjh21 # a RISC-OS-format monitor definition file and a list of modes here.
377 1.74 bjh21
378 1.74 bjh21 #makeoptions MONITOR="Taxan875+LR"
379 1.74 bjh21 #makeoptions MONITOR="AKF60"
380 1.74 bjh21 #makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
381