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