GENERIC revision 1.199
11.199Ssevan# $NetBSD: GENERIC,v 1.199 2019/04/26 21:40:31 sevan Exp $
21.1Sjonathan#
31.93Sgmcgarry# GENERIC machine description file
41.93Sgmcgarry# 
51.93Sgmcgarry# This machine description file is used to generate the default NetBSD
61.93Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.93Sgmcgarry# and device drivers, but should be useful for most applications.
81.39Snisimura#
91.93Sgmcgarry# The machine description file can be customised for your specific
101.93Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.1Sjonathan#
121.93Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.93Sgmcgarry# man page.
141.93Sgmcgarry#
151.93Sgmcgarry# For further information on hardware support for this architecture, see
161.93Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.93Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.93Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.93Sgmcgarry# device.
201.93Sgmcgarry
211.194Smrginclude 	"arch/pmax/conf/std.pmax"
221.64Shubertf
231.99Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.99Satatat
251.199Ssevan#ident		"GENERIC-$Revision: 1.199 $"
261.1Sjonathan
271.5Sjonathanmaxusers	64
281.1Sjonathan
291.39Snisimuraoptions 	MIPS1		# R2000/R3000 CPUs
301.39Snisimuraoptions 	MIPS3		# R4000/R4400 CPUs
311.6Sjonathan
321.1Sjonathan
331.5Sjonathan# Support for specific models of DECstation
341.39Snisimuraoptions 	DEC_3100	# DECstation 2100, 3100 (kn01)
351.39Snisimuraoptions 	DEC_5100	# DECsystem 5100 (kn230)
361.39Snisimuraoptions 	DEC_3MAX	# DECstation 5000/200 (kn02)
371.39Snisimuraoptions 	DEC_3MIN	# DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
381.39Snisimuraoptions 	DEC_MAXINE	# Personal DECstation 5000/xx (kn02ca)
391.39Snisimuraoptions 	DEC_3MAXPLUS	# DECstation 5000/240 (kn03), 5000/260 (kn05)
401.24Sjonathan
411.60Ssimonb#options 	DEC_5400	# DECsystem 5400 (kn210)
421.60Ssimonb#options 	DEC_5500	# DECsystem 5500 (kn220)
431.60Ssimonb#options 	DEC_5800	# DECsystem 58x0 (kn5800)
441.1Sjonathan
451.167Smattmakeoptions	DEBUG="-g"
461.1Sjonathan# Standard system options
471.16Sjonathanoptions 	DDB			# in-kernel debugger
481.166Schsoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
491.16Sjonathanoptions 	DDB_ONPANIC=0		# don't enter debugger on panic
501.195Sflxd#options 	DIAGNOSTIC		# extra kernel debugging checks
511.195Sflxd#options 	DEBUG			# extra kernel debugging support
521.195Sflxd#options 	LOCKDEBUG
531.192Schristos#options	VMFAULT_TRACE
541.192Schristos#options	PMAP_FAULTINFO
551.15Sjonathanoptions 	KTRACE			# system call tracing support
561.43Sjonathan
571.43Sjonathanoptions 	SYSVMSG		# System V-like message queues
581.43Sjonathanoptions 	SYSVSEM		# System V-like semaphores
591.43Sjonathanoptions 	SYSVSHM		# System V-like memory sharing
601.96Sjdolecek
611.102Slukemoptions 	USERCONF	# userconf(4) support
621.114Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
631.120Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
641.107Sjunyoung
651.196Ssevan# Alternate buffer queue strategies for better responsiveness under high
661.196Ssevan# disk I/O load.
671.128Stsutsui#options 	BUFQ_READPRIO
681.199Ssevanoptions 	BUFQ_PRIOCSCAN
691.17Smjacob
701.18Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
711.80Stsutsui#options 	TCVERBOSE		# recognize "unknown" TC devices
721.12Sjonathan
731.62Sad# Old 4.4BSD/pmax kgdb options
741.15Sjonathan#options 	KGDB			# support for kernel gdb
751.91Slukem#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
761.91Slukem#options 	KGDB_DEV="15*256+0"	# device for kernel gdb
771.1Sjonathan
781.15Sjonathanoptions 	NTP			# network time protocol
791.5Sjonathan
801.5Sjonathan
811.1Sjonathan# Filesystem options
821.83Snisimurafile-system	FFS		# fast filesystem with user and group quotas
831.83Snisimurafile-system	MFS		# memory-based filesystem
841.83Snisimurafile-system	NFS		# Sun NFS-compatible filesystem (client)
851.12Sjonathanfile-system	LFS		# Log-based filesystem (still experimental)
861.83Snisimurafile-system	CD9660		# ISO 9660 + Rock Ridge file system
871.83Snisimurafile-system	FDESC		# /dev/fd
881.83Snisimurafile-system	KERNFS		# /kern (kernel informational filesystem)
891.83Snisimurafile-system	NULLFS		# loopback file system
901.83Snisimurafile-system	OVERLAY		# overlay file system
911.162Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
921.83Snisimurafile-system	PROCFS		# /proc
931.83Snisimurafile-system	UMAPFS		# NULLFS + uid and gid remapping
941.83Snisimurafile-system	UNION
951.135Schristosfile-system	PTYFS		# /dev/pts/N support
961.164Schsfile-system	TMPFS		# Efficient memory file-system
971.141Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
981.10Sthorpej
991.15Sjonathanoptions 	NFSSERVER	# Sun NFS-compatible filesystem (server)
1001.168Sbouyeroptions 	QUOTA		# legacy UFS quotas
1011.168Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1021.169Swiz#options 	FFS_EI		# FFS Endian Independent support
1031.171Sdhollandoptions 	WAPBL		# File system journaling support
1041.138Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1051.184Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1061.137Stsutsui#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1071.50Sitojun
1081.1Sjonathan# Networking options
1091.15Sjonathanoptions 	INET		# Internet protocols
1101.50Sitojunoptions 	INET6		# IPV6
1111.50Sitojun#options 	IPSEC		# IP security
1121.50Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1131.15Sjonathanoptions 	GATEWAY		# IP packet forwarding
1141.12Sjonathan#options 	MROUTING	# Multicast routing support
1151.121Smanu#options 	PIM		# Protocol Independent Multicast
1161.38Ssimonboptions 	NETATALK	# AppleTalk networking protocols
1171.46Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1181.46Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1191.46Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1201.88Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1211.1Sjonathan
1221.118Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1231.118Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1241.118Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1251.118Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1261.118Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1271.118Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1281.118Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1291.118Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1301.118Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1311.118Sabs#options 	ALTQ_RED	# Random Early Detection
1321.118Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1331.118Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1341.118Sabs
1351.181Salnsn# JIT compiler for bpfilter
1361.181Salnsn#options	SLJIT
1371.181Salnsn#options	BPFJIT
1381.181Salnsn
1391.5Sjonathan# NetBSD backwards compatibility
1401.194Smrginclude 	"conf/compat_netbsd12.config"
1411.1Sjonathan
1421.146Sad# Workstation console options
1431.146Sadoptions 	FONT_BOLD8x16
1441.101Sadoptions 	FONT_GALLANT12x22
1451.5Sjonathan
1461.146Sadoptions 	WSEMUL_VT100
1471.173Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1481.146Sadoptions 	WS_KERNEL_FG=WSCOL_GREEN
1491.146Sadoptions 	WS_KERNEL_BG=WSCOL_BLACK
1501.146Sad
1511.146Sad# Disable kernel security levels.  Needed for X with a PX or PXG.
1521.146Sad#options 	INSECURE
1531.146Sad
1541.1Sjonathan# pmax specific
1551.39Snisimuraoptions 	COMPAT_ULTRIX	# Ultrix compatibility
1561.89Ssimonb#options 	EXEC_AOUT	# Old NetBSD/pmax a.out compatibility
1571.15Sjonathanoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
1581.92Slukemoptions 	HZ=256		# RTC rate required
1591.22Sdrochner
1601.41Ssimonboptions 	NFS_BOOT_DHCP	# superset of BOOTP
1611.1Sjonathan
1621.16Sjonathanconfig		netbsd		root on ? type ?
1631.42Ssimonb#config		nfsnetbsd	root on ? type nfs
1641.1Sjonathan
1651.30Smhitch
1661.30Smhitchmainbus0	at root
1671.30Smhitchcpu*		at mainbus0
1681.1Sjonathan
1691.48Snisimura## Peripheral Bus Support (for devices to attach to)
1701.48Snisimura## ----------------------------------------------------------------------------
1711.1Sjonathan
1721.48Snisimura# TURBOchannel bus support
1731.48Snisimuratc*	at	mainbus0
1741.26Sjonathan
1751.48Snisimura# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
1761.48Snisimuraioasic0	at	tc?
1771.55Ssimonbmcclock* at	ioasic? offset ?	# DS1287 RTC
1781.55Ssimonble*	at	ioasic? offset ?	# LANCE
1791.146Saddt*	at      ioasic? offset ?        # MAXINE kbd and mouse
1801.75Sgmcgarrybba*	at	ioasic? offset ?	# MAXINE baseboard audio
1811.48Snisimura#fdc	at	ioasic? offset ?	# MAXINE floppy disk (not supported)
1821.146Sadzsc0	at	ioasic? offset 0x100000 # Z85C30
1831.146Sadzsc1	at	ioasic? offset 0x180000 # Z85C30
1841.55Ssimonbasc*	at	ioasic? offset ?	# NCR53C94 SCSI with IOASIC
1851.48Snisimura
1861.146Sadzstty*	at	zsc? channel ?		# serial ports on B/A channels
1871.146Sadlkkbd*	at	zsc1 channel ?		# keyboard port on A channels
1881.146Sadvsms*	at	zsc0 channel ?		# mouse port on A channels   
1891.146Sad
1901.146Sadaudio*	at	bba?
1911.146Sad
1921.190Schristosspkr*	at	audio?			# PC speaker (synthesized)
1931.188Snat
1941.146Saddtkbd*	at	dt? addr ?
1951.146Saddtms*	at	dt? addr ?
1961.146Sad
1971.48Snisimura# 3MAX has TURBOchannel but no IOASIC
1981.52Sthorpejibus0	at	tc? slot ? offset ?	# 3MAX system slot
1991.55Ssimonb
2001.55Ssimonb# PMAX, 3MAX and MIPSMATE common devices
2011.55Ssimonbmcclock* at	ibus0 addr ?		# DS1287 RTC
2021.146Saddz*	at	ibus0 addr ?		# DC7085 quad line serial device
2031.146Sad
2041.146Sadlkkbd*	at	dz? line 0		# Keyboard
2051.146Sadvsms*	at	dz? line 1		# Mouse
2061.48Snisimura
2071.48Snisimura# TURBOchannel devices
2081.52Sthorpejmfb*	at	tc? slot ? offset ?	# PMAG-A MX Monochrome Framebuffer
2091.52Sthorpejcfb*	at	tc? slot ? offset ?	# PMAG-B CX Color Framebuffer
2101.146Sadtfb*	at	tc? slot ? offset ?	# PMAG-RO TX True Color Framebuffer
2111.52Sthorpejsfb*	at	tc? slot ? offset ?	# PMAGB-B HX Smart Framebuffer
2121.146Sadpx*	at	tc? slot ? offset ?	# PMAG-C 2D accelerator
2131.146Sadpxg*	at	tc? slot ? offset ?	# PMAG-D,E,F 3D accelerator
2141.52Sthorpej#sfbp*	at	tc? slot ? offset ?	# PMAGD HX+ Smart Framebuffer
2151.55Ssimonbxcfb*	at	tc? slot ? offset ?	# PMAG-DV Color Framebuffer at MAXINE
2161.52Sthorpejasc*	at	tc? slot ? offset ?	# PMAZ-A single channel SCSI
2171.52Sthorpejle*	at	tc? slot ? offset ?	# PMAD-A LANCE
2181.52Sthorpejfta*	at	tc? slot ? offset ?	# PMAF-F FDDI
2191.89Ssimonbtcds*	at	tc? slot ? offset ?	# PMAZB/PMAZC dual channel SCSI
2201.89Ssimonbasc*	at	tcds? chip ?
2211.48Snisimura
2221.48Snisimura# PMAX and MIPSMATE
2231.48Snisimuraibus0	at	mainbus0
2241.55Ssimonbpm*	at	ibus0 addr ?		# 3100 onboard fb
2251.55Ssimonble*	at	ibus0 addr ?		# 3100, 5100 onboard LANCE
2261.55Ssimonbsii*	at	ibus0 addr ?		# DC7061 onboard SCSI
2271.1Sjonathan
2281.146Sad# Workstation console
2291.146Sad
2301.146Sadwskbd*		at	lkkbd? console ?
2311.146Sadwskbd*		at	dtkbd? console ?
2321.146Sadwsmouse*	at	vsms?
2331.146Sadwsmouse*	at	dtms?
2341.146Sad
2351.146Sadwsdisplay*	at	mfb?
2361.146Sadwsdisplay*	at	cfb?
2371.146Sadwsdisplay*	at	px?
2381.146Sadwsdisplay*	at	pxg?
2391.146Sadwsdisplay*	at	sfb?
2401.146Sad#wsdisplay*	at	sfbp?
2411.146Sadwsdisplay*	at	tfb?
2421.146Sadwsdisplay*	at	xcfb?
2431.146Sadwsdisplay*	at	pm?
2441.146Sad
2451.146Sad
2461.34Ssimonb#########################################################################
2471.34Ssimonb# SCSI configuration							#
2481.34Ssimonb#########################################################################
2491.1Sjonathan
2501.89Ssimonbscsibus* at sii?
2511.89Ssimonbscsibus* at asc?
2521.89Ssimonb
2531.89Ssimonbsd*	at scsibus? target ? lun ?	# SCSI disks
2541.89Ssimonbst*	at scsibus? target ? lun ?	# SCSI tapes
2551.92Slukemcd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
2561.89Ssimonbch*	at scsibus? target ? lun ?	# SCSI changer devices
2571.89Ssimonbss*	at scsibus? target ? lun ?	# SCSI scanners
2581.89Ssimonbuk*	at scsibus? target ? lun ?	# unknown SCSI
2591.1Sjonathan
2601.34Ssimonb#########################################################################
2611.34Ssimonb# Pseudo-devices							#
2621.34Ssimonb#########################################################################
2631.1Sjonathan
2641.158Stls#
2651.158Stls# accept filters
2661.158Stlspseudo-device   accf_data		# "dataready" accept filter
2671.158Stlspseudo-device   accf_http		# "httpready" accept filter
2681.158Stls
2691.177Schristospseudo-device	loop			# network loopback
2701.143Scubepseudo-device	sl		 	# serial-line IP ports
2711.143Scubepseudo-device	ppp		 	# serial-line IP ports
2721.94Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2731.85Sjdolecekpseudo-device	pty			# pseudo-terminals
2741.142Srpaulopseudo-device	bpfilter		# packet filter ports
2751.199Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2761.197Smaxvpseudo-device	npf			# NPF packet filter
2771.143Scube#pseudo-device	gre		 	# generic L3 over IP tunnel
2781.143Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2791.143Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2801.144Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2811.86Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2821.90Satatatpseudo-device	bridge			# simple inter-network bridging
2831.114Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2841.152Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2851.12Sjonathan
2861.143Scubepseudo-device	vnd		 	# virtual disk ick
2871.131Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2881.177Schristospseudo-device	ccd			# concatenated disks
2891.177Schristos#pseudo-device	cgd		 	# cryptographic disk devices
2901.178Schristospseudo-device	raid			# RAIDframe disk driver
2911.95Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2921.95Soster# Options to enable various other RAIDframe RAID types.
2931.114Stsutsui#options 	RF_INCLUDE_EVENODD=1
2941.114Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2951.114Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2961.114Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
2971.114Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
2981.114Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2991.114Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3001.163Spookapseudo-device	fss		 	# file system snapshot device
3011.162Spookapseudo-device	putter			# for puffs and pud
3021.1Sjonathan
3031.100Slukempseudo-device	clockctl		# user control of clock subsystem
3041.198Sisakipseudo-device	drvctl			# user control of drive subsystem
3051.111Sraggepseudo-device	ksyms			# /dev/ksyms
3061.146Sadpseudo-device	wsfont			# wsfont control device
3071.146Sadpseudo-device	wsmux			# wsmux control device
3081.140Selad
3091.199Ssevaninclude "dev/veriexec.config"
3101.186Schristos
3111.186Schristosoptions 	PAX_ASLR_DEBUG=1	# PaX ASLR debug
3121.186Schristosoptions 	PAX_SEGVGUARD=0		# PaX Segmentation fault guard
3131.186Schristosoptions 	PAX_MPROTECT=1		# PaX mprotect(2) restrictions
3141.186Schristosoptions 	PAX_MPROTECT_DEBUG=1	# PaX mprotect debug
3151.186Schristosoptions 	PAX_ASLR=1		# PaX Address Space Layout Randomization
316