GENERIC revision 1.176
11.176Sbouyer# $NetBSD: GENERIC,v 1.176 2011/03/06 17:08:32 bouyer Exp $
21.1Sragge#
31.92Sgmcgarry# GENERIC machine description file
41.92Sgmcgarry# 
51.92Sgmcgarry# This machine description file is used to generate the default NetBSD
61.92Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.92Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Sragge#
91.92Sgmcgarry# The machine description file can be customised for your specific
101.92Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.92Sgmcgarry#
121.92Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.92Sgmcgarry# man page.
141.92Sgmcgarry#
151.92Sgmcgarry# For further information on hardware support for this architecture, see
161.92Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.92Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.92Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.92Sgmcgarry# device.
201.1Sragge
211.22Sraggeinclude		"arch/vax/conf/std.vax"
221.57Shubertf
231.97Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.97Satatat
251.176Sbouyer#ident 		"GENERIC-$Revision: 1.176 $"
261.1Sragge
271.4Sragge# Here are all different supported CPU types listed.
281.91Slukem#options 	VAX8800		# VAX 8500, 8530, 8550, 8700, 8800
291.91Slukemoptions 	VAX8600
301.91Slukemoptions 	VAX8200
311.91Slukem#options 	VAX6400
321.91Slukemoptions 	VAX780
331.91Slukemoptions 	VAX750
341.91Slukemoptions 	VAX630		# MV II
351.91Slukemoptions 	VAX650		# MV III, 3300, 3400, 3500, 3600, 3800, 3900
361.91Slukemoptions 	VAX660		# VAX 4000/200
371.91Slukemoptions 	VAX670		# VAX 4000/300
381.91Slukemoptions 	VAX680		# VAX 4000/[45]00
391.91Slukemoptions 	VAX410		# VS 2000
401.91Slukemoptions 	VAX43		# VS 3100/76
411.91Slukemoptions 	VAX46		# VS 4000/60
421.91Slukemoptions 	VAX48		# VS 4000 VLC
431.91Slukemoptions 	VAX49		# VS 4000/90
441.91Slukemoptions 	VAX53		# VAX 4000/10[058], MicroVAX 3100/m96
451.1Sragge
461.4Sragge# Max users on system; this is just a hint
471.9Sraggemaxusers	8
481.4Sragge
491.6Sragge# Kernel compiled-in symbolic debugger & system call tracer
501.161Smattmakeoptions	DEBUG="-g"
511.67Smattoptions 	DDB
521.175Schsoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
531.25Slukemoptions 	KTRACE
541.60Smatt#options 	DIAGNOSTIC
551.143Schs#options 	DEBUG
561.143Schs#options 	KMEMSTATS
571.143Schs#options 	PMAPDEBUG
581.143Schs#options 	TRAPDEBUG
591.143Schs#options 	LOCKDEBUG
601.23Smjacob
611.60Smattoptions 	SCSIVERBOSE		# Verbose SCSI errors
621.54Sitojun
631.87Sabs# Networking options
641.87Sabs#options 	GATEWAY		# packet forwarding
651.91Slukemoptions 	NTP		# NTP kernel support
661.87Sabsoptions 	INET		# IP + ICMP + TCP + UDP
671.54Sitojunoptions 	INET6		# IPV6
681.54Sitojun#options 	IPSEC		# IP security
691.54Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
701.135Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
711.54Sitojun#options 	IPSEC_DEBUG	# debug for IP security
721.87Sabs#options 	MROUTING	# IP multicast routing
731.125Smanu#options 	PIM		# Protocol Independent Multicast
741.87Sabs#options 	NS		# XNS
751.87Sabs#options 	NSIP		# XNS tunneling over IP
761.87Sabs#options 	ISO,TPIP	# OSI
771.87Sabs#options 	EON		# OSI tunneling over IP
781.87Sabs#options 	NETATALK	# AppleTalk networking protocols
791.105Sabsoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
801.105Sabsoptions 	PPP_DEFLATE	# Deflate compression support for PPP
811.105Sabsoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
821.87Sabs#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
831.87Sabs#options 	IPFILTER_LOG	# ipmon(8) log support
841.155Schristos#options 	IPFILTER_LOOKUP	# ippool(8) support
851.173Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
861.103Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
871.4Sragge
881.122Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
891.122Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
901.122Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
911.122Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
921.122Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
931.122Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
941.122Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
951.122Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
961.122Sabs#options 	ALTQ_PRIQ	# Priority Queueing
971.122Sabs#options 	ALTQ_RED	# Random Early Detection
981.122Sabs#options 	ALTQ_RIO	# RED with IN/OUT
991.122Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1001.122Sabs
1011.4Sragge# All supported filesystem types
1021.21Sthorpejfile-system 	FFS
1031.21Sthorpejfile-system 	LFS
1041.21Sthorpejfile-system 	MFS
1051.21Sthorpejfile-system 	NFS
1061.21Sthorpejfile-system 	FDESC
1071.21Sthorpejfile-system 	KERNFS
1081.21Sthorpejfile-system 	NULLFS
1091.56Swrstudenfile-system 	OVERLAY		# overlay file system
1101.21Sthorpejfile-system 	PROCFS
1111.21Sthorpejfile-system 	UMAPFS
1121.21Sthorpejfile-system 	UNION
1131.44Sraggefile-system 	CD9660
1141.140Schristosfile-system	PTYFS		# /dev/pts/N support
1151.172Schsfile-system	TMPFS		# Efficient memory file-system
1161.147Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1171.21Sthorpej
1181.176Sbouyeroptions 	QUOTA		# legacy UFS quotas
1191.176Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1201.29Sbouyer#options 	FFS_EI		# FFS Endian Independant support
1211.165Ssimonboptions 	WAPBL		# File system journaling support - Experimental
1221.128Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1231.25Slukemoptions 	NFSSERVER
1241.45Sraggeoptions 	NFS_BOOT_BOOTP,NFS_BOOT_DHCP	# Use bootp <> dhcp
1251.30Sraggeoptions 	NFS_BOOT_BOOTPARAM	# Use the Sun way for netbooting.
1261.144Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1271.33Sragge
1281.42Sragge# WS console uses VT100 terminal emulation
1291.42Sraggeoptions 	WSEMUL_VT100
1301.45Sraggeoptions 	WSDISPLAY_DEFAULTSCREENS=8
1311.82Sraggeoptions 	FONT_QVSS8x15
1321.8Sjtc
1331.8Sjtc# System V shared memory & semaphores support.
1341.25Slukemoptions 	SYSVMSG
1351.25Slukemoptions 	SYSVSEM
1361.25Slukemoptions 	SYSVSHM
1371.123Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
1381.19Sragge
1391.9Sragge# Old compat stuff; needed to run 4.3BSD Reno programs.
1401.9Sragge# Note that if COMPAT_ULTRIX is set, you lose compatibility with
1411.9Sragge# 4.3BSD Reno programs and get Ultrix compatibility instead.
1421.9Sragge# (They cannot coexist).
1431.36Sraggeoptions 	COMPAT_VAX1K	# Must be present to run pre-1.4 binaries.
1441.25Slukemoptions 	COMPAT_43
1451.25Slukemoptions 	COMPAT_09
1461.25Slukemoptions 	COMPAT_10
1471.25Slukemoptions 	COMPAT_11
1481.25Slukemoptions 	COMPAT_12
1491.27Skleinkoptions 	COMPAT_13
1501.46Saugustssoptions 	COMPAT_14
1511.100Sraggeoptions 	COMPAT_15
1521.100Sraggeoptions 	COMPAT_16
1531.132Ssimonboptions 	COMPAT_20
1541.139Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1551.164Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
1561.170Smrgoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
1571.161Smattoptions 	COMPAT_ULTRIX
1581.55Smattoptions 	COMPAT_IBCS2	# DEC SVR.3 compatilibity
1591.79Smatt#options 	NO_INSN_EMULATE	# CPU does not lack some hardware instructions.
1601.126Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1611.6Sragge
1621.95Sjdolecek
1631.101Slukemoptions 	USERCONF	# userconf(4) support
1641.95Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1651.124Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1661.108Sjunyoung
1671.109Swiz# Enable experimental buffer queue strategy for better responsiveness under 
1681.108Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
1691.133Stsutsui#options 	BUFQ_READPRIO
1701.133Stsutsui#options 	BUFQ_PRIOCSCAN
1711.6Sragge
1721.4Sragge# Kernel(s) to compile
1731.91Slukemconfig		netbsd root on ? type ?
1741.1Sragge
1751.37Smattmainbus0	at root
1761.19Sragge
1771.162Smattcpu*		at mainbus0
1781.162Smatt
1791.48Sragge# All buses; from the beginning attached to mainbus.
1801.174Sraggeabus0		at mainbus0		# Master bus on VAX 86x0
1811.174Sraggesbi0		at mainbus0		# SBI, master bus on 11/78x.
1821.48Sraggecmi0		at mainbus0		# 11/750 internal bus.
1831.91Slukembi0		at mainbus0		# VAX 8200
1841.48Sraggevsbus0		at mainbus0		# All VAXstations
1851.163Smatt#nmi0		at mainbus0		# VAX 8800
1861.163Smatt#xmi0		at mainbus0		# VAX 6000
1871.162Smattuba0		at mainbus0		# All MicroVAX
1881.162Smattze0		at mainbus0		# KA48, KA49, KA53
1891.162Smattle0		at mainbus0		# LANCE ethernet (MV3400)
1901.162Smatt#shac0		at mainbus0 		# DSSI controller
1911.48Sragge
1921.75Sragge# NMI (internal bus) on VAX 88xx-series.
1931.163Smatt#cpu*		at nmi0 slot?		# 1-4 KA88 CPUs
1941.163Smatt#mem*		at nmi0 slot?
1951.163Smatt#bi*		at nmi0 slot?		# BI bus adapters
1961.75Sragge
1971.75Sragge# XMI on VAX 6000 (and higher)
1981.163Smatt#cpu*		at xmi? node?		# 1-? VAX 6000 CPUs
1991.163Smatt#mem*		at xmi? node?
2001.163Smatt#bi*		at xmi? node?		# XMI-BI adapter
2011.75Sragge
2021.48Sragge# Vsbus, the virtual VAXstation bus, and possible devices.
2031.50Sraggele0		at vsbus0 csr 0x200e0000 # LANCE ethernet
2041.48Sraggedz0		at vsbus0 csr 0x200a0000 # DC-367 DZ-11 lookalike ctlr
2051.86Sraggedz0		at vsbus0 csr 0x25000000 # VS4000/90 and 4000/10x serial line
2061.71Smattsi0		at vsbus0 csr 0x200c0080 # VS2000/3100 SCSI-ctlr
2071.86Sraggesi1		at vsbus0 csr 0x200c0180 # VS2000/3100 SCSI-ctlr
2081.64Smattasc0		at vsbus0 csr 0x200c0080 # VS4000/60 (or VLC) SCSI-ctlr
2091.86Sraggeasc0		at vsbus0 csr 0x26000080 # VS4000/90 and 4000/10x SCSI-ctlr
2101.48Sraggesmg0		at vsbus0 csr 0x200f0000 # Small monochrome display ctlr.
2111.48Sragge#clr0		at vsbus0 csr 0x30000000 # 4- or 8-bitplans color graphics
2121.167Shansspx0		at vsbus0 csr 0x38000000 # Low Cost SPX on VS4000/90.
2131.118Smhitch#lcg0		at vsbus0 csr 0x21801000 # VS4000/60 (or VLC) graphics
2141.161Smatttc0		at vsbus0 csr 0x36000000 # VS4000/60 or 90 TC adapter
2151.161Smatttcds*		at tc0 slot ? offset ?	 # TC dual SCSI controller
2161.161Smattasc*		at tcds? chip ?		 # PMAZB/C
2171.161Smattasc*		at tc? slot ? offset ?	 # PMAZ 
2181.161Smattfta*		at tc? slot ? offset ?	 # TC FDDI controller
2191.48Sragge
2201.73Sraggehdc0		at vsbus0 csr 0x200c0000 # HDC9224 MFM/floppy ctlr
2211.73Sraggerd*		at hdc0 drive?		# RD5x disks
2221.48Sragge#ry*		at hdc0 drive?		# RX floppies
2231.48Sragge
2241.16Sragge
2251.16Sragge# Devices connected at VAXBI
2261.117Swizcpu*		at bi? node?		# KA820/KA825 CPU
2271.48Sraggemem*		at bi? node?		# Memory subsystems
2281.48Sragge#uba*		at bi? node?		# DWBUA BI-Unibus adapter
2291.69Smattni*		at bi? node?		# DEBNA/DEBNT ethernet adapter
2301.69Smattkdb*		at bi? node?		# KDB50 MSCP disk ctlr
2311.17Sragge
2321.48Sragge# CMI (VAX 11/750)
2331.48Sraggemem*		at cmi? tr?		# Memory subsystems
2341.48Sraggeuba*		at cmi? tr?		# Unibus adapters
2351.48Sraggemba*		at cmi? tr?		# Massbus adapters
2361.48Sragge
2371.174Sragge# ABUS (VAX 86x0)
2381.174Sraggesbi*		at abus0		# VAX 86x0 can have up to 2 SBI's.
2391.174Sragge
2401.48Sragge# SBI (VAX 11/780, VAX 8600)
2411.48Sraggemem*		at sbi? tr?		# Memory subsystems
2421.48Sraggeuba*		at sbi? tr?		# Unibus adapters
2431.48Sraggemba*		at sbi? tr?		# Massbus adapters
2441.9Sragge
2451.9Sragge# Devices on Massbus adapters
2461.48Sraggehp*		at mba? drive?		# RM/RP disk drives
2471.1Sragge
2481.48Sragge# Devices on Unibus/Qbus adapters
2491.98Sraggeuda*		at uba?	csr 0172150	# UDA50/RQDX?
2501.98Sraggeuda*		at uba?	csr 0160334
2511.98Sraggemtc*		at uba? csr 0174500	# Tape MSCP ctlr
2521.162Smattts0		at uba? csr 0172520	# TS11/TSV05 tape.
2531.48Sragge#qd0		at uba? csr 0177400	# 4- or 8-bitplans color graphics
2541.48Sragge#qv0		at uba? csr 0177400	# Monochrome graphics
2551.98Sraggede*		at uba? csr 0174510	# DELUA/DEUNA
2561.98Sraggeqe*		at uba? csr 0174440	# DEQNA/DELQA
2571.142Shubertfqe*		at uba? csr 0174460	# DEQNA/DELQA
2581.114Sraggeqt*		at uba? csr 0174440	# DELQA-PLUS in Turbo mode
2591.98Sraggedhu*		at uba? csr 0160440	# DHU-11
2601.100Sragge#dmf*		at uba? csr 0160340	# DMF-32
2611.98Sraggedz*		at uba? csr 0160100	# DZ-11
2621.98Sraggedl*		at uba? csr 0176500	# DL-11
2631.98Sraggerlc*		at uba? csr 0174400	# RL11/RLV11 controller
2641.63Sraggerl*		at rlc? drive?		# RL01/RL02 disk drive
2651.112Sraggerfc0		at uba? csr 0177170	# RX01/02 controller
2661.112Sraggerf*		at rfc? drive?		# RX01/RX02 floppy disk drive
2671.48Sragge
2681.48Sragge# MSCP devices
2691.14Sraggemscpbus*	at uda?
2701.15Sraggemscpbus*	at mtc?
2711.69Smattmscpbus*	at kdb?
2721.14Sragge
2731.14Sraggera*		at mscpbus? drive?	# MSCP disk
2741.28Sraggerx*		at mscpbus? drive?	# MSCP floppy
2751.15Sraggemt*		at mscpbus? drive?	# MSCP tape
2761.16Sragge
2771.48Sragge# SCSI devices
2781.161Smattscsibus*	at scsi?
2791.44Sragge
2801.44Sraggesd*		at scsibus? target? lun?
2811.44Sraggest*		at scsibus? target? lun?
2821.44Sraggecd*		at scsibus? target? lun?
2831.44Sraggech*		at scsibus? target? lun?
2841.44Sraggess*		at scsibus? target? lun?
2851.44Sraggeuk*		at scsibus? target? lun?
2861.16Sragge
2871.32Sragge# VAXstation graphics support
2881.167Shanswsdisplay*	at smg0
2891.167Shanswsdisplay*	at spx0
2901.167Shans#wsdisplay*	at lcg0
2911.167Shans#wsdisplay*	at clr0
2921.167Shans#wsdisplay*	at qd0
2931.167Shans#wsdisplay*	at qv0
2941.82Sraggelkkbd0		at dz0 line 0
2951.82Sraggewskbd*		at lkkbd? console ?
2961.82Sraggelkms0		at dz0 line 1
2971.82Sraggewsmouse*	at lkms?
2981.32Sragge
2991.166Stls#
3001.166Stls# accept filters
3011.166Stlspseudo-device   accf_data		# "dataready" accept filter
3021.166Stlspseudo-device   accf_http		# "httpready" accept filter
3031.166Stls
3041.91Slukempseudo-device	loop	1
3051.91Slukempseudo-device	pty			# pseudo-terminals
3061.149Srpaulopseudo-device	bpfilter
3071.152Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
3081.87Sabspseudo-device	ipfilter		# IP filter (firewall) and NAT
3091.174Sragge#pseudo-device	sl
3101.174Sraggepseudo-device	ppp
3111.93Smartin#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3121.174Sraggepseudo-device	tun
3131.127Scubepseudo-device	tap			# virtual Ethernet
3141.150Scube#pseudo-device	gre			# generic L3 over IP tunnel
3151.150Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3161.150Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3171.151Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3181.83Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
3191.90Satatatpseudo-device	bridge			# simple inter-network bridging
3201.111Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3211.157Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3221.174Sraggepseudo-device	vnd
3231.136Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3241.18Smikelpseudo-device	ccd	4
3251.107Selric#pseudo-device	cgd	4		# cryptographic disk devices
3261.94Sosterpseudo-device	raid	8		# RAIDframe disk driver
3271.94Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
3281.94Soster# Options to enable various other RAIDframe RAID types.
3291.94Soster# options	RF_INCLUDE_EVENODD=1
3301.94Soster# options	RF_INCLUDE_RAID5_RS=1
3311.94Soster# options	RF_INCLUDE_PARITYLOGGING=1
3321.94Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
3331.94Soster# options	RF_INCLUDE_INTERDECLUSTER=1
3341.94Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3351.94Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3361.171Spookapseudo-device	fss			# file system snapshot device
3371.81Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
3381.88Sragge#pseudo-device	leds			# control the leds on vaxstations.
3391.99Slukempseudo-device	clockctl		# user control of clock subsystem
3401.113Sraggepseudo-device	ksyms			# /dev/ksyms
3411.118Smhitchpseudo-device	wsmux			# mouse & keyboard multiplexor
3421.121Sitojun#pseudo-device	pf			# PF packet filter
3431.121Sitojun#pseudo-device	pflog			# PF log if
3441.145Selad
3451.145Selad# Veriexec
3461.145Selad#
3471.145Selad# a pseudo device needed for veriexec
3481.145Selad#pseudo-device	veriexec		1
3491.145Selad#
3501.145Selad# Uncomment the fingerprint methods below that are desired. Note that
3511.145Selad# removing fingerprint methods will have almost no impact on the kernel
3521.145Selad# code size.
3531.145Selad#
3541.145Selad#options VERIFIED_EXEC_FP_RMD160
3551.145Selad#options VERIFIED_EXEC_FP_SHA256
3561.145Selad#options VERIFIED_EXEC_FP_SHA384
3571.145Selad#options VERIFIED_EXEC_FP_SHA512
3581.145Selad#options VERIFIED_EXEC_FP_SHA1
3591.145Selad#options VERIFIED_EXEC_FP_MD5
360