GENERICSBC revision 1.52
1#	$NetBSD: GENERICSBC,v 1.52 2006/02/05 05:01:56 cube Exp $
2#
3# GENERICSBC
4
5include	"arch/mac68k/conf/std.mac68k"
6
7options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
8
9#ident 		"GENERICSBC-$Revision: 1.52 $"
10
11maxusers	16		# estimated number of users
12
13# CPU support.  At least one is REQUIRED.
14options 	M68040
15options 	M68030
16options 	M68020		# Note:  must have 68851 PMMU
17
18# CPU-related options.
19options 	FPSP
20options 	FPU_EMULATE
21
22# Standard system options
23
24options 	INSECURE	# disable kernel security levels
25
26options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
27#options 	NTP		# NTP phase/frequency locked loop
28
29options 	KTRACE		# system call tracing via ktrace(1)
30
31options 	SYSVMSG		# System V-like message queues
32options 	SYSVSEM		# System V-like semaphores
33#options 	SEMMNI=10	# number of semaphore identifiers
34#options 	SEMMNS=60	# number of semaphores in system
35#options 	SEMUME=10	# max number of undo entries per process
36#options 	SEMMNU=30	# number of undo structures in system
37options 	SYSVSHM		# System V-like memory sharing
38#options 	SHMMAXPGS=1024	# 1024 pages is the default
39options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
40
41options 	LKM		# loadable kernel modules
42
43options 	USERCONF	# userconf(4) support
44#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
45options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
46
47# Diagnostic/debugging support options
48#options 	DIAGNOSTIC	# cheap kernel consistency checks
49#options 	DEBUG		# expensive debugging checks/support
50options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
51options 	DDB			# in-kernel debugger
52#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
53#options 	KGDB			# remote debugger
54#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
55#options 	KGDB_DEVRATE=38400	# baud rate
56#makeoptions	DEBUG="-g"	# compile full symbol table
57
58# Compatibility options
59#options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
60#options 	COMPAT_09	# NetBSD 0.9,
61options 	COMPAT_10	# NetBSD 1.0,
62options 	COMPAT_11	# NetBSD 1.1,
63options 	COMPAT_12	# NetBSD 1.2,
64options 	COMPAT_13	# NetBSD 1.3,
65options 	COMPAT_14	# NetBSD 1.4,
66options 	COMPAT_15	# NetBSD 1.5,
67options 	COMPAT_16	# NetBSD 1.6,
68options 	COMPAT_20	# NetBSD 2.0,
69options 	COMPAT_30	# NetBSD 3.0 compatibility.
70options 	COMPAT_43	# and 4.3BSD
71#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
72
73# The following is needed to run pre-NetBSD 1.6 binaries under ELF.
74options 	COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
75options 	EXEC_AOUT	# support for exec'ing a.out
76
77#options 	COMPAT_LINUX	# compatibility with Linux/m68k binaries
78#options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
79#options 	COMPAT_SUNOS	# compatibility with SunOS 4.x binaries
80#options 	COMPAT_SVR4	# compatibility with SVR4 binaries
81options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
82
83# File systems
84file-system 	FFS		# UFS
85file-system 	EXT2FS		# second extended file system (linux)
86file-system 	LFS		# log-structured file system
87file-system 	MFS		# memory file system
88file-system 	NFS		# Network File System client
89file-system 	CD9660		# ISO 9660 + Rock Ridge file system
90file-system 	MSDOSFS		# MS-DOS file system
91file-system 	FDESC		# /dev/fd
92file-system 	KERNFS		# /kern
93file-system 	NULLFS		# loopback file system
94file-system 	OVERLAY		# overlay file system
95file-system 	PORTAL		# portal filesystem (still experimental)
96file-system 	PROCFS		# /proc
97file-system 	UMAPFS		# NULLFS + uid and gid remapping
98file-system 	UNION		# union file system
99file-system 	CODA		# Venus/Coda distributed file system
100file-system	PTYFS		# /dev/pts/N support
101
102# File system options
103options 	QUOTA		# UFS quotas
104#options 	FFS_EI		# FFS Endian Independant support
105options 	SOFTDEP		# FFS soft updates support.
106#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
107options 	NFSSERVER	# Network File System server
108#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
109#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
110				# immutable) behave as system flags.
111
112# Networking options
113options 	GATEWAY		# packet forwarding
114options 	INET		# IP + ICMP + TCP + UDP
115options 	INET6		# IPV6
116#options 	IPSEC		# IP security
117#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
118#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
119#options 	IPSEC_DEBUG	# debug for IP security
120#options 	MROUTING	# IP multicast routing
121#options 	PIM		# Protocol Independent Multicast
122options 	NS		# XNS
123#options 	NSIP		# XNS tunneling over IP
124options 	ISO,TPIP	# OSI
125#options 	EON		# OSI tunneling over IP
126options 	CCITT,LLC,HDLC	# X.25
127options 	NETATALK	# AppleTalk networking protocols
128options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
129options 	PPP_DEFLATE	# Deflate compression support for PPP
130options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
131options 	PFIL_HOOKS	# pfil(9) packet filter hooks
132options 	IPFILTER_LOG	# ipmon(8) log support
133#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
134#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
135
136#options 	ALTQ		# Manipulate network interfaces' output queues
137#options 	ALTQ_BLUE	# Stochastic Fair Blue
138#options 	ALTQ_CBQ	# Class-Based Queueing
139#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
140#options 	ALTQ_FIFOQ	# First-In First-Out Queue
141#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
142#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
143#options 	ALTQ_LOCALQ	# Local queueing discipline
144#options 	ALTQ_PRIQ	# Priority Queueing
145#options 	ALTQ_RED	# Random Early Detection
146#options 	ALTQ_RIO	# RED with IN/OUT
147#options 	ALTQ_WFQ	# Weighted Fair Queueing
148
149# These options enable verbose messages for several subsystems.
150# Warning, these may compile large string tables into the kernel!
151options 	SCSIVERBOSE	# human readable SCSI error messages
152
153# wscons options
154#options 	WSEMUL_SUN		# sun terminal emulation
155options 	WSEMUL_VT100		# VT100 / VT220 emulation
156options 	WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
157
158# rcons options; note that 1-bit and 8-bit displays are supported by default.
159options 	RCONS_2BPP		# Support for 2-bit display
160options 	RCONS_4BPP		# Support for 4-bit display
161options 	RCONS_16BPP		# Support for 16-bit display
162
163# Mac-specific options
164#options 	ALTXBUTTONS	# Map Opt-{1,2,3} to mouse buttons
165#options 	DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
166options 	GRF_COMPAT	# Include grf compatibility code
167#options 	MRG_ADB		# Use ROM-based ADB driver
168options 	ZS_CONSOLE_ABORT
169
170options 	NFS_BOOT_DHCP
171
172# Kernel root file system and dump configuration.
173config		netbsd	root on ? type ?
174
175#
176# Device configuration
177#
178
179mainbus0 at root
180
181fpu0 at mainbus?			# Floating-Point Coprocessor support
182
183
184# Basic Bus Support
185
186# On-board I/O bus support
187obio0 at mainbus?
188
189# NuBus support
190nubus0 at mainbus?
191
192
193# Console Devices
194
195# Apple Desktop Bus interface
196adb0	at obio?
197aed*	at adb?				# ADB event device
198akbd*	at adb?				# ADB keyboard
199ams*	at adb?				# ADB mouse
200
201# Basic frame buffer support
202intvid0	at obio?			# Internal video hardware
203macvid*	at nubus?			# NuBus video card
204
205# Device-independent frame buffer interface
206macfb*	at intvid?
207macfb*	at macvid?
208
209# Workstation Console devices
210wsdisplay* at macfb? console ?
211wskbd*	at akbd? console ?
212wsmouse* at ams?
213
214
215# Serial Devices
216
217# On-board serial interface
218zsc0	at obio?
219zstty*	at zsc? channel ?
220
221
222# SCSI Controllers and Devices
223
224# SCSI controllers
225# XXX - use only one of ncrscsi or sbc
226#ncrscsi0 at obio? addr 0		# SCSI NCR 5380
227sbc0	at obio? addr 0 flags 0x1	# MI SCSI NCR 5380
228esp0	at obio? addr 0			# SCSI NCR 53C9x
229esp1	at obio? addr 1			# SCSI NCR 53C9x
230
231# SCSI bus support
232scsibus* at scsi?
233
234# SCSI devices
235sd*	at scsibus? target ? lun ?	# SCSI disk drives
236st*	at scsibus? target ? lun ?	# SCSI tape drives
237cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
238ch*	at scsibus? target ? lun ?	# SCSI autochangers
239se*	at scsibus? target ? lun ?	# SCSI ethernet
240ss*	at scsibus? target ? lun ?	# SCSI scanners
241uk*	at scsibus? target ? lun ?	# SCSI unknown
242
243# IDE controller and devices
244wdc*	at obio? flags 0x1000
245atabus* at ata?
246wd*	at atabus? drive ?
247
248
249# Miscellaneous mass storage devices
250
251# IWM floppy disk controller
252iwm0	at obio?			# Sony driver (800K GCR)
253fd*	at iwm? drive ?
254
255
256# Network Interfaces
257
258# On-board Ethernet controllers
259sn*	at obio?			# SONIC-based (DP83932, DP83916)
260mc*	at obio?			# MACE-based
261
262# NuBus Ethernet controllers
263ae*	at nubus?			# DP8390-based
264sn*	at nubus?			# SONIC-based (DP83932, DP83916)
265sm*	at nubus?			# SMC 91cxx-based
266netdock*	at nubus?		# Asante NetDock, Newer Ether MicroDock
267
268nsphy*	at mii? phy ?
269ukphy*	at mii? phy ?
270
271# Audio Devices
272
273# On-board audio hardware
274asc0	at obio?			# ASC/EASC audio
275
276# Pseudo-Devices
277
278# disk/mass storage pseudo-devices
279pseudo-device	ccd		4	# concatenated/striped disk devices
280#pseudo-device	cgd		4	# cryptographic disk devices
281#pseudo-device	raid		8	# RAIDframe disk driver
282#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
283# Options to enable various other RAIDframe RAID types.
284# options	RF_INCLUDE_EVENODD=1
285# options	RF_INCLUDE_RAID5_RS=1
286# options	RF_INCLUDE_PARITYLOGGING=1
287# options	RF_INCLUDE_CHAINDECLUSTER=1
288# options	RF_INCLUDE_INTERDECLUSTER=1
289# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
290# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
291pseudo-device	fss		4	# file system snapshot device
292pseudo-device	md		1	# memory disk device (ramdisk)
293pseudo-device	vcoda		1	# Venus/Coda distributed file system
294pseudo-device	vnd			# disk-like interface to files
295#options 	VND_COMPRESSION		# compressed vnd(4)
296
297# network pseudo-devices
298pseudo-device	bpfilter		# Berkeley packet filter
299pseudo-device	ipfilter		# IP filter (firewall) and NAT
300pseudo-device	loop			# network loopback
301pseudo-device	ppp			# Point-to-Point Protocol
302pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
303pseudo-device	sl			# Serial Line IP
304#pseudo-device	strip			# Starmode Radio IP (Metricom)
305pseudo-device	tun			# network tunneling over tty
306pseudo-device	tap			# virtual Ethernet
307#pseudo-device	gre			# generic L3 over IP tunnel
308pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
309#pseudo-device	faith			# IPv[46] tcp relay translation i/f
310#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
311pseudo-device	vlan			# IEEE 802.1q encapsulation
312pseudo-device	bridge			# simple inter-network bridging
313
314# miscellaneous pseudo-devices
315pseudo-device	grf		2	# grf emulation for wscons
316pseudo-device	ite		1	# ite emulation for wscons
317pseudo-device	pty			# pseudo-terminals
318pseudo-device	clockctl		# user control of clock subsystem
319
320# random number generator pseudo-device
321pseudo-device	rnd			# /dev/random and in-kernel generator
322#options 	RND_COM			# use "com" randomness as well (BROKEN)
323