GENERICSBC revision 1.46
1#	$NetBSD: GENERICSBC,v 1.46 2005/07/31 04:04:43 yamt 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.46 $"
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_43	# and 4.3BSD
70#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
71
72# The following is needed to run pre-NetBSD 1.6 binaries under ELF.
73options 	COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
74options 	EXEC_AOUT	# support for exec'ing a.out
75
76#options 	COMPAT_LINUX	# compatibility with Linux/m68k binaries
77#options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
78#options 	COMPAT_SUNOS	# compatibility with SunOS 4.x binaries
79#options 	COMPAT_SVR4	# compatibility with SVR4 binaries
80options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
81
82# File systems
83file-system 	FFS		# UFS
84file-system 	EXT2FS		# second extended file system (linux)
85file-system 	LFS		# log-structured file system
86file-system 	MFS		# memory file system
87file-system 	NFS		# Network File System client
88file-system 	CD9660		# ISO 9660 + Rock Ridge file system
89file-system 	MSDOSFS		# MS-DOS file system
90file-system 	FDESC		# /dev/fd
91file-system 	KERNFS		# /kern
92file-system 	NULLFS		# loopback file system
93file-system 	OVERLAY		# overlay file system
94file-system 	PORTAL		# portal filesystem (still experimental)
95file-system 	PROCFS		# /proc
96file-system 	UMAPFS		# NULLFS + uid and gid remapping
97file-system 	UNION		# union file system
98file-system 	CODA		# Venus/Coda distributed file system
99#file-system	PTYFS		# experimental - /dev/ptm support
100
101# File system options
102options 	QUOTA		# UFS quotas
103#options 	FFS_EI		# FFS Endian Independant support
104options 	SOFTDEP		# FFS soft updates support.
105#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
106options 	NFSSERVER	# Network File System server
107#options 	FFS_NO_SNAPSHOT	# ffs snapshots
108#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
109				# immutable) behave as system flags.
110
111# Networking options
112options 	GATEWAY		# packet forwarding
113options 	INET		# IP + ICMP + TCP + UDP
114options 	INET6		# IPV6
115#options 	IPSEC		# IP security
116#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
117#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
118#options 	IPSEC_DEBUG	# debug for IP security
119#options 	MROUTING	# IP multicast routing
120#options 	PIM		# Protocol Independent Multicast
121options 	NS		# XNS
122#options 	NSIP		# XNS tunneling over IP
123options 	ISO,TPIP	# OSI
124#options 	EON		# OSI tunneling over IP
125options 	CCITT,LLC,HDLC	# X.25
126options 	NETATALK	# AppleTalk networking protocols
127options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
128options 	PPP_DEFLATE	# Deflate compression support for PPP
129options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
130options 	PFIL_HOOKS	# pfil(9) packet filter hooks
131options 	IPFILTER_LOG	# ipmon(8) log support
132#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
133#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
134
135#options 	ALTQ		# Manipulate network interfaces' output queues
136#options 	ALTQ_BLUE	# Stochastic Fair Blue
137#options 	ALTQ_CBQ	# Class-Based Queueing
138#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
139#options 	ALTQ_FIFOQ	# First-In First-Out Queue
140#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
141#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
142#options 	ALTQ_LOCALQ	# Local queueing discipline
143#options 	ALTQ_PRIQ	# Priority Queueing
144#options 	ALTQ_RED	# Random Early Detection
145#options 	ALTQ_RIO	# RED with IN/OUT
146#options 	ALTQ_WFQ	# Weighted Fair Queueing
147
148# These options enable verbose messages for several subsystems.
149# Warning, these may compile large string tables into the kernel!
150options 	SCSIVERBOSE	# human readable SCSI error messages
151
152# wscons options
153#options 	WSEMUL_SUN		# sun terminal emulation
154options 	WSEMUL_VT100		# VT100 / VT220 emulation
155options 	WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
156
157# rcons options; note that 1-bit and 8-bit displays are supported by default.
158options 	RCONS_2BPP		# Support for 2-bit display
159options 	RCONS_4BPP		# Support for 4-bit display
160options 	RCONS_16BPP		# Support for 16-bit display
161
162# Mac-specific options
163#options 	ALTXBUTTONS	# Map Opt-{1,2,3} to mouse buttons
164#options 	DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
165options 	GRF_COMPAT	# Include grf compatibility code
166#options 	MRG_ADB		# Use ROM-based ADB driver
167options 	ZS_CONSOLE_ABORT
168
169options 	NFS_BOOT_DHCP
170
171# Kernel root file system and dump configuration.
172config		netbsd	root on ? type ?
173
174#
175# Device configuration
176#
177
178mainbus0 at root
179
180fpu0 at mainbus?			# Floating-Point Coprocessor support
181
182
183# Basic Bus Support
184
185# On-board I/O bus support
186obio0 at mainbus?
187
188# NuBus support
189nubus0 at mainbus?
190
191
192# Console Devices
193
194# Apple Desktop Bus interface
195adb0	at obio?
196aed*	at adb?				# ADB event device
197akbd*	at adb?				# ADB keyboard
198ams*	at adb?				# ADB mouse
199
200# Basic frame buffer support
201intvid0	at obio?			# Internal video hardware
202macvid*	at nubus?			# NuBus video card
203
204# Device-independent frame buffer interface
205macfb*	at intvid?
206macfb*	at macvid?
207
208# Workstation Console devices
209wsdisplay* at macfb? console ?
210wskbd*	at akbd? console ?
211wsmouse* at ams?
212
213
214# Serial Devices
215
216# On-board serial interface
217zsc0	at obio?
218zstty*	at zsc? channel ?
219
220
221# SCSI Controllers and Devices
222
223# SCSI controllers
224# XXX - use only one of ncrscsi or sbc
225#ncrscsi0 at obio? addr 0		# SCSI NCR 5380
226sbc0	at obio? addr 0 flags 0x1	# MI SCSI NCR 5380
227esp0	at obio? addr 0			# SCSI NCR 53C9x
228esp1	at obio? addr 1			# SCSI NCR 53C9x
229
230# SCSI bus support
231scsibus* at scsi?
232
233# SCSI devices
234sd*	at scsibus? target ? lun ?	# SCSI disk drives
235st*	at scsibus? target ? lun ?	# SCSI tape drives
236cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
237ch*	at scsibus? target ? lun ?	# SCSI autochangers
238se*	at scsibus? target ? lun ?	# SCSI ethernet
239ss*	at scsibus? target ? lun ?	# SCSI scanners
240uk*	at scsibus? target ? lun ?	# SCSI unknown
241
242# IDE controller and devices
243wdc*	at obio? flags 0x1000
244atabus* at ata?
245wd*	at atabus? drive ?
246
247
248# Miscellaneous mass storage devices
249
250# IWM floppy disk controller
251iwm0	at obio?			# Sony driver (800K GCR)
252fd*	at iwm? drive ?
253
254
255# Network Interfaces
256
257# On-board Ethernet controllers
258sn*	at obio?			# SONIC-based (DP83932, DP83916)
259mc*	at obio?			# MACE-based
260
261# NuBus Ethernet controllers
262ae*	at nubus?			# DP8390-based
263sn*	at nubus?			# SONIC-based (DP83932, DP83916)
264sm*	at nubus?			# SMC 91cxx-based
265netdock*	at nubus?		# Asante NetDock, Newer Ether MicroDock
266
267nsphy*	at mii? phy ?
268ukphy*	at mii? phy ?
269
270# Audio Devices
271
272# On-board audio hardware
273asc0	at obio?			# ASC/EASC audio
274
275# Pseudo-Devices
276
277# disk/mass storage pseudo-devices
278pseudo-device	ccd		4	# concatenated/striped disk devices
279#pseudo-device	cgd		4	# cryptographic disk devices
280#pseudo-device	raid		8	# RAIDframe disk driver
281#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
282# Options to enable various other RAIDframe RAID types.
283# options	RF_INCLUDE_EVENODD=1
284# options	RF_INCLUDE_RAID5_RS=1
285# options	RF_INCLUDE_PARITYLOGGING=1
286# options	RF_INCLUDE_CHAINDECLUSTER=1
287# options	RF_INCLUDE_INTERDECLUSTER=1
288# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
289# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
290pseudo-device	fss		4	# file system snapshot device
291pseudo-device	md		1	# memory disk device (ramdisk)
292pseudo-device	vcoda		1	# Venus/Coda distributed file system
293pseudo-device	vnd		4	# disk-like interface to files
294#options 	VND_COMPRESSION		# compressed vnd(4)
295
296# network pseudo-devices
297pseudo-device	bpfilter	12	# Berkeley packet filter
298pseudo-device	ipfilter		# IP filter (firewall) and NAT
299pseudo-device	loop			# network loopback
300pseudo-device	ppp		2	# Point-to-Point Protocol
301pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
302pseudo-device	sl		2	# Serial Line IP
303#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
304pseudo-device	tun		2	# network tunneling over tty
305pseudo-device	tap			# virtual Ethernet
306#pseudo-device	gre		2	# generic L3 over IP tunnel
307pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
308#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
309#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
310pseudo-device	vlan			# IEEE 802.1q encapsulation
311pseudo-device	bridge			# simple inter-network bridging
312
313# miscellaneous pseudo-devices
314pseudo-device	grf		2	# grf emulation for wscons
315pseudo-device	ite		1	# ite emulation for wscons
316pseudo-device	pty			# pseudo-terminals
317#pseudo-device	tb		1	# tablet line discipline
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