GENERIC revision 1.1
1#	$NetBSD: GENERIC,v 1.1 2002/02/10 01:57:00 thorpej Exp $
2#
3# Generic Shark configuration.
4#
5
6include	"arch/shark/conf/std.shark"
7
8#ident		"GENERIC-$Revision: 1.1 $"
9
10# estimated number of users
11maxusers	32
12
13# Standard system options
14
15options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
16options 	HZ=64
17#options 	NTP		# NTP phase/frequency locked loop
18options 	NMBCLUSTERS=1024 # XXX, temporarily required
19#options 	BOOT_QUIETLY	# twiddle instead of normal boot msg output
20
21# CPU options
22
23options 	CPU_SA110	# Support the SA110 core
24
25# Architecture options
26
27options 	SHARK		# We are a Shark
28options 	NSIO		# We are using the National Semi SuperIO
29makeoptions	COPTS="-O2 -march=armv4 -mtune=strongarm"
30
31# compatibility with old version of OFW, which may have incorrect
32# properties and/or may set up devices incorrectly.
33options 	COMPAT_OLD_OFW
34
35# FPA options
36
37#options 	ARMFPE		# ARM Ltd FPE
38
39# File systems
40
41file-system	FFS		# UFS
42#file-system	LFS		# log-structured file system
43file-system	MFS		# memory file system
44file-system	NFS		# Network file system
45#file-system 	ADOSFS		# AmigaDOS-compatible file system
46#file-system 	EXT2FS		# second extended file system (linux)
47#file-system	CD9660		# ISO 9660 + Rock Ridge file system
48file-system	MSDOSFS		# MS-DOS file system
49#file-system	FDESC		# /dev/fd
50#file-system	FILECORE	# Acorn filecore file system
51file-system	KERNFS		# /kern
52#file-system	NULLFS		# loopback file system
53#file-system 	OVERLAY		# overlay filesystem
54#file-system	PORTAL		# portal filesystem (still experimental)
55#file-system	PROCFS		# /proc
56#file-system	UMAPFS		# NULLFS + uid and gid remapping
57#file-system	UNION		# union file system
58#file-system	CODA		# Coda file system (needs vcoda below)
59
60# File system options
61#options 	QUOTA		# UFS quotas
62#options 	FFS_EI		# FFS Endian Independant support
63options 	SOFTDEP		# FFS soft updates support.
64#options 	NFSSERVER
65
66# Networking options
67
68#options 	GATEWAY		# packet forwarding
69options 	INET		# IP + ICMP + TCP + UDP
70options 	INET6		# IPV6
71#options 	IPSEC		# IP security
72#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
73#options 	IPSEC_DEBUG	# debug for IP security
74#options 	MROUTING	# IP multicast routing
75#options 	NS		# XNS
76#options 	NSIP		# XNS tunneling over IP
77#options 	ISO,TPIP	# OSI
78#options 	EON		# OSI tunneling over IP
79#options 	CCITT,LLC,HDLC	# X.25
80#options 	NETATALK	# AppleTalk networking
81#options 	PFIL_HOOKS	# pfil(9) packet filter hooks (Required
82				# if you enable the pseudo-device ipl).
83
84#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
85#options 	PPP_DEFLATE	# Deflate compression support for PPP
86#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
87options 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
88#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
89
90# Compatibility options
91
92options 	COMPAT_43	# 4.3BSD compatibility.
93options 	COMPAT_14	# NetBSD 1.4 compatibility.
94options 	COMPAT_13	# NetBSD 1.3 compatibility.
95options 	COMPAT_12	# NetBSD 1.2 compatibility.
96#options 	COMPAT_11	# NetBSD 1.1 compatibility.
97#options 	COMPAT_10	# NetBSD 1.0 compatibility.
98#options 	COMPAT_09	# NetBSD 0.9 compatibility.
99#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
100
101# Shared memory options
102
103options 	SYSVMSG		# System V-like message queues
104options 	SYSVSEM		# System V-like semaphores
105options 	SYSVSHM		# System V-like memory sharing
106#options 	SHMMAXPGS=1024	# 1024 pages is the default
107
108# Device options
109
110options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
111#options 	MEMORY_DISK_SIZE=0	# Size in blocks
112#options 	MINIROOTSIZE=3400	# Size in blocks
113#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
114
115options 	XSERVER			# also need INSECURE for now
116options 	INSECURE		# disable kernel securelevel
117
118# Use the following to force the serial to always be the console
119# device.  19200 is what the serial gets set up as by the firmware
120# when it hasn't fallen back from PC.  If it has fallen back then
121# the speed will be set at 9600.
122#options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
123
124# Miscellaneous kernel options
125options 	KTRACE		# system call tracing, a la ktrace(1)
126options 	IRQSTATS	# manage IRQ statistics, XXX temp required
127#options 	LKM		# loadable kernel modules
128options 	KMEMSTATS	# kernel memory statistics, XXX temp required
129#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
130
131# Development and Debugging options
132
133#options 	ARM700BUGTRACK	# track the ARM700 swi bug
134#options 	PORTMASTER	# Enable PortMaster only options
135options 	DIAGNOSTIC	# internal consistency checks
136#options 	PMAP_DEBUG	# Enable pmap_debug_level code
137#options 	IPKDB		# remote kernel debugging
138options 	DDB		# in-kernel debugger
139#options 	DDB_ONPANIC=0	# don't run DDB at panictime
140#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
141#options 	KERNEL_DEBUG	# compile in kernel debuging capability
142#makeoptions	DEBUG="-g"	# compile full symbol table
143
144config		netbsd		root on ? type ?
145
146# The main bus device
147mainbus0 at root
148
149# The boot cpu
150cpu0 at mainbus?
151
152# Open Firmware devices
153ofbus*		at root
154ofbus*		at ofbus?
155#ofdisk* 	at ofbus?
156#ofnet*		at ofbus?	# don't use with cs0
157#ofcons* 	at ofbus?	# don't use with pc0
158ofrtc*		at ofisa?
159ofrom*		at ofbus?
160
161ofisa*		at ofbus?
162ofbus*		at ofisa?
163
164# IDE/ATA disk
165wdc*		at ofisa?
166wd*		at wdc? drive ?
167
168atapibus*	at wdc?
169cd*		at atapibus? drive?
170sd*		at atapibus? drive?
171
172# PCCONS@OFW
173ofisapc*	at ofbus?
174pc*		at ofisapc?
175#options 	FRENCH_KBD
176#options 	FINNISH_KBD
177#options 	GERMAN_KBD
178#options 	NORWEGIAN_KBD
179
180# PS/2 Mouse
181opms0		at spckbd? irq 12
182
183# CS8900 Ethernet@OFW
184cs*		at ofisa?
185
186# Serial @OFW
187com*		at ofisa?
188
189# Parallel @OFW
190lpt*		at ofisa?
191
192# Smart Card
193ofisascr*	at ofisa?
194scr*		at ofisascr?
195
196# ESS Sound@OFW
197ess*		at ofisa?
198audio*		at ess?
199opl*		at ess?
200midi*		at opl?
201
202# Joystick @OFW
203joy*		at ofisa?
204
205pseudo-device	loop	1		# network loopback
206pseudo-device	bpfilter 8		# packet filter
207#pseudo-device	sl	2		# CSLIP
208#pseudo-device	ppp	2		# PPP
209#pseudo-device	tun	2		# network tunneling over tty
210#pseudo-device	ipfilter 1		# ip filter
211pseudo-device	gif	4		# IPv[46] over IPv[46] tunnel (RFC1933)
212#pseudo-device	faith	1		# IPv[46] tcp relay translation i/f
213#pseudo-device	stf	1		# 6to4 IPv6 over IPv4 encapsulation
214#pseudo-device	strip	4		# STarmode Radio IP (Metricon Ricochet)
215pseudo-device	pty			# pseudo-terminals
216#pseudo-device	tb	1		# tablet line discipline
217pseudo-device	vnd	4		# disk-like interface to files
218#pseudo-device	ccd	2		# concatenated disk devices
219pseudo-device	rnd			# /dev/random and /dev/urandom
220
221#pseudo-device	md	1		# Ramdisk driver
222#pseudo-device	profiler 1		# fiq based profiling device
223pseudo-device	sequencer 1		# MIDI sequencer
224pseudo-device	openfirm		# /dev/openfirm
225#pseudo-device	vcoda	4		# coda kernel <-> cachemanager
226