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