GENERIC revision 1.10
1# 	$NetBSD: GENERIC,v 1.10 2002/01/30 14:01:33 reinoud 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
23#ident		"GENERIC-$Revision: 1.10 $"
24
25# estimated number of users
26maxusers	32
27
28# Standard system options
29
30options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
31#options 	NTP		# NTP phase/frequency locked loop
32
33# CPU options
34options 	CPU_SA110	# Support the SA110 core
35options 	CPU_ARM6	# Support the ARM6 core
36options 	CPU_ARM7	# Support the ARM7 core
37#options 	CPU_ARM8	# Support the ARM8 core
38#options 	ARM6_LATE_ABORT	# ARM6XX late abort support
39
40# For StrongARM only kernels
41#makeoptions	COPTS="-O2 -march=armv3m -mtune=strongarm"
42
43# Architecture options
44options 	RISCPC		# We are a RiscPC
45
46# FPA options
47#options 	ARMFPE		# ARM Ltd FPE
48
49# File systems
50
51file-system	FFS		# UFS
52#file-system	LFS		# log-structured file system
53file-system	MFS		# memory file system
54file-system	NFS		# Network file system
55file-system 	ADOSFS		# AmigaDOS-compatible file system
56file-system 	EXT2FS		# second extended file system (linux)
57file-system	CD9660		# ISO 9660 + Rock Ridge file system
58file-system	MSDOSFS		# MS-DOS file system
59file-system	FDESC		# /dev/fd
60file-system	FILECORE	# Acorn filecore file system
61file-system	KERNFS		# /kern
62file-system	NULLFS		# loopback file system
63file-system 	OVERLAY		# overlay filesystem
64file-system	PORTAL		# portal filesystem (still experimental)
65file-system	PROCFS		# /proc
66file-system	UMAPFS		# NULLFS + uid and gid remapping
67file-system	UNION		# union file system
68
69# File system options
70options 	QUOTA		# UFS quotas
71#options 	FFS_EI		# FFS Endian Independant support
72options 	SOFTDEP		# FFS soft updates support.
73options 	NFSSERVER
74
75# Networking options
76
77options 	GATEWAY		# packet forwarding
78options 	INET		# IP + ICMP + TCP + UDP
79options 	INET6		# IPV6
80#options 	IPSEC		# IP security
81#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
82#options 	IPSEC_DEBUG	# debug for IP security
83#options 	MROUTING	# IP multicast routing
84options 	NS		# XNS
85#options 	NSIP		# XNS tunneling over IP
86options 	ISO,TPIP	# OSI
87#options 	EON		# OSI tunneling over IP
88options 	CCITT,LLC,HDLC	# X.25
89options 	NETATALK	# AppleTalk networking
90options 	PFIL_HOOKS	# pfil(9) packet filter hooks
91options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
92options 	PPP_DEFLATE	# Deflate compression support for PPP
93options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
94#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
95
96# Compatibility options
97
98options 	COMPAT_43	# 4.3BSD compatibility.
99options		COMPAT_15	# NetBSD 1.5 compatibility.
100options 	COMPAT_14	# NetBSD 1.4 compatibility.
101options 	COMPAT_13	# NetBSD 1.3 compatibility.
102options 	COMPAT_12	# NetBSD 1.2 compatibility.
103#options 	COMPAT_11	# NetBSD 1.1 compatibility.
104#options 	COMPAT_10	# NetBSD 1.0 compatibility.
105#options 	COMPAT_09	# NetBSD 0.9 compatibility.
106#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
107
108# Bootloader options (has to go !)
109options 	COMPAT_OLD_BOOTLOADER
110
111# Shared memory options
112
113options 	SYSVMSG		# System V-like message queues
114options 	SYSVSEM		# System V-like semaphores
115#options 	SEMMNI=10	# number of semaphore identifiers
116#options 	SEMMNS=60	# number of semaphores in system
117#options 	SEMUME=10	# max number of undo entries per process
118#options 	SEMMNU=30	# number of undo structures in system
119options 	SYSVSHM		# System V-like memory sharing
120options 	SHMMAXPGS=1024	# 1024 pages is the default
121
122# Device options
123
124options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
125#options 	MEMORY_DISK_SIZE=0	# Size in blocks
126#options 	MINIROOTSIZE=4100	# Size in blocks
127#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
128
129# Miscellaneous kernel options
130options 	KTRACE		# system call tracing, a la ktrace(1)
131options 	IRQSTATS	# manage IRQ statistics
132options 	LKM		# loadable kernel modules
133options 	KMEMSTATS	# kernel memory statistics
134#options 	SCSIVERBOSE	# Verbose SCSI errors
135#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
136
137# Development and Debugging options
138
139#options 	ARM700BUGTRACK	# track the ARM700 swi bug
140#options 	PORTMASTER	# Enable PortMaster only options
141options 	DIAGNOSTIC	# internal consistency checks
142#options 	PMAP_DEBUG	# Enable pmap_debug_level code
143#options 	IPKDB		# remote kernel debugging
144options 	DDB		# in-kernel debugger
145#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
146#makeoptions	DEBUG="-g"	# compile full symbol table
147
148config		netbsd	root on ? type ?
149
150# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
151# this really be fixed some day
152#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
153
154# The main bus device
155mainbus0 at root
156
157# The boot cpu
158cpu0 at mainbus?
159
160# The IOMD
161iomd0	at mainbus?
162
163# system clock via IOMD
164clock*	at iomd?
165
166# IIC bus device
167iic*	at iomd?
168
169# RTC device via IIC bus
170rtc*	at iic? addr 0xa0
171
172# time-of-day device via rtc device
173todclock0	at rtc?
174
175# VIDC device
176vidc0		at mainbus?
177
178# WSCONS
179# ws console uses DUMB, SUN or VT100 terminal emulation
180#options 	WSEMUL_NODUMB
181#options 	WSEMUL_SUN
182#options 	WSEMUL_VT100
183
184#options 	WSDISPLAY_COMPAT_RAWKBD
185
186#options 	FONT_BOLD8x16
187#options 	FONT_GALLANT12x22	# Very nice font
188#options 	FONT_LUCIDA16x29
189#options 	FONT_OMRON12x20		# looks funny
190#options 	FONT_QVSS8x15		# broken ?
191#options 	FONT_SONY12x25		# looks like VT220 font
192#options 	FONT_SONY8x16		# not tested
193#options 	FONT_VT220L8x8		# 8x8 font as in Arch. cons
194#options 	FONT_VT220L8x16		# 8x(2x8) font as in Arch. cons
195#options 	FONT_VT220L8x10		# not tested
196#options 	FONT_VT220L8x20		# not tested
197
198#vidcvideo0	at vidc?		# wscons driver for VIDC
199#wsdisplay*	at vidcvideo? console ?	# display itself
200
201#rpckbd*	at iomd?		# based on old `kbd' driver
202#wskbd*		at rpckbd?		# wskbd on RiscPC keyboard
203
204#wsqms*		at iomd?		# ws quadmouse driver
205#wsmouse*	at wsqms?		# wsmouse on ws quadmouse
206
207#pseudo-device	wsmux
208
209# The origional vidcconsole :
210# vidcconsole kbd at IOMD
211# vidcconsole PS2 mouse at IOMD
212vidcconsole0	at vidc?		# display + vt100 emulation
213kbd*		at iomd?		# PS/2 keyboard for vidcconsole
214qms*		at iomd?		# RiscPC mouse for vidcconsole
215opms*		at iomd?		# A7000/NC? mouse for vidcconsole
216
217# generic VT console device
218vt0	at vidc?
219vt1	at vidc?
220vt2	at vidc?
221vt3	at vidc?
222vt4	at vidc?
223vt5	at vidc?
224
225# Peripheral IO Controller
226pioc0	at mainbus? base 0x00210000
227
228# IDE disk controller
229wdc0	at pioc? offset 0x01f0 irq 9
230#wdc*	at pioc? offset 0x0170 irq -1
231wd*	at wdc? channel ? drive ?
232atapibus* at wdc? channel ?
233cd*	at atapibus? drive ?
234sd*	at atapibus? drive ?
235
236# Floppy disk controller
237fdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
238fdc*	at pioc? offset 0x0370 irq -1 dack 0x2000
239fd0	at fdc? drive ?
240
241# Serial ports
242com*	at pioc? offset 0x03f8 irq 10
243#com*	at pioc? offset 0x02f8 irq -1
244#com*	at pioc? offset 0x0338 irq -1
245#com*	at pioc? offset 0x0238 irq -1
246
247# Parallel ports
248lpt*	at pioc? offset 0x0278 irq 0
249#lpt*	at pioc? offset 0x0378 irq -1
250#lpt*	at pioc? offset 0x03bc irq -1
251
252# Crude sound device
253beep0	at vidc?
254
255# Audio device
256vidcaudio0	at vidc?
257audio*		at vidcaudio0
258
259# System beep
260sysbeep0	at vidc?
261
262# Podule bus device
263podulebus0	at root
264
265asc*	at podulebus?			# Acorn SCSI card
266scsibus* at asc?
267
268cosc*	at podulebus?			# MCS Connect32 SCSI II card
269scsibus* at cosc?
270
271ptsc*	at podulebus?			# Power-Tec SCSI II card
272scsibus* at ptsc?
273
274#csc*	at podulebus?			# Cumana SCSI II card
275#scsibus* at csc?			# Not currently working
276
277oak*	at podulebus?			# Oak SCSI I card
278scsibus* at oak?
279
280csa*	at podulebus?			# Cumana SCSI I adpater
281scsibus* at csa?
282
283hcsc*	at podulebus0 slot ?		# HCCS 8-bit SCSI interface
284scsibus* at hcsc?
285
286sd*	at scsibus? target ? lun ?	# SCSI disk drives
287st*	at scsibus? target ? lun ?	# SCSI tape drives
288cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
289ch*	at scsibus? target ? lun ?	# SCSI auto-changers
290uk*	at scsibus? target ? lun ?	# SCSI unknown device
291ss*	at scsibus? target ? lun ?	# SCSI scanner
292
293dtide*	at podulebus?			# D.T. Software IDE card
294wd*	at dtide? channel ? drive ?
295atapibus* at dtide? channel ?
296
297hcide*	at podulebus?			# HCCS IDE card
298wd*	at hcide? channel ? drive ?
299atapibus* at hcide? channel ?
300
301icside*	at podulebus?			# ICS IDE card
302wd*	at icside? channel ? drive ?
303atapibus* at icside? channel ?
304
305rapide*	at podulebus?			# Yellowstone RapIDE card
306wd*	at rapide? channel ? drive ?
307atapibus* at rapide? channel ?
308
309simide*	at podulebus?			# Simtec IDE card
310wd*	at simide? channel ? drive ?
311atapibus* at simide? channel ?
312
313amps*	at podulebus?			# Atomwide Multi-Port Serial card
314com*	at amps?
315
316ie*	at podulebus?			# Ether1 podules
317ea*	at podulebus?			# Ether3 podules
318eb0	at podulebus?			# EtherB network slot cards
319ne*	at podulebus?			# NE2000 clone cards
320
321pseudo-device	loop	1		# network loopback
322pseudo-device	bpfilter 8		# packet filter
323pseudo-device	sl	2		# CSLIP
324pseudo-device	ppp	2		# PPP
325pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
326pseudo-device	tun	2		# network tunneling over tty
327#pseudo-device	gre	2		# generic L3 over IP tunnel
328#pseudo-device	ipfilter 1		# ip filter
329pseudo-device	gif	4		# IPv[46] over IPv[46] tunnel (RFC1933)
330#pseudo-device	faith	1		# IPv[46] tcp relay translation i/f
331#pseudo-device	stf	1		# 6to4 IPv6 over IPv4 encapsulation
332#pseudo-device	strip	4		# STarmode Radio IP (Metricon Ricochet)
333pseudo-device	vlan			# IEEE 802.1q encapsulation
334pseudo-device	bridge			# simple inter-network bridging
335pseudo-device	pty			# pseudo-terminals
336pseudo-device	tb	1		# tablet line discipline
337pseudo-device	vnd	4		# disk-like interface to files
338pseudo-device	ccd	2		# concatenated disk devices
339pseudo-device	raid	8		# RAIDframe disk driver
340options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
341# Options to enable various other RAIDframe RAID types.
342# options	RF_INCLUDE_EVENODD=1
343# options	RF_INCLUDE_RAID5_RS=1
344# options	RF_INCLUDE_PARITYLOGGING=1
345# options	RF_INCLUDE_CHAINDECLUSTER=1
346# options	RF_INCLUDE_INTERDECLUSTER=1
347# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
348# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
349pseudo-device	md	1		# Ramdisk driver
350pseudo-device	rnd			# /dev/random and in-kernel generator
351
352makeoptions	MONITOR="Taxan875+LR"
353#makeoptions	MONITOR="AKF60"
354makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
355