GENERIC revision 1.66
1# $NetBSD: GENERIC,v 1.66 2002/10/06 02:11:59 provos Exp $
2#
3# GENERIC machine description file
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/next68k/conf/std.next68k"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.66 $"
26
27# Needs to be set per system.  i.e change these as you see fit
28maxusers	16
29
30# Standard system options
31options 	KTRACE		# system call tracing
32options 	SYSTRACE	# system call vetting via systrace(1)
33options 	SYSVMSG		# System V message queues
34options 	SYSVSEM		# System V semaphores
35#options 	SEMMNI=10	# number of semaphore identifiers
36#options 	SEMMNS=60	# number of semaphores in system
37#options 	SEMUME=10	# max number of undo entries per process
38#options 	SEMMNU=30	# number of undo structures in system
39options 	SYSVSHM		# System V shared memory
40#options 	SHMMAXPGS=1024	# 1024 pages is the default
41
42options 	LKM		# loadable kernel modules
43options 	INSECURE	# disable kernel security level
44options 	UCONSOLE	# Allow non-root TIOCCONS
45options 	USERCONF	# userconf(4) support
46#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
47
48options 	DEBUG		# kernel debugging code
49options 	DIAGNOSTIC	# extra kernel sanity checking
50
51# Which kernel debugger?  Uncomment either this:
52options 	DDB
53options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
54
55# ... or these for KGDB (gdb remote target)
56#makeoptions	DEBUG="-g"		# debugging symbols for gdb
57#options 	KGDB			# support for kernel gdb
58#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
59#options 	KGDB_DEVRATE=9600	# baud rate
60
61# Other debugging options
62options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
63#options 	PMAP_DEBUG
64options 	SCSIDEBUG
65options 	SCSIVERBOSE		# Verbose SCSI errors
66options 	SWAPDEBUG
67
68# Compatibility options
69options 	COMPAT_43	# and 4.3BSD and ...
70options 	COMPAT_44	# and 4.4BSD and ...
71options 	COMPAT_09	# NetBSD 0.9
72options 	COMPAT_10	# NetBSD 1.0
73options 	COMPAT_11	# NetBSD 1.1
74options 	COMPAT_12	# NetBSD 1.2
75options 	COMPAT_13	# NetBSD 1.3
76options 	COMPAT_14	# NetBSD 1.4
77
78#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
79
80options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
81options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
82options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
83#options 	COMPAT_SVR4	# can run SVR4 executables
84#options 	COMPAT_LINUX	# can run Linux/m68k executables
85options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
86options 	EXEC_AOUT	# support for a.out executables
87
88# File systems
89file-system 	FFS		# UFS
90#file-system 	EXT2FS		# second extended file system (linux)
91#file-system 	LFS		# log-structured file system
92file-system 	MFS		# memory file system
93file-system 	NFS		# Network File System client
94#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
95#file-system 	MSDOSFS		# MS-DOS file system
96file-system 	FDESC		# /dev/fd
97file-system 	KERNFS		# /kern
98file-system 	NULLFS		# loopback file system
99file-system 	OVERLAY		# overlay file system
100file-system 	PORTAL		# portal filesystem (still experimental)
101file-system 	PROCFS		# /proc
102file-system 	UMAPFS		# NULLFS + uid and gid remapping
103file-system 	UNION		# union file system
104
105options 	NFSSERVER	# nfs server support
106#options 	QUOTA		# FFS quotas
107#options 	SOFTDEP		# FFS soft updates support.
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_DEBUG	# debug for IP security
118#options 	MROUTING	# IP multicast routing
119#options 	NS		# XNS
120#options 	NSIP		# XNS tunneling over IP
121#options 	ISO,TPIP	# OSI
122#options 	EON		# OSI tunneling over IP
123#options 	CCITT,LLC,HDLC	# X.25
124#options 	NETATALK	# AppleTalk networking protocols
125options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
126options 	PPP_DEFLATE	# Deflate compression support for PPP
127options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
128options 	PFIL_HOOKS	# pfil(9) packet filter hooks
129#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
130
131# NeXT specific options
132options 	M68040
133options 	M68030
134options 	FPSP
135#options 	FPU_EMULATE
136
137options 	ZS_CONSOLE_ABORT	# drop to debugger on break
138#options 	SERCONSOLE		# use serial console
139
140options 	NFS_BOOT_BOOTP
141options 	NFS_BOOT_DHCP
142
143# wscons options
144options 	RCONS_2BPP		# necessary for nextdisplay
145options 	RCONS_16BPP		# necessary for color nextdisplay
146#options 	WSEMUL_SUN		# sun terminal emulation
147options 	WSEMUL_VT100		# VT100 / VT220 emulation
148options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
149options 	WSDISPLAY_COMPAT_USL		# VT handling
150options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
151# see dev/wskbdmap_next.h for implemented layouts
152#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
153
154config		netbsd root on ? type ?
155
156#
157# Device configuration
158#
159
160# The root node:
161mainbus0 at root
162
163#fpu0 at mainbus?
164
165# device space
166intio0	at mainbus?
167
168nextkbd0	at intio? ipl 3
169nextdisplay0	at mainbus?
170
171wsdisplay*	at nextdisplay? console ?
172wskbd*		at nextkbd? console ?
173
174# INTIO
175nextdma*	at intio? ipl 6
176
177zsc0	at intio? ipl 5
178#zsc1	at intio? ipl 5
179
180xe*	at intio? ipl 3			# ethernet
181
182esp0	at intio? ipl 3	flags 0xffff00	# Turn off sync negotiation
183
184#
185# Serial ports
186#
187zstty0	at zsc0 channel 0	# ttya
188zstty1	at zsc0 channel 1	# ttyb
189
190# SCSI bus support
191scsibus* at scsi?
192
193# SCSI devices
194sd*	at scsibus? target ? lun ?	# SCSI disk drives
195st*	at scsibus? target ? lun ?	# SCSI tape drives
196cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
197ch*	at scsibus? target ? lun ?	# SCSI autochangers
198se*	at scsibus? target ? lun ?	# SCSI ethernet
199ss*	at scsibus? target ? lun ?	# SCSI scanners
200uk*	at scsibus? target ? lun ?	# SCSI unknown
201
202
203# Memory-disk drivers
204pseudo-device	md		2
205
206# Misc.
207pseudo-device	loop		1	# network loopback
208pseudo-device	bpfilter	8	# packet filter
209pseudo-device	sl		2	# CSLIP
210pseudo-device	ppp		2	# PPP
211pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
212pseudo-device	tun		2	# network tunneling over tty
213#pseudo-device	gre		2	# generic L3 over IP tunnel
214pseudo-device	ipfilter		# ip filter
215pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
216#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
217#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
218pseudo-device	vlan			# IEEE 802.1q encapsulation
219pseudo-device	bridge			# simple inter-network bridging
220pseudo-device	rnd			# /dev/random and in-kernel generator
221#pseudo-device	wsmux			# mouse & keyboard multiplexor
222
223pseudo-device	pty			# pseudo-terminals
224pseudo-device	vnd		4	# paging to files
225#pseudo-device	raid		8	# RAIDframe disk driver
226#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
227# Options to enable various other RAIDframe RAID types.
228# options	RF_INCLUDE_EVENODD=1
229# options	RF_INCLUDE_RAID5_RS=1
230# options	RF_INCLUDE_PARITYLOGGING=1
231# options	RF_INCLUDE_CHAINDECLUSTER=1
232# options	RF_INCLUDE_INTERDECLUSTER=1
233# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
234# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
235pseudo-device	ccd		4	# concatenated disks
236pseudo-device	clockctl		# user control of clock subsystem
237