GENERIC64 revision 1.37
11.37Sandvar# $NetBSD: GENERIC64,v 1.37 2024/09/21 06:42:21 andvar Exp $
21.2Smatt#
31.2Smatt# GENERIC machine description file
41.2Smatt# 
51.2Smatt# This machine description file is used to generate the default NetBSD
61.2Smatt# kernel.  The generic kernel does not include all options, subsystems
71.2Smatt# and device drivers, but should be useful for most applications.
81.2Smatt#
91.2Smatt# The machine description file can be customised for your specific
101.2Smatt# machine to reduce the kernel size and improve its performance.
111.2Smatt#
121.2Smatt# For further information on compiling NetBSD kernels, see the config(8)
131.2Smatt# man page.
141.2Smatt#
151.2Smatt# For further information on hardware support for this architecture, see
161.2Smatt# the intro(4) man page.  For further information about kernel options
171.2Smatt# for this architecture, see the options(4) man page.  For an explanation
181.2Smatt# of each device driver in this file see the section 4 man page for the
191.2Smatt# device.
201.2Smatt
211.27Smrginclude 	"arch/pmax/conf/std.pmax64"
221.2Smatt
231.2Smattoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.2Smatt
251.37Sandvar#ident		"GENERIC-$Revision: 1.37 $"
261.2Smatt
271.2Smattmaxusers	64
281.2Smatt
291.2Smattoptions 	MIPS3		# R4000/R4400 CPUs
301.2Smatt
311.2Smatt# Support for specific models of DECstation
321.5Smattoptions 	DEC_3MAX	# DECstation 5000/200 (kn02)
331.2Smattoptions 	DEC_3MIN	# DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
341.2Smattoptions 	DEC_MAXINE	# Personal DECstation 5000/xx (kn02ca)
351.2Smattoptions 	DEC_3MAXPLUS	# DECstation 5000/240 (kn03), 5000/260 (kn05)
361.2Smatt
371.2Smatt# Standard system options
381.2Smattoptions 	DDB			# in-kernel debugger
391.2Smatt#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
401.2Smattoptions 	DDB_ONPANIC=0		# don't enter debugger on panic
411.37Sandvaroptions 	DIAGNOSTIC		# extra kernel debugging checks
421.2Smatt#options 	DEBUG			# extra kernel debugging support
431.2Smattoptions 	KTRACE			# system call tracing support
441.2Smatt
451.2Smattoptions 	SYSVMSG		# System V-like message queues
461.2Smattoptions 	SYSVSEM		# System V-like semaphores
471.2Smattoptions 	SYSVSHM		# System V-like memory sharing
481.2Smatt
491.2Smattoptions 	LKM			# loadable kernel modules
501.2Smatt
511.2Smattoptions 	USERCONF	# userconf(4) support
521.2Smatt#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
531.2Smattoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
541.2Smatt
551.28Ssevan# Alternate buffer queue strategies for better responsiveness under high
561.28Ssevan# disk I/O load.
571.2Smatt#options 	BUFQ_READPRIO
581.31Ssevanoptions 	BUFQ_PRIOCSCAN
591.2Smatt
601.2Smatt#options 	SCSIVERBOSE		# Verbose SCSI errors
611.2Smatt#options 	TCVERBOSE		# recognize "unknown" TC devices
621.2Smatt
631.2Smatt# Old 4.4BSD/pmax kgdb options
641.2Smatt#options 	KGDB			# support for kernel gdb
651.2Smatt#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
661.2Smatt#options 	KGDB_DEV="15*256+0"	# device for kernel gdb
671.2Smatt
681.2Smattoptions 	NTP			# network time protocol
691.2Smatt
701.2Smatt
711.36Ssimonb# File systems
721.2Smattfile-system	FFS		# fast filesystem with user and group quotas
731.2Smattfile-system	MFS		# memory-based filesystem
741.2Smattfile-system	NFS		# Sun NFS-compatible filesystem (client)
751.2Smattfile-system	LFS		# Log-based filesystem (still experimental)
761.2Smattfile-system	CD9660		# ISO 9660 + Rock Ridge file system
771.2Smattfile-system	FDESC		# /dev/fd
781.2Smattfile-system	KERNFS		# /kern (kernel informational filesystem)
791.2Smattfile-system	NULLFS		# loopback file system
801.2Smattfile-system	OVERLAY		# overlay file system
811.2Smattfile-system	PROCFS		# /proc
821.2Smattfile-system	UMAPFS		# NULLFS + uid and gid remapping
831.2Smattfile-system	UNION
841.2Smattfile-system	PTYFS		# /dev/pts/N support
851.4Schsfile-system	TMPFS		# Efficient memory file-system
861.2Smatt#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
871.2Smatt
881.36Ssimonb# File system options
891.36Ssimonb#options 	FFS_EI		# FFS Endian Independent support
901.36Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
911.6Sbouyeroptions 	QUOTA		# legacy UFS quotas
921.6Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
931.36Ssimonboptions 	UFS_DIRHASH	# UFS Large Directory Hashing
941.36Ssimonboptions 	UFS_EXTATTR	# Extended attribute support for UFS1
951.9Sdhollandoptions 	WAPBL		# File system journaling support
961.36Ssimonboptions 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
971.36Ssimonboptions 	NFSSERVER	# Network File System server
981.2Smatt
991.2Smatt# Networking options
1001.2Smattoptions 	INET		# Internet protocols
1011.2Smattoptions 	INET6		# IPV6
1021.2Smatt#options 	IPSEC		# IP security
1031.2Smatt#options 	IPSEC_DEBUG	# debug for IP security
1041.2Smattoptions 	GATEWAY		# IP packet forwarding
1051.2Smatt#options 	MROUTING	# Multicast routing support
1061.2Smatt#options 	PIM		# Protocol Independent Multicast
1071.2Smattoptions 	NETATALK	# AppleTalk networking protocols
1081.2Smattoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1091.2Smattoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1101.2Smattoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1111.2Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1121.2Smatt
1131.2Smatt#options 	ALTQ		# Manipulate network interfaces' output queues
1141.2Smatt#options 	ALTQ_BLUE	# Stochastic Fair Blue
1151.2Smatt#options 	ALTQ_CBQ	# Class-Based Queueing
1161.2Smatt#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1171.2Smatt#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1181.2Smatt#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1191.2Smatt#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1201.2Smatt#options 	ALTQ_LOCALQ	# Local queueing discipline
1211.2Smatt#options 	ALTQ_PRIQ	# Priority Queueing
1221.2Smatt#options 	ALTQ_RED	# Random Early Detection
1231.2Smatt#options 	ALTQ_RIO	# RED with IN/OUT
1241.2Smatt#options 	ALTQ_WFQ	# Weighted Fair Queueing
1251.2Smatt
1261.18Salnsn# JIT compiler for bpfilter
1271.18Salnsn#options	SLJIT
1281.18Salnsn#options	BPFJIT
1291.18Salnsn
1301.2Smatt# NetBSD backwards compatibility
1311.27Smrginclude 	"conf/compat_netbsd12.config"
1321.2Smatt
1331.2Smatt# Workstation console options
1341.2Smattoptions 	FONT_BOLD8x16
1351.2Smattoptions 	FONT_GALLANT12x22
1361.2Smatt
1371.2Smattoptions 	WSEMUL_VT100
1381.11Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1391.2Smattoptions 	WS_KERNEL_FG=WSCOL_GREEN
1401.2Smattoptions 	WS_KERNEL_BG=WSCOL_BLACK
1411.2Smatt
1421.2Smatt# Disable kernel security levels.  Needed for X with a PX or PXG.
1431.2Smatt#options 	INSECURE
1441.2Smatt
1451.2Smatt# pmax specific
1461.2Smatt#options 	COMPAT_ULTRIX	# Ultrix compatibility
1471.2Smatt#options 	EXEC_AOUT	# Old NetBSD/pmax a.out compatibility
1481.2Smatt#options 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
1491.2Smattoptions 	HZ=256		# RTC rate required
1501.2Smatt
1511.2Smattoptions 	NFS_BOOT_DHCP	# superset of BOOTP
1521.2Smatt
1531.2Smattconfig		netbsd		root on ? type ?
1541.2Smatt#config		nfsnetbsd	root on ? type nfs
1551.2Smatt
1561.2Smatt
1571.2Smattmainbus0	at root
1581.2Smattcpu*		at mainbus0
1591.2Smatt
1601.2Smatt## Peripheral Bus Support (for devices to attach to)
1611.2Smatt## ----------------------------------------------------------------------------
1621.2Smatt
1631.2Smatt# TURBOchannel bus support
1641.2Smatttc*	at	mainbus0
1651.2Smatt
1661.5Smatt# 3MAX has TURBOchannel but no IOASIC
1671.5Smattibus0	at	tc? slot ? offset ?	# 3MAX system slot
1681.5Smatt
1691.5Smatt# PMAX, 3MAX and MIPSMATE common devices
1701.5Smattmcclock* at	ibus0 addr ?		# DS1287 RTC
1711.5Smattdz*	at	ibus0 addr ?		# DC7085 quad line serial device
1721.5Smattlkkbd*	at	dz? line 0		# Keyboard
1731.5Smattvsms*	at	dz? line 1		# Mouse
1741.37Sandvarsii*	at	ibus0 addr ?		# DC7061 onboard SCSI
1751.5Smatt
1761.2Smatt# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
1771.2Smattioasic0	at	tc?
1781.2Smattmcclock* at	ioasic? offset ?	# DS1287 RTC
1791.2Smattle*	at	ioasic? offset ?	# LANCE
1801.2Smattdt*	at      ioasic? offset ?        # MAXINE kbd and mouse
1811.2Smattbba*	at	ioasic? offset ?	# MAXINE baseboard audio
1821.2Smatt#fdc	at	ioasic? offset ?	# MAXINE floppy disk (not supported)
1831.2Smattzsc0	at	ioasic? offset 0x100000 # Z85C30
1841.2Smattzsc1	at	ioasic? offset 0x180000 # Z85C30
1851.2Smattasc*	at	ioasic? offset ?	# NCR53C94 SCSI with IOASIC
1861.2Smatt
1871.2Smattzstty*	at	zsc? channel ?		# serial ports on B/A channels
1881.2Smattlkkbd*	at	zsc1 channel ?		# keyboard port on A channels
1891.2Smattvsms*	at	zsc0 channel ?		# mouse port on A channels   
1901.2Smatt
1911.2Smattaudio*	at	bba?
1921.2Smatt
1931.24Schristosspkr*	at	audio?			# PC speaker (synthesized)
1941.22Snat
1951.2Smattdtkbd*	at	dt? addr ?
1961.2Smattdtms*	at	dt? addr ?
1971.2Smatt
1981.2Smatt# TURBOchannel devices
1991.2Smattmfb*	at	tc? slot ? offset ?	# PMAG-A MX Monochrome Framebuffer
2001.2Smattcfb*	at	tc? slot ? offset ?	# PMAG-B CX Color Framebuffer
2011.2Smatttfb*	at	tc? slot ? offset ?	# PMAG-RO TX True Color Framebuffer
2021.2Smattsfb*	at	tc? slot ? offset ?	# PMAGB-B HX Smart Framebuffer
2031.2Smattpx*	at	tc? slot ? offset ?	# PMAG-C 2D accelerator
2041.2Smattpxg*	at	tc? slot ? offset ?	# PMAG-D,E,F 3D accelerator
2051.2Smatt#sfbp*	at	tc? slot ? offset ?	# PMAGD HX+ Smart Framebuffer
2061.2Smattxcfb*	at	tc? slot ? offset ?	# PMAG-DV Color Framebuffer at MAXINE
2071.2Smattasc*	at	tc? slot ? offset ?	# PMAZ-A single channel SCSI
2081.2Smattle*	at	tc? slot ? offset ?	# PMAD-A LANCE
2091.2Smatttcds*	at	tc? slot ? offset ?	# PMAZB/PMAZC dual channel SCSI
2101.2Smattasc*	at	tcds? chip ?
2111.2Smatt
2121.2Smatt# Workstation console
2131.2Smatt
2141.2Smattwskbd*		at	lkkbd? console ?
2151.2Smattwskbd*		at	dtkbd? console ?
2161.2Smattwsmouse*	at	vsms?
2171.2Smattwsmouse*	at	dtms?
2181.2Smatt
2191.2Smattwsdisplay*	at	mfb?
2201.2Smattwsdisplay*	at	cfb?
2211.2Smattwsdisplay*	at	px?
2221.2Smattwsdisplay*	at	pxg?
2231.2Smattwsdisplay*	at	sfb?
2241.2Smatt#wsdisplay*	at	sfbp?
2251.2Smattwsdisplay*	at	tfb?
2261.2Smattwsdisplay*	at	xcfb?
2271.2Smatt
2281.2Smatt
2291.2Smatt#########################################################################
2301.2Smatt# SCSI configuration							#
2311.2Smatt#########################################################################
2321.2Smatt
2331.5Smattscsibus* at sii?
2341.2Smattscsibus* at asc?
2351.2Smatt
2361.2Smattsd*	at scsibus? target ? lun ?	# SCSI disks
2371.2Smattst*	at scsibus? target ? lun ?	# SCSI tapes
2381.2Smattcd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
2391.2Smattch*	at scsibus? target ? lun ?	# SCSI changer devices
2401.2Smattss*	at scsibus? target ? lun ?	# SCSI scanners
2411.2Smattuk*	at scsibus? target ? lun ?	# unknown SCSI
2421.2Smatt
2431.2Smatt#########################################################################
2441.2Smatt# Pseudo-devices							#
2451.2Smatt#########################################################################
2461.2Smatt
2471.2Smatt#
2481.2Smatt# accept filters
2491.2Smattpseudo-device   accf_data		# "dataready" accept filter
2501.2Smattpseudo-device   accf_http		# "httpready" accept filter
2511.2Smatt
2521.14Schristospseudo-device	loop			# network loopback
2531.2Smattpseudo-device	sl		 	# serial-line IP ports
2541.2Smattpseudo-device	ppp		 	# serial-line IP ports
2551.2Smattpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2561.2Smattpseudo-device	pty			# pseudo-terminals
2571.2Smattpseudo-device	bpfilter		# packet filter ports
2581.31Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2591.29Smaxvpseudo-device	npf			# NPF packet filter
2601.2Smatt#pseudo-device	gre		 	# generic L3 over IP tunnel
2611.2Smattpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2621.2Smatt#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2631.2Smattpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2641.2Smattpseudo-device	vlan			# IEEE 802.1q encapsulation
2651.2Smattpseudo-device	bridge			# simple inter-network bridging
2661.35Sroy#pseudo-device	vether			# Virtual Ethernet for bridge
2671.2Smattpseudo-device	agr			# IEEE 802.3ad link aggregation
2681.2Smatt
2691.2Smattpseudo-device	vnd		 	# virtual disk ick
2701.2Smatt#options 	VND_COMPRESSION		# compressed vnd(4)
2711.14Schristospseudo-device	ccd			# concatenated disks
2721.14Schristos#pseudo-device	cgd			# cryptographic disk devices
2731.15Schristospseudo-device	raid			# RAIDframe disk driver
2741.2Smattoptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2751.2Smatt# Options to enable various other RAIDframe RAID types.
2761.2Smatt#options 	RF_INCLUDE_EVENODD=1
2771.2Smatt#options 	RF_INCLUDE_RAID5_RS=1
2781.2Smatt#options 	RF_INCLUDE_PARITYLOGGING=1
2791.2Smatt#options 	RF_INCLUDE_CHAINDECLUSTER=1
2801.2Smatt#options 	RF_INCLUDE_INTERDECLUSTER=1
2811.2Smatt#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2821.2Smatt#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2831.3Spookapseudo-device	fss		 	# file system snapshot device
2841.2Smatt
2851.2Smattpseudo-device	clockctl		# user control of clock subsystem
2861.30Sisakipseudo-device	drvctl			# user control of drive subsystem
2871.2Smattpseudo-device	ksyms			# /dev/ksyms
2881.2Smattpseudo-device	wsfont			# wsfont control device
2891.2Smattpseudo-device	wsmux			# wsmux control device
2901.2Smatt
2911.2Smatt# Veriexec
2921.32Ssevaninclude "dev/veriexec.config"
293