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