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