1# $NetBSD: GENERIC,v 1.106 2023/02/12 14:50:40 abs 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.106 $"
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
71# File system options
72#options 	FFS_EI		# FFS Endian Independent support
73options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
74#options 	UFS_DIRHASH	# UFS Large Directory Hashing
75#options 	UFS_EXTATTR	# Extended attribute support for UFS1
76options 	WAPBL		# File system journaling support
77options 	NFSSERVER	# Network File System server
78
79# Networking options
80options 	INET
81options 	INET6		# IPV6
82#options 	IPSEC		# IP security
83#options 	IPSEC_DEBUG	# debug for IP security
84#options 	GATEWAY		# IP packet forwarding
85#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
86
87#options 	ALTQ		# Manipulate network interfaces' output queues
88#options 	ALTQ_BLUE	# Stochastic Fair Blue
89#options 	ALTQ_CBQ	# Class-Based Queueing
90#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
91#options 	ALTQ_FIFOQ	# First-In First-Out Queue
92#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
93#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
94#options 	ALTQ_LOCALQ	# Local queueing discipline
95#options 	ALTQ_PRIQ	# Priority Queueing
96#options 	ALTQ_RED	# Random Early Detection
97#options 	ALTQ_RIO	# RED with IN/OUT
98#options 	ALTQ_WFQ	# Weighted Fair Queueing
99
100options 	COMPAT_AOUT_M68K	# compatibility with NetBSD/m68k a.out
101include 	"conf/compat_netbsd09.config"
102#options 	COMPAT_SUNOS
103#options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
104#options 	COMPAT_LINUX	# compatibility with Linux/m68k binaries
105#options 	COMPAT_OSSAUDIO	# compatibility with Linux/m68k binaries
106
107## force NFS root and swap
108#config	netbsd		root on ? type nfs
109## "generic" boot (put root on boot device)
110config netbsd		root on ? type ?
111
112# Which protocol to use when booting over NFS
113options 	NFS_BOOT_DHCP		# Diskless client w/ dhcp
114options 	NFS_BOOT_BOOTP		# Diskless client w/ bootp
115options 	NFS_BOOT_BOOTPARAM	# Diskless client w/ bootparamd
116
117#
118# accept filters
119pseudo-device   accf_data		# "dataready" accept filter
120pseudo-device   accf_http		# "httpready" accept filter
121
122pseudo-device	sl
123pseudo-device	ppp 
124pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
125pseudo-device	loop
126pseudo-device	bpfilter
127#pseudo-device	carp			# Common Address Redundancy Protocol
128pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
129#pseudo-device	faith			# IPv[46] tcp relay translation i/f
130pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
131pseudo-device	vlan			# IEEE 802.1q encapsulation
132pseudo-device	bridge			# simple inter-network bridging
133#pseudo-device	vether			# Virtual Ethernet for bridge
134pseudo-device	agr			# IEEE 802.3ad link aggregation
135pseudo-device	pty			# pseudo-terminals
136#pseudo-device	cgd			# cryptographic disk devices
137pseudo-device	vnd 
138#options 	VND_COMPRESSION		# compressed vnd(4)
139pseudo-device	fss			# file system snapshot device
140pseudo-device	clockctl		# user control of clock subsystem
141pseudo-device	ksyms			# /dev/ksyms
142#pseudo-device	npf			# NPF packet filter
143pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
144
145# random number generator pseudo-device
146#options 	RND_COM			# use "com" randomness as well (BROKEN)
147
148# Veriexec
149# include "dev/veriexec.config"
150
151mainbus0	at root
152
153# MVME147 specific devices
154pcc0		at mainbus0
155vmepcc0 	at pcc?
156clock0		at pcc? ipl 5
157zsc*		at pcc? ipl 4
158le0		at pcc? ipl 3
159wdsc0		at pcc? ipl 2
160lpt0		at pcc? ipl 1
161
162# MVME16x and MVME17x shared devices
163pcctwo0		at mainbus0
164vmetwo0 	at mainbus0
165memc*		at mainbus0
166clock0		at pcctwo? ipl 5
167ie0		at pcctwo? ipl 3
168osiop0		at pcctwo? ipl 2
169
170# MVME162/MVME172 specific devices
171zsc*		at pcctwo? ipl 4
172
173# MVME167/MVME177 specific devices
174clmpcc0		at pcctwo? ipl 4
175lpt0		at pcctwo? ipl 1
176
177# Common front-end for MVME147 and MVME162 `zs' device
178zstty*		at zsc? channel ?
179
180# MI VMEbus Interface
181vme0		at vmepcc0
182vme0		at vmetwo0
183
184# Example VMEbus device
185#foo0		at vme0 addr 0x00ef0000 irq 3 vect 0x80
186
187scsibus*	at wdsc?
188scsibus*	at osiop?
189
190sd*		at scsibus? target ? lun ?
191st*		at scsibus? target ? lun ?
192cd*		at scsibus? target ? lun ?
193#ch*		at scsibus? target ? lun ?
194#ss*		at scsibus? target ? lun ?	# SCSI scanners
195#uk*		at scsibus? target ? lun ?	# SCSI unknown
196
197# Pull in optional local configuration - always at end
198cinclude	"arch/mvme68k/conf/GENERIC.local"
199