1# $NetBSD: GENERIC,v 1.220 2024/06/29 07:12:47 rin 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.220 $"
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, VS 3100/m30,m38,m40,m48
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	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
104file-system	TMPFS		# Efficient memory file-system
105#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
106
107# File system options
108#options 	FFS_EI		# FFS Endian Independent support
109#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
110options 	QUOTA		# legacy UFS quotas
111options 	QUOTA2		# new, in-filesystem UFS quotas
112#options 	UFS_DIRHASH	# UFS Large Directory Hashing
113options 	UFS_EXTATTR	# Extended attribute support for UFS1
114options 	WAPBL		# File system journaling support
115#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
116options 	NFSSERVER	# Network File System server
117options 	NFS_BOOT_BOOTP,NFS_BOOT_DHCP	# Use bootp <> dhcp
118options 	NFS_BOOT_BOOTPARAM	# Use the Sun way for netbooting.
119
120# WS console uses VT100 terminal emulation
121options 	WSEMUL_VT100
122options 	WSDISPLAY_DEFAULTSCREENS=8
123options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
124options 	FONT_QVSS8x15
125
126# System V shared memory & semaphores support.
127options 	SYSVMSG
128options 	SYSVSEM
129options 	SYSVSHM
130
131# Old compat stuff; needed to run 4.3BSD Reno programs.
132# Note that if COMPAT_ULTRIX is set, you lose compatibility with
133# 4.3BSD Reno programs and get Ultrix compatibility instead.
134# (They cannot coexist).
135include 	"conf/compat_netbsd09.config"
136options 	COMPAT_VAX1K	# Must be present to run pre-1.4 binaries.
137options 	COMPAT_ULTRIX
138#options 	NO_INSN_EMULATE	# CPU does not lack some hardware instructions.
139
140
141options 	USERCONF	# userconf(4) support
142#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
143options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
144
145# Alternate buffer queue strategies for better responsiveness under high
146# disk I/O load.
147#options 	BUFQ_READPRIO
148options 	BUFQ_PRIOCSCAN
149
150# Kernel(s) to compile
151config		netbsd root on ? type ?
152
153mainbus0	at root
154
155cpu*		at mainbus0
156
157# All buses; from the beginning attached to mainbus.
158abus0		at mainbus0		# Master bus on VAX 86x0
159sbi0		at mainbus0		# SBI, master bus on 11/78x.
160cmi0		at mainbus0		# 11/750 internal bus.
161bi0		at mainbus0		# VAX 8200
162vsbus0		at mainbus0		# All VAXstations
163#nmi0		at mainbus0		# VAX 8800
164#xmi0		at mainbus0		# VAX 6000
165uba0		at mainbus0		# All MicroVAX
166ze0		at mainbus0		# KA48, KA49, KA53
167le0		at mainbus0		# LANCE ethernet (MV3400)
168#shac0		at mainbus0 		# DSSI controller
169
170# NMI (internal bus) on VAX 88xx-series.
171#cpu*		at nmi0 slot?		# 1-4 KA88 CPUs
172#mem*		at nmi0 slot?
173#bi*		at nmi0 slot?		# BI bus adapters
174
175# XMI on VAX 6000 (and higher)
176#cpu*		at xmi? node?		# 1-? VAX 6000 CPUs
177#mem*		at xmi? node?
178#bi*		at xmi? node?		# XMI-BI adapter
179
180# Vsbus, the virtual VAXstation bus, and possible devices.
181le0		at vsbus0 csr 0x200e0000 # LANCE ethernet
182dz0		at vsbus0 csr 0x200a0000 # DC-367 DZ-11 lookalike ctlr
183dz0		at vsbus0 csr 0x25000000 # VS4000/90 and 4000/10x serial line
184si0		at vsbus0 csr 0x200c0080 # VS2000/3100 SCSI-ctlr
185si1		at vsbus0 csr 0x200c0180 # VS2000/3100 SCSI-ctlr
186asc0		at vsbus0 csr 0x200c0080 # VS4000/60 (or VLC) SCSI-ctlr
187asc0		at vsbus0 csr 0x26000080 # VS4000/90 and 4000/10x SCSI-ctlr
188smg0		at vsbus0 csr 0x200f0000 # Small monochrome display ctlr.
189gpx0		at vsbus0 csr 0x3c000000 # VS3100 GPX display option
190#clr0		at vsbus0 csr 0x30000000 # 4- or 8-bitplans color graphics
191spx0		at vsbus0 csr 0x38000000 # Low Cost SPX on VS4000/90.
192lcg0		at vsbus0 csr 0x21801000 # VS4000/60 (or VLC) graphics
193vsaudio0	at vsbus0 csr 0x200d0000 # VS4000/60 (or VLC) audio
194vsaudio0	at vsbus0 csr 0x26800000 # VS4000/90 audio
195audio*		at audiobus?
196
197spkr*		at audio?		# PC speaker (synthesized)
198
199tc0		at vsbus0 csr 0x36800000 # VS4000/60 or 90 TC adapter
200tcds*		at tc0 slot ? offset ?	 # TC dual SCSI controller
201asc*		at tcds? chip ?		 # PMAZB/C
202asc*		at tc? slot ? offset ?	 # PMAZ 
203le*		at tc? slot ? offset ?	 # PMAD
204
205hdc0		at vsbus0 csr 0x200c0000 # HDC9224 MFM/floppy ctlr
206rd*		at hdc0 drive?		# RD5x disks
207#ry*		at hdc0 drive?		# RX floppies
208
209
210# Devices connected at VAXBI
211cpu*		at bi? node?		# KA820/KA825 CPU
212mem*		at bi? node?		# Memory subsystems
213#uba*		at bi? node?		# DWBUA BI-Unibus adapter
214ni*		at bi? node?		# DEBNA/DEBNT ethernet adapter
215kdb*		at bi? node?		# KDB50 MSCP disk ctlr
216
217# CMI (VAX 11/750)
218mem*		at cmi? tr?		# Memory subsystems
219uba*		at cmi? tr?		# Unibus adapters
220mba*		at cmi? tr?		# Massbus adapters
221
222# ABUS (VAX 86x0)
223sbi*		at abus0		# VAX 86x0 can have up to 2 SBI's.
224
225# SBI (VAX 11/780, VAX 8600)
226mem*		at sbi? tr?		# Memory subsystems
227uba*		at sbi? tr?		# Unibus adapters
228mba*		at sbi? tr?		# Massbus adapters
229
230# Devices on Massbus adapters
231hp*		at mba? drive?		# RM/RP disk drives
232
233# Devices on Unibus/Qbus adapters
234uda*		at uba?	csr 0172150	# UDA50/RQDX?
235uda*		at uba?	csr 0160334
236#il*		at uba?	csr 0164000	# NI1010
237mtc*		at uba? csr 0174500	# Tape MSCP ctlr
238ts0		at uba? csr 0172520	# TS11/TSV05 tape.
239#qd0		at uba? csr 0177400	# 4- or 8-bitplans color graphics
240#qv0		at uba? csr 0177400	# Monochrome graphics
241de*		at uba? csr 0174510	# DELUA/DEUNA
242qe*		at uba? csr 0174440	# DEQNA/DELQA
243qe*		at uba? csr 0174460	# DEQNA/DELQA
244qt*		at uba? csr 0174440	# DELQA-PLUS in Turbo mode
245dhu*		at uba? csr 0160440	# DHU-11
246#dmf*		at uba? csr 0160340	# DMF-32
247dz*		at uba? csr 0160100	# DZ-11
248dl*		at uba? csr 0176500	# DL-11
249rlc*		at uba? csr 0174400	# RL11/RLV11 controller
250rl*		at rlc? drive?		# RL01/RL02 disk drive
251rfc0		at uba? csr 0177170	# RX01/02 controller
252rf*		at rfc? drive?		# RX01/RX02 floppy disk drive
253
254# MSCP devices
255mscpbus*	at uda?
256mscpbus*	at mtc?
257mscpbus*	at kdb?
258
259ra*		at mscpbus? drive?	# MSCP disk 
260racd*		at mscpbus? drive?	# MSCP CD-ROM (RRD40)
261rx*		at mscpbus? drive?	# MSCP floppy
262mt*		at mscpbus? drive?	# MSCP tape
263
264# SCSI devices
265scsibus*	at scsi?
266
267sd*		at scsibus? target? lun?
268st*		at scsibus? target? lun?
269cd*		at scsibus? target? lun?
270ch*		at scsibus? target? lun?
271ss*		at scsibus? target? lun?
272uk*		at scsibus? target? lun?
273
274# VAXstation graphics support
275wsdisplay*	at smg0
276wsdisplay*	at gpx0
277wsdisplay*	at spx0
278wsdisplay*	at lcg0
279#wsdisplay*	at clr0
280#wsdisplay*	at qd0
281#wsdisplay*	at qv0
282lkkbd0		at dz0 line 0
283wskbd*		at lkkbd? console ?
284lkms0		at dz0 line 1
285wsmouse*	at lkms?
286
287pseudo-device	crypto			# /dev/crypto device
288pseudo-device	swcrypto		# software crypto implementation
289
290pseudo-device	putter			# for puffs and pud
291
292#
293# accept filters
294pseudo-device   accf_data		# "dataready" accept filter
295pseudo-device   accf_http		# "httpready" accept filter
296
297pseudo-device	loop	
298pseudo-device	pty			# pseudo-terminals
299pseudo-device	bpfilter
300pseudo-device	carp			# Common Address Redundancy Protocol
301pseudo-device	npf			# NPF packet filter
302#pseudo-device	sl
303pseudo-device	ppp
304#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
305pseudo-device	tun
306pseudo-device	tap			# virtual Ethernet
307#pseudo-device	gre			# generic L3 over IP tunnel
308pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
309#pseudo-device	faith			# IPv[46] tcp relay translation i/f
310pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
311pseudo-device	vlan			# IEEE 802.1q encapsulation
312pseudo-device	bridge			# simple inter-network bridging
313pseudo-device	vether			# Virtual Ethernet for bridge
314pseudo-device	agr			# IEEE 802.3ad link aggregation
315pseudo-device	vnd
316#options 	VND_COMPRESSION		# compressed vnd(4)
317pseudo-device	ccd	
318#pseudo-device	cgd			# cryptographic disk devices
319pseudo-device	raid			# RAIDframe disk driver
320options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
321# Options to enable various other RAIDframe RAID types.
322# options	RF_INCLUDE_EVENODD=1
323# options	RF_INCLUDE_RAID5_RS=1
324# options	RF_INCLUDE_PARITYLOGGING=1
325# options	RF_INCLUDE_CHAINDECLUSTER=1
326# options	RF_INCLUDE_INTERDECLUSTER=1
327# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
328# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
329pseudo-device	fss			# file system snapshot device
330#pseudo-device	leds			# control the leds on vaxstations.
331pseudo-device	clockctl		# user control of clock subsystem
332pseudo-device	drvctl			# user control of drive subsystem
333pseudo-device	ksyms			# /dev/ksyms
334pseudo-device	wsmux			# mouse & keyboard multiplexor
335pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
336
337include "dev/veriexec.config"
338
339# Pull in optional local configuration - always at end
340cinclude	"arch/vax/conf/GENERIC.local"
341