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