GENERIC revision 1.109 1 # $NetBSD: GENERIC,v 1.109 2013/04/27 21:43:10 christos 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.109 $"
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 # File systems
46
47 file-system FFS # UFS
48 #file-system LFS # log-structured file system
49 file-system MFS # memory file system
50 file-system NFS # Network file system
51 file-system ADOSFS # AmigaDOS-compatible file system
52 file-system EXT2FS # second extended file system (linux)
53 file-system CD9660 # ISO 9660 + Rock Ridge file system
54 file-system MSDOSFS # MS-DOS file system
55 file-system FDESC # /dev/fd
56 file-system FILECORE # Acorn filecore file system
57 file-system KERNFS # /kern
58 file-system NULLFS # loopback file system
59 file-system OVERLAY # overlay filesystem
60 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
61 file-system PROCFS # /proc
62 file-system UMAPFS # NULLFS + uid and gid remapping
63 file-system UNION # union file system
64 file-system PTYFS # /dev/pts/N support
65 file-system TMPFS # Efficient memory file-system
66 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
67
68 # File system options
69 options QUOTA # legacy UFS quotas
70 options QUOTA2 # new, in-filesystem UFS quotas
71 #options FFS_EI # FFS Endian Independent support
72 options WAPBL # File system journaling support
73 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
74 options NFSSERVER
75 #options FFS_NO_SNAPSHOT # No FFS snapshot support
76
77 # Networking options
78
79 options GATEWAY # packet forwarding
80 options INET # IP + ICMP + TCP + UDP
81 options INET6 # IPV6
82 #options IPSEC # IP security
83 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
84 #options IPSEC_DEBUG # debug for IP security
85 #options MROUTING # IP multicast routing
86 #options PIM # Protocol Independent Multicast
87 options NETATALK # AppleTalk networking
88 options PFIL_HOOKS # pfil(9) packet filter hooks
89 options PPP_BSDCOMP # BSD-Compress compression support for PPP
90 options PPP_DEFLATE # Deflate compression support for PPP
91 options PPP_FILTER # Active filter support for PPP (requires bpf)
92 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
93
94 #options ALTQ # Manipulate network interfaces' output queues
95 #options ALTQ_BLUE # Stochastic Fair Blue
96 #options ALTQ_CBQ # Class-Based Queueing
97 #options ALTQ_CDNR # Diffserv Traffic Conditioner
98 #options ALTQ_FIFOQ # First-In First-Out Queue
99 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
100 #options ALTQ_HFSC # Hierarchical Fair Service Curve
101 #options ALTQ_LOCALQ # Local queueing discipline
102 #options ALTQ_PRIQ # Priority Queueing
103 #options ALTQ_RED # Random Early Detection
104 #options ALTQ_RIO # RED with IN/OUT
105 #options ALTQ_WFQ # Weighted Fair Queueing
106
107 # Compatibility options
108
109 options COMPAT_43 # 4.3BSD compatibility.
110 options COMPAT_60 # NetBSD 6.0 compatibility.
111 options COMPAT_50 # NetBSD 5.0 compatibility.
112 options COMPAT_40 # NetBSD 4.0 compatibility.
113 options COMPAT_30 # NetBSD 3.0 compatibility.
114 options COMPAT_20 # NetBSD 2.0 compatibility.
115 options COMPAT_16 # NetBSD 1.6 compatibility.
116 options COMPAT_15 # NetBSD 1.5 compatibility.
117 options COMPAT_14 # NetBSD 1.4 compatibility.
118 options COMPAT_13 # NetBSD 1.3 compatibility.
119 options COMPAT_12 # NetBSD 1.2 compatibility.
120 #options COMPAT_11 # NetBSD 1.1 compatibility.
121 #options COMPAT_10 # NetBSD 1.0 compatibility.
122 #options COMPAT_09 # NetBSD 0.9 compatibility.
123 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
124 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
125
126 # Shared memory options
127
128 options SYSVMSG # System V-like message queues
129 options SYSVSEM # System V-like semaphores
130 options SYSVSHM # System V-like memory sharing
131
132 # Device options
133
134 options MEMORY_DISK_HOOKS # boottime setup of ramdisk
135 #options MEMORY_DISK_ROOT_SIZE=4100 # Size in blocks
136 #options MEMORY_DISK_IS_ROOT # use memory disk as root
137
138 # Miscellaneous kernel options
139 options KTRACE # system call tracing, a la ktrace(1)
140 options IRQSTATS # manage IRQ statistics
141 options KMEMSTATS # kernel memory statistics
142 #options SCSIVERBOSE # Verbose SCSI errors
143 options USERCONF # userconf(4) support
144 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
145 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
146
147 # Enable experimental buffer queue strategy for better responsiveness under
148 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
149 #options BUFQ_READPRIO
150 #options BUFQ_PRIOCSCAN
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 DDB # in-kernel debugger
159 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
160 #makeoptions DEBUG="-g" # compile full symbol table
161
162 config netbsd root on ? type ?
163
164 # serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
165 # this really be fixed some day
166 #options COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
167
168 # The main bus device
169 mainbus0 at root
170
171 # The boot CPU
172 cpu0 at mainbus?
173
174 # The IOMD
175 iomd0 at mainbus?
176
177 # system clock via IOMD
178 clock* at iomd?
179
180 # IIC bus device
181 iomdiic* at iomd?
182 iic0 at iomdiic?
183
184 # RTC device via IIC bus
185 pcfrtc* at iic? addr 0x50
186
187 # VIDC device
188 vidc0 at mainbus?
189
190 # WSCONS
191 # ws console uses DUMB, SUN or VT100 terminal emulation
192 #options WSEMUL_NODUMB
193 #options WSEMUL_SUN
194 options WSEMUL_VT100
195
196 options WS_KERNEL_FG=WSCOL_GREEN
197
198 #options WSDISPLAY_COMPAT_RAWKBD
199 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
200 options WSDISPLAY_SCROLLSUPPORT
201
202 vidcvideo0 at vidc? # wscons driver for VIDC
203 wsdisplay* at vidcvideo? console ? # display itself
204
205 iomdkbc* at iomd? # IOMD keyboard/mouse interface
206
207 pckbd* at iomdkbc? slot ? # PS/2 keyboard
208 options PCKBD_LAYOUT=KB_UK
209 wskbd* at pckbd?
210
211 pms* at iomdkbc? slot ? # PS/2 mouse
212 wsmouse* at pms?
213
214 qms* at iomd? # ws quadmouse driver
215 wsmouse* at qms? # wsmouse on ws quadmouse
216
217 pseudo-device wsmux
218
219 # Peripheral IO Controller
220 pioc0 at mainbus? base 0x00210000
221
222 # IDE disk controller
223 wdc0 at pioc? offset 0x01f0 irq 9
224
225 # ATA (IDE) bus support
226 atabus* at ata?
227
228 wd* at atabus? drive ?
229 atapibus* at atapi?
230 cd* at atapibus? drive ?
231 sd* at atapibus? drive ?
232
233 # Floppy disk controller
234 fdc* at pioc? offset 0x03f0 irq 12 dack 0x2000
235 fd0 at fdc? drive ?
236
237 # Serial ports
238 com* at pioc? offset 0x03f8 irq 10
239
240 # Parallel ports
241 lpt* at pioc? offset 0x0278 irq 0 # Old driver
242 #atppc* at pioc? offset 0x0278 irq 0 # New driver
243 #ppbus* at atppc?
244 #lpt* at ppbus? # Parallel printer
245 #plip* at ppbus? # Parallel line IP
246
247 # Audio device
248 vidcaudio0 at vidc?
249 audio* at vidcaudio0
250
251 # Podule bus device
252 podulebus0 at root
253
254 sec* at podulebus? # Acorn SCSI card
255 scsibus* at sec?
256
257 cosc* at podulebus? # MCS Connect32 SCSI II card
258 scsibus* at cosc?
259
260 ptsc* at podulebus? # Power-Tec SCSI II card
261 scsibus* at ptsc?
262
263 csc* at podulebus? # Cumana SCSI II card
264 scsibus* at csc?
265
266 oak* at podulebus? # Oak SCSI I card
267 scsibus* at oak?
268
269 csa* at podulebus? # Cumana SCSI I adapter
270 scsibus* at csa?
271
272 hcsc* at podulebus0 slot ? # HCCS 8-bit SCSI interface
273 scsibus* at hcsc?
274
275 sd* at scsibus? target ? lun ? # SCSI disk drives
276 st* at scsibus? target ? lun ? # SCSI tape drives
277 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
278 ch* at scsibus? target ? lun ? # SCSI auto-changers
279 uk* at scsibus? target ? lun ? # SCSI unknown device
280 ss* at scsibus? target ? lun ? # SCSI scanner
281
282 dtide* at podulebus? # D.T. Software IDE card
283
284 hcide* at podulebus? # HCCS IDE card
285
286 icside* at podulebus? # ICS IDE card
287
288 rapide* at podulebus? # Yellowstone RapIDE card
289
290 simide* at podulebus? # Simtec IDE card
291
292 amps* at podulebus? # Atomwide Multi-Port Serial card
293 com* at amps?
294
295 ei* at podulebus? # Ether1 podules
296 ea* at podulebus? # Ether3 podules
297 eb0 at podulebus? # EtherB network slot cards
298 ne* at podulebus? # NE2000 clone cards
299
300 pseudo-device loop # network loopback
301 pseudo-device bpfilter # packet filter
302 #pseudo-device carp # Common Address Redundancy Protocol
303 pseudo-device sl # CSLIP
304 pseudo-device ppp # PPP
305 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
306 pseudo-device tun # network tunneling over tty
307 pseudo-device tap # virtual Ethernet
308 #pseudo-device gre # generic L3 over IP tunnel
309 #pseudo-device ipfilter # ip filter
310 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
311 #pseudo-device faith # IPv[46] tcp relay translation i/f
312 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
313 #pseudo-device strip # STarmode Radio IP (Metricon Ricochet)
314 pseudo-device vlan # IEEE 802.1q encapsulation
315 pseudo-device bridge # simple inter-network bridging
316 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
317 pseudo-device agr # IEEE 802.3ad link aggregation
318 pseudo-device pty # pseudo-terminals
319 pseudo-device vnd # disk-like interface to files
320 #options VND_COMPRESSION # compressed vnd(4)
321 pseudo-device ccd # concatenated disk devices
322 #pseudo-device cgd # cryptographic disk devices
323 pseudo-device raid # RAIDframe disk driver
324 options RAID_AUTOCONFIG # auto-configuration of RAID components
325 # Options to enable various other RAIDframe RAID types.
326 # options RF_INCLUDE_EVENODD=1
327 # options RF_INCLUDE_RAID5_RS=1
328 # options RF_INCLUDE_PARITYLOGGING=1
329 # options RF_INCLUDE_CHAINDECLUSTER=1
330 # options RF_INCLUDE_INTERDECLUSTER=1
331 # options RF_INCLUDE_PARITY_DECLUSTERING=1
332 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
333 pseudo-device fss # file system snapshot device
334 pseudo-device md # Ramdisk driver
335 pseudo-device clockctl # user control of clock subsystem
336 pseudo-device ksyms # /dev/ksyms
337 #pseudo-device pf # PF packet filter
338 #pseudo-device pflog # PF log if
339 pseudo-device putter # for puffs and pud
340
341 #
342 # accept filters
343 pseudo-device accf_data # "dataready" accept filter
344 pseudo-device accf_http # "httpready" accept filter
345
346 # Veriexec
347 #
348 # a pseudo device needed for veriexec
349 #pseudo-device veriexec
350 #
351 # Uncomment the fingerprint methods below that are desired. Note that
352 # removing fingerprint methods will have almost no impact on the kernel
353 # code size.
354 #
355 #options VERIFIED_EXEC_FP_RMD160
356 #options VERIFIED_EXEC_FP_SHA256
357 #options VERIFIED_EXEC_FP_SHA384
358 #options VERIFIED_EXEC_FP_SHA512
359 #options VERIFIED_EXEC_FP_SHA1
360 #options VERIFIED_EXEC_FP_MD5
361
362 # If the standard modes don't work for your monitor, you can specify
363 # a RISC-OS-format monitor definition file and a list of modes here.
364
365 #makeoptions MONITOR="Taxan875+LR"
366 #makeoptions MONITOR="AKF60"
367 #makeoptions MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
368