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