GENERIC revision 1.100
1# $NetBSD: GENERIC,v 1.100 2019/04/26 22:46:03 sevan 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/mvme68k/conf/std.mvme68k"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.100 $"
26
27makeoptions	COPTS="-O2 -fno-reorder-blocks"	# see share/mk/sys.mk
28
29# Boards this kernel supports
30options 	MVME147
31options 	MVME162
32options 	MVME167
33options 	MVME172
34options 	MVME177
35
36maxusers	4
37
38# Needed on m68040 boards to emulate some missing FP instructions
39options 	FPSP
40
41# Needed on m68060 boards
42options 	M060SP
43
44#options 	DDB
45#options 	DIAGNOSTIC
46#options 	DEBUG
47
48#options 	SYSVSHM
49options 	KTRACE
50
51options 	USERCONF	# userconf(4) support
52#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
53options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
54
55# Alternate buffer queue strategies for better responsiveness under high
56# disk I/O load.
57#options 	BUFQ_READPRIO
58#options 	BUFQ_PRIOCSCAN
59
60file-system 	FFS
61file-system 	NFS
62file-system 	KERNFS
63file-system 	MFS
64file-system 	CD9660
65#file-system	MSDOSFS
66#file-system	UNION
67file-system	PTYFS		# /dev/pts/N support
68file-system	TMPFS		# Efficient memory file-system
69#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
70
71options 	NFSSERVER
72#options 	FFS_EI		# FFS Endian Independent support
73options 	WAPBL		# File system journaling support
74options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
75#options 	UFS_EXTATTR	# Extended attribute support for UFS1
76#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
77
78# Networking options
79options 	INET
80options 	INET6		# IPV6
81#options 	IPSEC		# IP security
82#options 	IPSEC_DEBUG	# debug for IP security
83#options 	GATEWAY		# IP packet forwarding
84#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
85
86#options 	ALTQ		# Manipulate network interfaces' output queues
87#options 	ALTQ_BLUE	# Stochastic Fair Blue
88#options 	ALTQ_CBQ	# Class-Based Queueing
89#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
90#options 	ALTQ_FIFOQ	# First-In First-Out Queue
91#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
92#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
93#options 	ALTQ_LOCALQ	# Local queueing discipline
94#options 	ALTQ_PRIQ	# Priority Queueing
95#options 	ALTQ_RED	# Random Early Detection
96#options 	ALTQ_RIO	# RED with IN/OUT
97#options 	ALTQ_WFQ	# Weighted Fair Queueing
98
99options 	COMPAT_AOUT_M68K	# compatibility with NetBSD/m68k a.out
100include 	"conf/compat_netbsd09.config"
101#options 	COMPAT_SUNOS
102#options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
103#options 	COMPAT_LINUX	# compatibility with Linux/m68k binaries
104
105## force NFS root and swap
106#config	netbsd		root on ? type nfs
107## "generic" boot (put root on boot device)
108config netbsd		root on ? type ?
109
110# Which protocol to use when booting over NFS
111options 	NFS_BOOT_DHCP		# Diskless client w/ dhcp
112options 	NFS_BOOT_BOOTP		# Diskless client w/ bootp
113options 	NFS_BOOT_BOOTPARAM	# Diskless client w/ bootparamd
114
115#
116# accept filters
117pseudo-device   accf_data		# "dataready" accept filter
118pseudo-device   accf_http		# "httpready" accept filter
119
120pseudo-device	sl
121pseudo-device	ppp 
122pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
123pseudo-device	loop
124pseudo-device	bpfilter
125#pseudo-device	carp			# Common Address Redundancy Protocol
126pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
127#pseudo-device	faith			# IPv[46] tcp relay translation i/f
128pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
129pseudo-device	vlan			# IEEE 802.1q encapsulation
130pseudo-device	bridge			# simple inter-network bridging
131#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
132pseudo-device	agr			# IEEE 802.3ad link aggregation
133pseudo-device	pty			# pseudo-terminals
134#pseudo-device	cgd			# cryptographic disk devices
135pseudo-device	vnd 
136#options 	VND_COMPRESSION		# compressed vnd(4)
137pseudo-device	fss			# file system snapshot device
138pseudo-device	clockctl		# user control of clock subsystem
139pseudo-device	ksyms			# /dev/ksyms
140#pseudo-device	npf			# NPF packet filter
141
142# random number generator pseudo-device
143#options 	RND_COM			# use "com" randomness as well (BROKEN)
144
145# Veriexec
146# include "dev/veriexec.config"
147
148mainbus0	at root
149
150# MVME147 specific devices
151pcc0		at mainbus0
152vmepcc0 	at pcc?
153clock0		at pcc? ipl 5
154zsc*		at pcc? ipl 4
155le0		at pcc? ipl 3
156wdsc0		at pcc? ipl 2
157lpt0		at pcc? ipl 1
158
159# MVME16x and MVME17x shared devices
160pcctwo0		at mainbus0
161vmetwo0 	at mainbus0
162memc*		at mainbus0
163clock0		at pcctwo? ipl 5
164ie0		at pcctwo? ipl 3
165osiop0		at pcctwo? ipl 2
166
167# MVME162/MVME172 specific devices
168zsc*		at pcctwo? ipl 4
169
170# MVME167/MVME177 specific devices
171clmpcc0		at pcctwo? ipl 4
172lpt0		at pcctwo? ipl 1
173
174# Common front-end for MVME147 and MVME162 `zs' device
175zstty*		at zsc? channel ?
176
177# MI VMEbus Interface
178vme0		at vmepcc0
179vme0		at vmetwo0
180
181# Example VMEbus device
182#foo0		at vme0 addr 0x00ef0000 irq 3 vect 0x80
183
184scsibus*	at wdsc?
185scsibus*	at osiop?
186
187sd*		at scsibus? target ? lun ?
188st*		at scsibus? target ? lun ?
189cd*		at scsibus? target ? lun ?
190#ch*		at scsibus? target ? lun ?
191#ss*		at scsibus? target ? lun ?	# SCSI scanners
192#uk*		at scsibus? target ? lun ?	# SCSI unknown
193