GENERIC revision 1.114
1# $NetBSD: GENERIC,v 1.114 2014/08/16 17:56:32 apb 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/luna68k/conf/std.luna68k"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.114 $"
26
27makeoptions	COPTS="-O2 -fno-reorder-blocks"	# see share/mk/sys.mk
28
29maxusers	8
30
31options 	M68030
32options 	M68040
33options 	FPSP	# on m68040 to emulate some missing FP instructions
34
35# Needs to be set per system.  i.e change these as you see fit
36
37# Standard system options
38options 	NTP			# NTP phase/frequency locked loop
39options 	KTRACE
40options 	SYSVMSG			# System V message queues
41options 	SYSVSEM			# System V semaphores
42options 	SYSVSHM			# System V shared memory
43
44options 	MODULAR			# new style module(7) framework
45
46options 	USERCONF		# userconf(4) support
47#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
48options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
49
50# Enable experimental buffer queue strategy for better responsiveness under 
51# high disk I/O load. Use it with caution - it's not proven to be stable yet.
52#options 	BUFQ_READPRIO
53#options 	BUFQ_PRIOCSCAN
54
55# Debugging options
56options 	DDB
57#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
58#options 	SYMTAB_SPACE=448000	# place DDB symbols in data segment
59#options 	DEBUG			# extra kernel debugging support
60#options 	DIAGNOSTIC		# extra kernel sanity checking
61#options 	SCSIVERBOSE		# Verbose SCSI errors
62#options 	SCSIDEBUG
63#makeoptions	DEBUG="-g"		# compile full symbol table
64
65# Compatibility options
66options 	COMPAT_43	# and 4.3BSD and ...
67options 	COMPAT_12	# NetBSD 1.2 binary compatibility
68options 	COMPAT_13	# NetBSD 1.3 binary compatibility
69options 	COMPAT_14	# NetBSD 1.4 binary compatibility
70options 	COMPAT_15	# NetBSD 1.5 binary compatibility
71options 	COMPAT_16	# NetBSD 1.6 binary compatibility
72options 	COMPAT_20	# NetBSD 2.0 binary compatibility
73options 	COMPAT_30	# NetBSD 3.0 compatibility.
74options 	COMPAT_40	# NetBSD 4.0 compatibility.
75options 	COMPAT_50	# NetBSD 5.0 compatibility.
76options 	COMPAT_60	# NetBSD 6.0 compatibility.
77options 	COMPAT_70	# NetBSD 7.0 compatibility.
78#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
79options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
80options 	EXEC_AOUT	# support for a.out executables
81options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
82
83# Filesystem options
84file-system 	FFS		# ufs file system
85#file-system	LFS		# log-structured file system
86file-system 	NFS		# nfs client support
87file-system	MFS
88file-system 	CD9660		# ISO 9660 + Rock Ridge file system
89#file-system	MSDOSFS		# MS-DOS FAT file system
90file-system 	KERNFS		# /kern
91file-system 	PROCFS		# /proc
92#file-system 	FDESC		# /dev/fd/*
93file-system 	NULLFS		# loopback file system
94#file-system	UMAPFS		# NULLFS + uid and gid remapping
95#file-system 	UNION		# union file system
96#file-system	CODA		# Coda File System; also needs vcode (below)
97file-system	PTYFS		# /dev/pts/N support
98file-system	TMPFS		# Efficient memory file-system
99#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
100
101#options 	NFSSERVER	# nfs server support
102#options 	QUOTA		# legacy UFS quotas
103#options 	QUOTA2		# new, in-filesystem UFS quotas
104#options 	FFS_EI		# ffs endian independent support
105options 	WAPBL		# File system journaling support
106#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
107#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
108
109# Networking options
110options 	INET		# IP protocol stack support
111options 	INET6		# IPV6
112#options 	IPSEC		# IP security
113#options 	IPSEC_DEBUG	# debug for IP security
114#options 	GATEWAY		# IP packet forwarding
115#options 	MROUTING	# IP multicast routing
116#options 	PIM		# Protocol Independent Multicast
117#options 	NETATALK	# AppleTalk networking protocols
118#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
119#options 	PPP_DEFLATE	# Deflate compression support for PPP
120#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
121#options 	IPFILTER_LOG	# ipmon(8) log support
122#options 	IPFILTER_LOOKUP	# ippool(8) support
123#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
124options 	NFS_BOOT_DHCP	# superset of BOOTP
125#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
126
127#options 	ALTQ		# Manipulate network interfaces' output queues
128#options 	ALTQ_BLUE	# Stochastic Fair Blue
129#options 	ALTQ_CBQ	# Class-Based Queueing
130#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
131#options 	ALTQ_FIFOQ	# First-In First-Out Queue
132#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
133#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
134#options 	ALTQ_LOCALQ	# Local queueing discipline
135#options 	ALTQ_PRIQ	# Priority Queueing
136#options 	ALTQ_RED	# Random Early Detection
137#options 	ALTQ_RIO	# RED with IN/OUT
138#options 	ALTQ_WFQ	# Weighted Fair Queueing
139
140# WS console uses SUN or VT100 terminal emulation
141options 	WSEMUL_VT100
142options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
143options 	WSDISPLAY_COMPAT_RAWKBD
144options 	FONT_OMRON12x20
145
146config		netbsd root on ? type ?
147
148mainbus0 at root
149
150clock0	at mainbus0
151
152# uPD7201 SIO
153sio0	at mainbus0
154siotty0	at sio0			# ttya
155ws0	at sio0			# port for keyboard and mouse
156# AM7990 LANCE
157le0	at mainbus0
158# MB89532 SPC
159spc0	at mainbus0
160spc1	at mainbus0		# 2nd SCSI on LUNA-II
161# framebuffer
162fb0	at mainbus0		# 16 or 256 pseudo color
163
164# Workstation Console attachments
165wsdisplay*	at fb?
166wskbd*		at ws? console ? mux 1
167wsmouse*	at ws? mux 0
168
169# SCSI bus support
170scsibus* at spc?
171
172# SCSI devices
173sd* at scsibus? target ? lun ?		# SCSI disks
174st* at scsibus? target ? lun ?		# SCSI tapes
175cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
176#ch* at scsibus? target ? lun ?		# SCSI changer devices
177#ss* at scsibus? target ? lun ?		# SCSI scanners
178#uk* at scsibus? target ? lun ?		# unknown SCSI devices
179
180#
181# accept filters
182#pseudo-device   accf_data		# "dataready" accept filter
183#pseudo-device   accf_http		# "httpready" accept filter
184
185pseudo-device	bpfilter		# Berkeley Packet Filter
186#pseudo-device	carp			# Common Address Redundancy Protocol
187#pseudo-device	ccd			# concatenated and striped disks
188#pseudo-device	cgd			# cryptographic disks
189#pseudo-device	gre			# generic L3 over IP tunnel
190#pseudo-device	ipfilter		# ip filter
191pseudo-device	loop			# loopback interface; required
192pseudo-device	md			# memory disk device
193#pseudo-device	ppp			# PPP interfaces
194#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
195pseudo-device	pty			# pseudo-terminals
196#pseudo-device	raid			# RAIDframe disk driver
197pseudo-device	fss			# file system snapshot device
198#pseudo-device	sl			# SLIP interfaces
199#pseudo-device	tun			# Network "tunnel" device
200#pseudo-device	tap			# virtual Ethernet
201pseudo-device	vlan			# IEEE 802.1q encapsulation
202pseudo-device	bridge			# simple inter-network bridging
203#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
204pseudo-device	agr			# IEEE 802.3ad link aggregation
205#pseudo-device	vnd			# disk-like interface to files
206#options 	VND_COMPRESSION		# compressed vnd(4)
207pseudo-device	clockctl		# user control of clock subsystem
208pseudo-device	ksyms			# /dev/ksyms
209#pseudo-device	pf			# PF packet filter
210#pseudo-device	pflog			# PF log if
211
212pseudo-device	wsmux			# mouse & keyboard multiplexsor
213
214# Veriexec
215#
216# a pseudo device needed for veriexec
217#pseudo-device	veriexec
218#
219# Uncomment the fingerprint methods below that are desired. Note that
220# removing fingerprint methods will have almost no impact on the kernel
221# code size.
222#
223#options VERIFIED_EXEC_FP_RMD160
224#options VERIFIED_EXEC_FP_SHA256
225#options VERIFIED_EXEC_FP_SHA384
226#options VERIFIED_EXEC_FP_SHA512
227#options VERIFIED_EXEC_FP_SHA1
228#options VERIFIED_EXEC_FP_MD5
229