GENERIC revision 1.217
1# $NetBSD: GENERIC,v 1.217 2023/02/06 13:13:05 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/vax/conf/std.vax"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.217 $"
26
27# Here are all different supported CPU types listed.
28#options 	VAX8800		# VAX 8500, 8530, 8550, 8700, 8800
29options 	VAX8600
30options 	VAX8200
31#options 	VAX6400
32options 	VAX780
33options 	VAX750
34options 	VAX630		# MV II
35options 	VAX650		# MV III, 3300, 3400, 3500, 3600, 3800, 3900
36options 	VAX660		# VAX 4000/200
37options 	VAX670		# VAX 4000/300
38options 	VAX680		# VAX 4000/[45]00
39options 	VAX410		# VS 2000
40options 	VAX43		# VS 3100/76
41options 	VAX46		# VS 4000/60
42options 	VAX48		# VS 4000 VLC
43options 	VAX49		# VS 4000/90
44options 	VAX53		# VAX 4000/10[058], MicroVAX 3100/m96
45
46# Max users on system; this is just a hint
47maxusers	8
48
49# Kernel compiled-in symbolic debugger & system call tracer
50makeoptions	DEBUG="-g"
51options 	DDB
52options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
53options 	KTRACE
54#options 	DIAGNOSTIC
55#options 	DEBUG
56#options 	PMAPDEBUG
57#options 	TRAPDEBUG
58#options 	LOCKDEBUG
59
60options 	SCSIVERBOSE		# Verbose SCSI errors
61
62# Networking options
63#options 	GATEWAY		# packet forwarding
64options 	NTP		# NTP kernel support
65options 	INET		# IP + ICMP + TCP + UDP
66options 	INET6		# IPV6
67#options 	IPSEC		# IP security
68#options 	IPSEC_DEBUG	# debug for IP security
69#options 	MROUTING	# IP multicast routing
70#options 	NETATALK	# AppleTalk networking protocols
71options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
72options 	PPP_DEFLATE	# Deflate compression support for PPP
73options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
74options 	CPU_IN_CKSUM	# optimized checksum routine
75
76#options 	ALTQ		# Manipulate network interfaces' output queues
77#options 	ALTQ_BLUE	# Stochastic Fair Blue
78#options 	ALTQ_CBQ	# Class-Based Queueing
79#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
80#options 	ALTQ_FIFOQ	# First-In First-Out Queue
81#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
82#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
83#options 	ALTQ_LOCALQ	# Local queueing discipline
84#options 	ALTQ_PRIQ	# Priority Queueing
85#options 	ALTQ_RED	# Random Early Detection
86#options 	ALTQ_RIO	# RED with IN/OUT
87#options 	ALTQ_WFQ	# Weighted Fair Queueing
88
89# All supported filesystem types
90file-system 	FFS
91file-system 	LFS
92file-system 	MFS
93file-system 	NFS
94file-system 	FDESC
95file-system 	KERNFS
96file-system 	NULLFS
97file-system 	OVERLAY		# overlay file system
98file-system 	PROCFS
99file-system 	UMAPFS
100file-system 	UNION
101file-system 	CD9660
102file-system	PTYFS		# /dev/pts/N support
103file-system	TMPFS		# Efficient memory file-system
104#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
105
106# File system options
107#options 	FFS_EI		# FFS Endian Independent support
108#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
109options 	QUOTA		# legacy UFS quotas
110options 	QUOTA2		# new, in-filesystem UFS quotas
111#options 	UFS_DIRHASH	# UFS Large Directory Hashing
112options 	UFS_EXTATTR	# Extended attribute support for UFS1
113options 	WAPBL		# File system journaling support
114#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
115options 	NFSSERVER	# Network File System server
116options 	NFS_BOOT_BOOTP,NFS_BOOT_DHCP	# Use bootp <> dhcp
117options 	NFS_BOOT_BOOTPARAM	# Use the Sun way for netbooting.
118
119# WS console uses VT100 terminal emulation
120options 	WSEMUL_VT100
121options 	WSDISPLAY_DEFAULTSCREENS=8
122options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
123options 	FONT_QVSS8x15
124
125# System V shared memory & semaphores support.
126options 	SYSVMSG
127options 	SYSVSEM
128options 	SYSVSHM
129
130# Old compat stuff; needed to run 4.3BSD Reno programs.
131# Note that if COMPAT_ULTRIX is set, you lose compatibility with
132# 4.3BSD Reno programs and get Ultrix compatibility instead.
133# (They cannot coexist).
134include 	"conf/compat_netbsd09.config"
135options 	COMPAT_VAX1K	# Must be present to run pre-1.4 binaries.
136options 	COMPAT_ULTRIX
137#options 	NO_INSN_EMULATE	# CPU does not lack some hardware instructions.
138
139
140options 	USERCONF	# userconf(4) support
141#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
142options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
143
144# Alternate buffer queue strategies for better responsiveness under high
145# disk I/O load.
146#options 	BUFQ_READPRIO
147options 	BUFQ_PRIOCSCAN
148
149# Kernel(s) to compile
150config		netbsd root on ? type ?
151
152mainbus0	at root
153
154cpu*		at mainbus0
155
156# All buses; from the beginning attached to mainbus.
157abus0		at mainbus0		# Master bus on VAX 86x0
158sbi0		at mainbus0		# SBI, master bus on 11/78x.
159cmi0		at mainbus0		# 11/750 internal bus.
160bi0		at mainbus0		# VAX 8200
161vsbus0		at mainbus0		# All VAXstations
162#nmi0		at mainbus0		# VAX 8800
163#xmi0		at mainbus0		# VAX 6000
164uba0		at mainbus0		# All MicroVAX
165ze0		at mainbus0		# KA48, KA49, KA53
166le0		at mainbus0		# LANCE ethernet (MV3400)
167#shac0		at mainbus0 		# DSSI controller
168
169# NMI (internal bus) on VAX 88xx-series.
170#cpu*		at nmi0 slot?		# 1-4 KA88 CPUs
171#mem*		at nmi0 slot?
172#bi*		at nmi0 slot?		# BI bus adapters
173
174# XMI on VAX 6000 (and higher)
175#cpu*		at xmi? node?		# 1-? VAX 6000 CPUs
176#mem*		at xmi? node?
177#bi*		at xmi? node?		# XMI-BI adapter
178
179# Vsbus, the virtual VAXstation bus, and possible devices.
180le0		at vsbus0 csr 0x200e0000 # LANCE ethernet
181dz0		at vsbus0 csr 0x200a0000 # DC-367 DZ-11 lookalike ctlr
182dz0		at vsbus0 csr 0x25000000 # VS4000/90 and 4000/10x serial line
183si0		at vsbus0 csr 0x200c0080 # VS2000/3100 SCSI-ctlr
184si1		at vsbus0 csr 0x200c0180 # VS2000/3100 SCSI-ctlr
185asc0		at vsbus0 csr 0x200c0080 # VS4000/60 (or VLC) SCSI-ctlr
186asc0		at vsbus0 csr 0x26000080 # VS4000/90 and 4000/10x SCSI-ctlr
187smg0		at vsbus0 csr 0x200f0000 # Small monochrome display ctlr.
188gpx0		at vsbus0 csr 0x3c000000 # VS3100 GPX display option
189#clr0		at vsbus0 csr 0x30000000 # 4- or 8-bitplans color graphics
190spx0		at vsbus0 csr 0x38000000 # Low Cost SPX on VS4000/90.
191lcg0		at vsbus0 csr 0x21801000 # VS4000/60 (or VLC) graphics
192vsaudio0	at vsbus0 csr 0x200d0000 # VS4000/60 (or VLC) audio
193vsaudio0	at vsbus0 csr 0x26800000 # VS4000/90 audio
194audio*		at audiobus?
195
196spkr*		at audio?		# PC speaker (synthesized)
197
198tc0		at vsbus0 csr 0x36800000 # VS4000/60 or 90 TC adapter
199tcds*		at tc0 slot ? offset ?	 # TC dual SCSI controller
200asc*		at tcds? chip ?		 # PMAZB/C
201asc*		at tc? slot ? offset ?	 # PMAZ 
202le*		at tc? slot ? offset ?	 # PMAD
203
204hdc0		at vsbus0 csr 0x200c0000 # HDC9224 MFM/floppy ctlr
205rd*		at hdc0 drive?		# RD5x disks
206#ry*		at hdc0 drive?		# RX floppies
207
208
209# Devices connected at VAXBI
210cpu*		at bi? node?		# KA820/KA825 CPU
211mem*		at bi? node?		# Memory subsystems
212#uba*		at bi? node?		# DWBUA BI-Unibus adapter
213ni*		at bi? node?		# DEBNA/DEBNT ethernet adapter
214kdb*		at bi? node?		# KDB50 MSCP disk ctlr
215
216# CMI (VAX 11/750)
217mem*		at cmi? tr?		# Memory subsystems
218uba*		at cmi? tr?		# Unibus adapters
219mba*		at cmi? tr?		# Massbus adapters
220
221# ABUS (VAX 86x0)
222sbi*		at abus0		# VAX 86x0 can have up to 2 SBI's.
223
224# SBI (VAX 11/780, VAX 8600)
225mem*		at sbi? tr?		# Memory subsystems
226uba*		at sbi? tr?		# Unibus adapters
227mba*		at sbi? tr?		# Massbus adapters
228
229# Devices on Massbus adapters
230hp*		at mba? drive?		# RM/RP disk drives
231
232# Devices on Unibus/Qbus adapters
233uda*		at uba?	csr 0172150	# UDA50/RQDX?
234uda*		at uba?	csr 0160334
235#il*		at uba?	csr 0164000	# NI1010
236mtc*		at uba? csr 0174500	# Tape MSCP ctlr
237ts0		at uba? csr 0172520	# TS11/TSV05 tape.
238#qd0		at uba? csr 0177400	# 4- or 8-bitplans color graphics
239#qv0		at uba? csr 0177400	# Monochrome graphics
240de*		at uba? csr 0174510	# DELUA/DEUNA
241qe*		at uba? csr 0174440	# DEQNA/DELQA
242qe*		at uba? csr 0174460	# DEQNA/DELQA
243qt*		at uba? csr 0174440	# DELQA-PLUS in Turbo mode
244dhu*		at uba? csr 0160440	# DHU-11
245#dmf*		at uba? csr 0160340	# DMF-32
246dz*		at uba? csr 0160100	# DZ-11
247dl*		at uba? csr 0176500	# DL-11
248rlc*		at uba? csr 0174400	# RL11/RLV11 controller
249rl*		at rlc? drive?		# RL01/RL02 disk drive
250rfc0		at uba? csr 0177170	# RX01/02 controller
251rf*		at rfc? drive?		# RX01/RX02 floppy disk drive
252
253# MSCP devices
254mscpbus*	at uda?
255mscpbus*	at mtc?
256mscpbus*	at kdb?
257
258ra*		at mscpbus? drive?	# MSCP disk 
259racd*		at mscpbus? drive?	# MSCP CD-ROM (RRD40)
260rx*		at mscpbus? drive?	# MSCP floppy
261mt*		at mscpbus? drive?	# MSCP tape
262
263# SCSI devices
264scsibus*	at scsi?
265
266sd*		at scsibus? target? lun?
267st*		at scsibus? target? lun?
268cd*		at scsibus? target? lun?
269ch*		at scsibus? target? lun?
270ss*		at scsibus? target? lun?
271uk*		at scsibus? target? lun?
272
273# VAXstation graphics support
274wsdisplay*	at smg0
275wsdisplay*	at gpx0
276wsdisplay*	at spx0
277wsdisplay*	at lcg0
278#wsdisplay*	at clr0
279#wsdisplay*	at qd0
280#wsdisplay*	at qv0
281lkkbd0		at dz0 line 0
282wskbd*		at lkkbd? console ?
283lkms0		at dz0 line 1
284wsmouse*	at lkms?
285
286#
287# accept filters
288pseudo-device   accf_data		# "dataready" accept filter
289pseudo-device   accf_http		# "httpready" accept filter
290
291pseudo-device	loop	
292pseudo-device	pty			# pseudo-terminals
293pseudo-device	bpfilter
294pseudo-device	carp			# Common Address Redundancy Protocol
295pseudo-device	npf			# NPF packet filter
296#pseudo-device	sl
297pseudo-device	ppp
298#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
299pseudo-device	tun
300pseudo-device	tap			# virtual Ethernet
301#pseudo-device	gre			# generic L3 over IP tunnel
302pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
303#pseudo-device	faith			# IPv[46] tcp relay translation i/f
304pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
305pseudo-device	vlan			# IEEE 802.1q encapsulation
306pseudo-device	bridge			# simple inter-network bridging
307pseudo-device	vether			# Virtual Ethernet for bridge
308pseudo-device	agr			# IEEE 802.3ad link aggregation
309pseudo-device	vnd
310#options 	VND_COMPRESSION		# compressed vnd(4)
311pseudo-device	ccd	
312#pseudo-device	cgd			# cryptographic disk devices
313pseudo-device	raid			# RAIDframe disk driver
314options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
315# Options to enable various other RAIDframe RAID types.
316# options	RF_INCLUDE_EVENODD=1
317# options	RF_INCLUDE_RAID5_RS=1
318# options	RF_INCLUDE_PARITYLOGGING=1
319# options	RF_INCLUDE_CHAINDECLUSTER=1
320# options	RF_INCLUDE_INTERDECLUSTER=1
321# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
322# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
323pseudo-device	fss			# file system snapshot device
324#pseudo-device	leds			# control the leds on vaxstations.
325pseudo-device	clockctl		# user control of clock subsystem
326pseudo-device	drvctl			# user control of drive subsystem
327pseudo-device	ksyms			# /dev/ksyms
328pseudo-device	wsmux			# mouse & keyboard multiplexor
329pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
330
331include "dev/veriexec.config"
332