GENERIC revision 1.51
1# 	$NetBSD: GENERIC,v 1.51 2005/02/11 08:25:53 dsl 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.51 $"
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# FPA options
46#options 	ARMFPE		# ARM Ltd FPE
47
48# File systems
49
50file-system	FFS		# UFS
51#file-system	LFS		# log-structured file system
52file-system	MFS		# memory file system
53file-system	NFS		# Network file system
54file-system 	ADOSFS		# AmigaDOS-compatible file system
55file-system 	EXT2FS		# second extended file system (linux)
56file-system	CD9660		# ISO 9660 + Rock Ridge file system
57file-system	MSDOSFS		# MS-DOS file system
58file-system	FDESC		# /dev/fd
59file-system	FILECORE	# Acorn filecore file system
60file-system	KERNFS		# /kern
61file-system	NULLFS		# loopback file system
62file-system 	OVERLAY		# overlay filesystem
63file-system	PORTAL		# portal filesystem (still experimental)
64file-system	PROCFS		# /proc
65file-system	UMAPFS		# NULLFS + uid and gid remapping
66file-system	UNION		# union file system
67
68# File system options
69options 	QUOTA		# UFS quotas
70#options 	FFS_EI		# FFS Endian Independant support
71options 	SOFTDEP		# FFS soft updates support.
72#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
73options 	NFSSERVER
74options 	FFS_SNAPSHOT	# ffs snapshots
75
76# Networking options
77
78options 	GATEWAY		# packet forwarding
79options 	INET		# IP + ICMP + TCP + UDP
80options 	INET6		# IPV6
81#options 	IPSEC		# IP security
82#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
83#options 	IPSEC_DEBUG	# debug for IP security
84#options 	MROUTING	# IP multicast routing
85#options 	PIM		# Protocol Independent Multicast
86options 	NS		# XNS
87#options 	NSIP		# XNS tunneling over IP
88options 	ISO,TPIP	# OSI
89#options 	EON		# OSI tunneling over IP
90options 	CCITT,LLC,HDLC	# X.25
91options 	NETATALK	# AppleTalk networking
92options 	PFIL_HOOKS	# pfil(9) packet filter hooks
93options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
94options 	PPP_DEFLATE	# Deflate compression support for PPP
95options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
96#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
97
98#options 	ALTQ		# Manipulate network interfaces' output queues
99#options 	ALTQ_BLUE	# Stochastic Fair Blue
100#options 	ALTQ_CBQ	# Class-Based Queueing
101#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
102#options 	ALTQ_FIFOQ	# First-In First-Out Queue
103#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
104#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
105#options 	ALTQ_LOCALQ	# Local queueing discipline
106#options 	ALTQ_PRIQ	# Priority Queueing
107#options 	ALTQ_RED	# Random Early Detection
108#options 	ALTQ_RIO	# RED with IN/OUT
109#options 	ALTQ_WFQ	# Weighted Fair Queueing
110
111# Compatibility options
112
113options 	COMPAT_43	# 4.3BSD compatibility.
114options		COMPAT_20	# NetBSD 2.0 compatibility.
115options 	COMPAT_16	# NetBSD 1.6 compatibility.
116options		COMPAT_15	# NetBSD 1.5 compatibility.
117options 	COMPAT_14	# NetBSD 1.4 compatibility.
118options 	COMPAT_13	# NetBSD 1.3 compatibility.
119options 	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.
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
130#options 	SEMMNI=10	# number of semaphore identifiers
131#options 	SEMMNS=60	# number of semaphores in system
132#options 	SEMUME=10	# max number of undo entries per process
133#options 	SEMMNU=30	# number of undo structures in system
134options 	SYSVSHM		# System V-like memory sharing
135options 	SHMMAXPGS=1024	# 1024 pages is the default
136options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
137
138# Device options
139
140options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
141#options 	MEMORY_DISK_ROOT_SIZE=4100	# Size in blocks
142#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
143
144# Miscellaneous kernel options
145options 	KTRACE		# system call tracing, a la ktrace(1)
146options 	SYSTRACE	# system call vetting via systrace(1)
147options 	IRQSTATS	# manage IRQ statistics
148options 	LKM		# loadable kernel modules
149options 	KMEMSTATS	# kernel memory statistics
150#options 	SCSIVERBOSE	# Verbose SCSI errors
151options 	USERCONF	# userconf(4) support
152#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
153options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
154
155# Enable experimental buffer queue strategy for better responsiveness under 
156# high disk I/O load. Use it with caution - it's not proven to be stable yet.
157#options 	NEW_BUFQ_STRATEGY
158
159# Development and Debugging options
160
161#options 	ARM700BUGTRACK	# track the ARM700 swi bug
162#options 	PORTMASTER	# Enable PortMaster only options
163options 	DIAGNOSTIC	# internal consistency checks
164#options 	PMAP_DEBUG	# Enable pmap_debug_level code
165#options 	IPKDB		# remote kernel debugging
166options 	DDB		# in-kernel debugger
167#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
168#makeoptions	DEBUG="-g"	# compile full symbol table
169
170config		netbsd	root on ? type ?
171
172# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
173# this really be fixed some day
174#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
175
176# The main bus device
177mainbus0 at root
178
179# The boot CPU
180cpu0 at mainbus?
181
182# The IOMD
183iomd0	at mainbus?
184
185# system clock via IOMD
186clock*	at iomd?
187
188# IIC bus device
189iomdiic* at iomd?
190iic0 at iomdiic?
191
192# RTC device via IIC bus
193pcfrtc*	at iic? addr 0x50
194
195# VIDC device
196vidc0		at mainbus?
197
198# WSCONS
199# ws console uses DUMB, SUN or VT100 terminal emulation
200#options 	WSEMUL_NODUMB
201#options 	WSEMUL_SUN
202#options 	WSEMUL_VT100
203
204#options 	WSDISPLAY_COMPAT_RAWKBD
205
206#options 	FONT_BOLD8x16
207#options 	FONT_GALLANT12x22	# Very nice font
208#options 	FONT_LUCIDA16x29
209#options 	FONT_OMRON12x20		# looks funny
210#options 	FONT_QVSS8x15		# broken ?
211#options 	FONT_SONY12x25		# looks like VT220 font
212#options 	FONT_SONY8x16		# not tested
213#options 	FONT_VT220L8x8		# 8x8 font as in Arch. cons
214#options 	FONT_VT220L8x16		# 8x(2x8) font as in Arch. cons
215#options 	FONT_VT220L8x10		# not tested
216#options 	FONT_VT220L8x20		# not tested
217
218#vidcvideo0	at vidc?		# wscons driver for VIDC
219#wsdisplay*	at vidcvideo? console ?	# display itself
220
221iomdkbc*	at iomd?		# IOMD keyboard/mouse interface
222
223#pckbd*		at iomdkbc? slot ?	# PS/2 keyboard
224#options 	PCKBD_LAYOUT=KB_UK
225#wskbd*		at pckbd?
226
227pms*		at iomdkbc? slot ?	# PS/2 mouse
228wsmouse*	at pms?
229
230#rpckbd*	at iomd?		# based on old `kbd' driver
231#wskbd*		at rpckbd?		# wskbd on RiscPC keyboard
232
233qms*		at iomd?		# ws quadmouse driver
234wsmouse*	at qms?			# wsmouse on ws quadmouse
235
236pseudo-device	wsmux
237
238# The origional vidcconsole :
239# vidcconsole kbd at IOMD
240# vidcconsole PS2 mouse at IOMD
241vidcconsole0	at vidc?		# display + vt100 emulation
242kbd*		at iomd?		# PS/2 keyboard for vidcconsole
243
244# generic VT console device
245vt0	at vidc?
246vt1	at vidc?
247vt2	at vidc?
248vt3	at vidc?
249vt4	at vidc?
250vt5	at vidc?
251
252# Peripheral IO Controller
253pioc0	at mainbus? base 0x00210000
254
255# IDE disk controller
256wdc0	at pioc? offset 0x01f0 irq 9
257
258# ATA (IDE) bus support
259atabus* at ata?
260
261wd*	at atabus? drive ?
262atapibus* at atapi?
263cd*	at atapibus? drive ?
264sd*	at atapibus? drive ?
265
266# Floppy disk controller
267fdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
268fd0	at fdc? drive ?
269
270# Serial ports
271com*	at pioc? offset 0x03f8 irq 10
272
273# Parallel ports
274lpt*	at pioc? offset 0x0278 irq 0	# Old driver
275#atppc*	at pioc? offset 0x0278 irq 0	# New driver
276#ppbus*	at atppc?
277#lpt*	at ppbus?		# Parallel printer
278#plip*	at ppbus?		# Parallel line IP
279
280# Audio device
281vidcaudio0	at vidc?
282audio*		at vidcaudio0
283
284# Podule bus device
285podulebus0	at root
286
287asc*	at podulebus?			# Acorn SCSI card
288scsibus* at asc?
289
290cosc*	at podulebus?			# MCS Connect32 SCSI II card
291scsibus* at cosc?
292
293ptsc*	at podulebus?			# Power-Tec SCSI II card
294scsibus* at ptsc?
295
296csc*	at podulebus?			# Cumana SCSI II card
297scsibus* at csc?
298
299oak*	at podulebus?			# Oak SCSI I card
300scsibus* at oak?
301
302csa*	at podulebus?			# Cumana SCSI I adpater
303scsibus* at csa?
304
305hcsc*	at podulebus0 slot ?		# HCCS 8-bit SCSI interface
306scsibus* at hcsc?
307
308sd*	at scsibus? target ? lun ?	# SCSI disk drives
309st*	at scsibus? target ? lun ?	# SCSI tape drives
310cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
311ch*	at scsibus? target ? lun ?	# SCSI auto-changers
312uk*	at scsibus? target ? lun ?	# SCSI unknown device
313ss*	at scsibus? target ? lun ?	# SCSI scanner
314
315dtide*	at podulebus?			# D.T. Software IDE card
316
317hcide*	at podulebus?			# HCCS IDE card
318
319icside*	at podulebus?			# ICS IDE card
320
321rapide*	at podulebus?			# Yellowstone RapIDE card
322
323simide*	at podulebus?			# Simtec IDE card
324
325amps*	at podulebus?			# Atomwide Multi-Port Serial card
326com*	at amps?
327
328ie*	at podulebus?			# Ether1 podules
329ea*	at podulebus?			# Ether3 podules
330eb0	at podulebus?			# EtherB network slot cards
331ne*	at podulebus?			# NE2000 clone cards
332
333pseudo-device	loop	1		# network loopback
334pseudo-device	bpfilter 8		# packet filter
335pseudo-device	sl	2		# CSLIP
336pseudo-device	ppp	2		# PPP
337pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
338pseudo-device	tun	2		# network tunneling over tty
339pseudo-device	tap			# virtual Ethernet
340#pseudo-device	gre	2		# generic L3 over IP tunnel
341#pseudo-device	ipfilter 1		# ip filter
342pseudo-device	gif	4		# IPv[46] over IPv[46] tunnel (RFC1933)
343#pseudo-device	faith	1		# IPv[46] tcp relay translation i/f
344#pseudo-device	stf	1		# 6to4 IPv6 over IPv4 encapsulation
345#pseudo-device	strip	4		# STarmode Radio IP (Metricon Ricochet)
346pseudo-device	vlan			# IEEE 802.1q encapsulation
347pseudo-device	bridge			# simple inter-network bridging
348#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
349pseudo-device	pty			# pseudo-terminals
350pseudo-device	tb	1		# tablet line discipline
351pseudo-device	vnd	4		# disk-like interface to files
352pseudo-device	ccd	2		# concatenated disk devices
353#pseudo-device	cgd	4		# cryptographic disk devices
354pseudo-device	raid	8		# RAIDframe disk driver
355options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
356# Options to enable various other RAIDframe RAID types.
357# options	RF_INCLUDE_EVENODD=1
358# options	RF_INCLUDE_RAID5_RS=1
359# options	RF_INCLUDE_PARITYLOGGING=1
360# options	RF_INCLUDE_CHAINDECLUSTER=1
361# options	RF_INCLUDE_INTERDECLUSTER=1
362# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
363# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
364pseudo-device	fss	4		# file system snapshot device
365pseudo-device	md	1		# Ramdisk driver
366pseudo-device	rnd			# /dev/random and in-kernel generator
367pseudo-device	clockctl		# user control of clock subsystem
368
369makeoptions	MONITOR="Taxan875+LR"
370#makeoptions	MONITOR="AKF60"
371makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
372pseudo-device	ksyms			# /dev/ksyms
373#pseudo-device	pf			# PF packet filter
374#pseudo-device	pflog			# PF log if
375