LOWMEM_WSCONS revision 1.33
1#	$NetBSD: LOWMEM_WSCONS,v 1.33 2005/07/30 06:35:35 yamt Exp $
2#
3#	LOWMEM_WSCONS -- RiscPC config with wscons for SMALL machines
4#
5
6include	"arch/acorn32/conf/std.acorn32"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# estimated number of users
11
12maxusers	2
13
14# Standard system options
15
16options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
17#options 	NTP		# NTP phase/frequency locked loop
18
19# CPU options
20options 	CPU_SA110	# Support the SA110 core
21options 	CPU_ARM6	# Support the ARM6 core
22options 	CPU_ARM7	# Support the ARM7 core
23#options 	CPU_ARM8	# Support the ARM8 core
24#options 	ARM6_LATE_ABORT	# ARM6XX late abort support
25
26# For StrongARM only kernels
27#makeoptions	COPTS="-O2 -march=armv3m -mtune=strongarm"
28
29# For small kernels
30makeoptions	COPTS="-Os -fno-inline -Dinline= -D__inline__= -D_inline_= "
31
32# FPA options
33
34#options 	ARMFPE		# ARM Ltd FPE
35
36# File systems
37
38file-system	FFS		# UFS
39#file-system	LFS		# log-structured file system
40file-system	MFS		# memory file system
41file-system	NFS		# Network file system
42#file-system 	ADOSFS		# AmigaDOS-compatible file system
43#file-system 	EXT2FS		# second extended file system (linux)
44#file-system	CD9660		# ISO 9660 + Rock Ridge file system
45#file-system	MSDOSFS		# MS-DOS file system
46#file-system	FDESC		# /dev/fd
47file-system	FILECORE	# Acorn filecore file system
48file-system	KERNFS		# /kern
49#file-system	NULLFS		# loopback file system
50#file-system	PORTAL		# portal filesystem (still experimental)
51#file-system	PROCFS		# /proc
52#file-system	UMAPFS		# NULLFS + uid and gid remapping
53#file-system	UNION		# union file system
54
55# File system options
56#options 	QUOTA		# UFS quotas
57#options 	NFSSERVER
58options 	FFS_NO_SNAPSHOT	# ffs snapshots
59
60# Networking options
61
62#options 	GATEWAY		# packet forwarding
63options 	INET		# IP + ICMP + TCP + UDP
64#options 	INET6		# IPV6
65#options 	IPSEC		# IP security
66#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
67#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
68#options 	IPSEC_DEBUG	# debug for IP security
69#options 	MROUTING	# IP multicast routing
70#options 	PIM		# Protocol Independent Multicast
71#options 	NS		# XNS
72#options 	NSIP		# XNS tunneling over IP
73#options 	ISO,TPIP	# OSI
74#options 	EON		# OSI tunneling over IP
75#options 	CCITT,LLC,HDLC	# X.25
76#options 	NETATALK	# AppleTalk networking
77#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
78#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
79#options 	PPP_DEFLATE	# Deflate compression support for PPP
80#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
81#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
82
83# Compatibility options
84
85options 	COMPAT_43	# 4.3BSD compatibility.
86options 	COMPAT_20	# NetBSD 2.0 compatibility.
87options 	COMPAT_16	# NetBSD 1.6 compatibility.
88options 	COMPAT_14	# NetBSD 1.4 compatibility.
89options 	COMPAT_13	# NetBSD 1.3 compatibility.
90#options 	COMPAT_12	# NetBSD 1.2 compatibility.
91#options 	COMPAT_11	# NetBSD 1.1 compatibility.
92#options 	COMPAT_10	# NetBSD 1.0 compatibility.
93#options 	COMPAT_09	# NetBSD 0.9 compatibility.
94#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
95options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
96
97# Shared memory options
98
99#options 	SYSVMSG		# System V-like message queues
100#options 	SYSVSEM		# System V-like semaphores
101#options 	SYSVSHM		# System V-like memory sharing
102#options 	SHMMAXPGS=1024	# 1024 pages is the default
103
104# Device options
105
106options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
107#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
108#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
109
110# Miscellaneous kernel options
111options 	KTRACE		# system call tracing, a la ktrace(1)
112options 	IRQSTATS	# manage IRQ statistics
113options 	LKM		# loadable kernel modules
114options 	KMEMSTATS	# kernel memory statistics
115options 	USERCONF	# userconf(4) support
116#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
117#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
118
119# Development and Debugging options
120
121#options 	ARM700BUGTRACK	# track the ARM700 swi bug
122#options 	PORTMASTER	# Enable PortMaster only options
123#options 	DIAGNOSTIC	# internally consistency checks
124#options 	PMAP_DEBUG	# Enable pmap_debug_level code
125#options 	IPKDB		# remote kernel debugging
126#options 	DDB		# in-kernel debugger
127#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
128#makeoptions	DEBUG="-g"	# compile full symbol table
129
130config		netbsd	root on wd0a type ?
131#config		netbsd	root on ? type ?
132
133# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
134# this really be fixed some day
135#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
136
137# The main bus device
138mainbus0 at root
139
140# The boot CPU
141cpu0 at mainbus?
142
143# The IOMD
144iomd0	at mainbus?
145
146# system clock via IOMD
147clock*	at iomd?
148
149# IIC bus device
150iomdiic* at iomd?
151iic0 at iomdiic?
152
153# RTC device via IIC bus
154pcfrtc*	at iic? addr 0x50
155
156# VIDC device
157vidc0		at mainbus?
158
159# WSCONS
160# ws console uses DUMB, SUN or VT100 terminal emulation
161#options 	WSEMUL_NODUMB
162#options 	WSEMUL_SUN
163options 	WSEMUL_VT100
164
165#options 	WSDISPLAY_COMPAT_RAWKBD
166
167#options 	FONT_BOLD8x16
168#options 	FONT_GALLANT12x22	# Very nice font
169#options 	FONT_LUCIDA16x29
170#options 	FONT_OMRON12x20		# looks funny
171#options 	FONT_QVSS8x15		# broken ?
172options 	FONT_SONY12x25		# looks like VT220 font
173#options 	FONT_SONY8x16		# not tested
174#options 	FONT_VT220L8x8		# 8x8 font as in Arch. cons
175#options 	FONT_VT220L8x16		# 8x(2x8) font as in Arch. cons
176#options 	FONT_VT220L8x10		# not tested
177#options 	FONT_VT220L8x20		# not tested
178
179vidcvideo0	at vidc?		# wscons driver for VIDC
180wsdisplay*	at vidcvideo? console ? # display itself
181
182iomdkbc*	at iomd?		# IOMD keyboard/mouse interface
183
184#pckbd*		at iomdkbc? slot ?	# PS/2 keyboard
185#options 	PCKBD_LAYOUT=KB_UK
186#wskbd*		at pckbd?
187
188pms*		at iomdkbc? slot ?	# PS/2 mouse
189wsmouse*	at pms?
190
191rpckbd*		at iomd?		# based on old `kbd' driver
192wskbd*		at rpckbd?		# wskbd on RiscPC keyboard
193
194qms*		at iomd?		# ws quadmouse driver
195wsmouse*	at qms?			# wsmouse on ws quadmouse
196
197pseudo-device	wsmux
198
199# The origional vidcconsole :
200# vidcconsole kbd at IOMD
201# vidcconsole PS2 mouse at IOMD
202#vidcconsole0	at vidc?		# display + vt100 emulation
203#kbd*		at iomd?		# PS/2 keyboard for vidcconsole
204
205# generic VT console device
206#vt0		at vidc?
207#vt1		at vidc?
208#vt2		at vidc?
209#vt3		at vidc?
210#vt4		at vidc?
211#vt5		at vidc?
212
213
214# Peripheral IO Controller
215pioc0	at mainbus? base 0x00210000
216
217# IDE disk controller
218wdc0	at pioc? offset 0x01f0 irq 9
219#wdc*	at pioc? offset 0x0170 irq -1
220
221# ATA (IDE) bus support
222atabus* at ata?
223
224wd*	at atabus? drive ?
225#atapibus* at atapi?
226#cd*	at atapibus? drive ?
227#sd*	at atapibus? drive ?
228
229# Floppy disk controller
230fdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
231fdc*	at pioc? offset 0x0370 irq -1 dack 0x2000
232fd0	at fdc? drive ?
233
234# Serial ports
235com*	at pioc? offset 0x03f8 irq 10
236#com*	at pioc? offset 0x02f8 irq -1
237#com*	at pioc? offset 0x0338 irq -1
238#com*	at pioc? offset 0x0238 irq -1
239
240# Parallel ports
241lpt*	at pioc? offset 0x0278 irq 0
242#lpt*	at pioc? offset 0x0378 irq -1
243#lpt*	at pioc? offset 0x03bc irq -1
244
245# Audio device
246vidcaudio0	at vidc?
247audio*		at vidcaudio0
248
249# Podule bus device
250#podulebus0	at root
251
252#asc*	at podulebus?			# Acorn SCSI card
253#scsibus* at asc?
254
255#cosc*	at podulebus?			# MCS Connect32 SCSI II card
256#scsibus* at cosc?
257
258#ptsc*	at podulebus?			# Power-Tec SCSI II card
259#scsibus* at ptsc?
260
261#csc*	at podulebus?			# Cumana SCSI II card
262#scsibus* at csc?
263
264#oak*	at podulebus?			# Oak SCSI I card
265#scsibus* at oak?
266
267#csa*	at podulebus?			# Cumana SCSI I adpater
268#scsibus* at csa?
269
270#hcsc*	at podulebus0 slot ?	# HCCS 8-bit SCSI interface
271#scsibus* at hcsc?
272
273#sd*	at scsibus? target ? lun ?	# SCSI disk drives
274#st*	at scsibus? target ? lun ?	# SCSI tape drives
275#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
276#ch*	at scsibus? target ? lun ?	# SCSI auto-changers
277#uk*	at scsibus? target ? lun ?	# SCSI unknown device
278#ss*	at scsibus? target ? lun ?	# SCSI scanner
279
280#icside*	at podulebus?			# ICS IDE card
281
282#rapide*	at podulebus?			# Yellowstone RapIDE card
283
284#simide*	at podulebus?			# Simtec IDE card
285
286#amps*	at podulebus?			# Atomwide Multi-Port Serial card
287#com*	at amps?
288
289#ie*	at podulebus?			# Ether1 podules
290#ea*	at podulebus?			# Ether3 podules
291#eb0	at podulebus?			# EtherB network slot cards
292#ne*	at podulebus?			# NE2000 clone cards
293
294pseudo-device	loop	1		# network loopback
295#pseudo-device	bpfilter 8		# packet filter
296#pseudo-device	sl	2		# CSLIP
297pseudo-device	ppp	2		# PPP
298#pseudo-device	tun	2		# network tunneling over tty
299#pseudo-device	ipfilter 1		# ip filter
300#pseudo-device	strip	4		# STRIP
301pseudo-device	pty			# pseudo-terminals
302#pseudo-device	tb	1		# tablet line discipline
303pseudo-device	vnd	4		# disk-like interface to files
304#pseudo-device	ccd	2		# concatenated disk devices
305#pseudo-device	fss	4		# file system snapshot device
306pseudo-device	md	1		# Ramdisk driver
307pseudo-device	rnd			# /dev/random and /dev/urandom
308pseudo-device	clockctl		# user control of clock subsystem
309
310makeoptions	MONITOR="Taxan875+LR"
311#makeoptions	MONITOR="AKF60"
312makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
313
314options	VMSWAP			# Swap device/file support
315