GENERIC64 revision 1.18
11.18Salnsn# $NetBSD: GENERIC64,v 1.18 2014/07/20 10:06:11 alnsn 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.2Smattinclude		"arch/pmax/conf/std.pmax64"
221.2Smatt
231.2Smattoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.2Smatt
251.18Salnsn#ident		"GENERIC-$Revision: 1.18 $"
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.2Smatt#options 	DIAGNOSTIC		# extra kernel debugging checks
421.2Smatt#options 	DEBUG			# extra kernel debugging support
431.2Smattoptions 	COMPAT_43		# compatibility with 4.3BSD binaries
441.2Smattoptions 	KTRACE			# system call tracing support
451.2Smatt
461.2Smattoptions 	SYSVMSG		# System V-like message queues
471.2Smattoptions 	SYSVSEM		# System V-like semaphores
481.2Smattoptions 	SYSVSHM		# System V-like memory sharing
491.2Smatt
501.2Smattoptions 	LKM			# loadable kernel modules
511.2Smatt
521.2Smattoptions 	USERCONF	# userconf(4) support
531.2Smatt#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
541.2Smattoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
551.2Smatt
561.2Smatt# Enable experimental buffer queue strategy for better responsiveness under 
571.2Smatt# high disk I/O load. Use it with caution - it's not proven to be stable yet.
581.2Smatt#options 	BUFQ_READPRIO
591.2Smatt#options 	BUFQ_PRIOCSCAN
601.2Smatt
611.2Smatt#options 	SCSIVERBOSE		# Verbose SCSI errors
621.2Smatt#options 	TCVERBOSE		# recognize "unknown" TC devices
631.2Smatt
641.2Smatt# Old 4.4BSD/pmax kgdb options
651.2Smatt#options 	KGDB			# support for kernel gdb
661.2Smatt#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
671.2Smatt#options 	KGDB_DEV="15*256+0"	# device for kernel gdb
681.2Smatt
691.2Smattoptions 	NTP			# network time protocol
701.2Smatt
711.2Smatt
721.2Smatt# Filesystem options
731.2Smattfile-system	FFS		# fast filesystem with user and group quotas
741.2Smattfile-system	MFS		# memory-based filesystem
751.2Smattfile-system	NFS		# Sun NFS-compatible filesystem (client)
761.2Smattfile-system	LFS		# Log-based filesystem (still experimental)
771.2Smattfile-system	CD9660		# ISO 9660 + Rock Ridge file system
781.2Smattfile-system	FDESC		# /dev/fd
791.2Smattfile-system	KERNFS		# /kern (kernel informational filesystem)
801.2Smattfile-system	NULLFS		# loopback file system
811.2Smattfile-system	OVERLAY		# overlay file system
821.2Smattfile-system	PROCFS		# /proc
831.2Smattfile-system	UMAPFS		# NULLFS + uid and gid remapping
841.2Smattfile-system	UNION
851.2Smattfile-system	PTYFS		# /dev/pts/N support
861.4Schsfile-system	TMPFS		# Efficient memory file-system
871.2Smatt#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
881.2Smatt
891.2Smattoptions 	NFSSERVER	# Sun NFS-compatible filesystem (server)
901.6Sbouyeroptions 	QUOTA		# legacy UFS quotas
911.6Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
921.7Swiz#options 	FFS_EI		# FFS Endian Independent support
931.2Smattoptions 	SOFTDEP		# FFS soft updates support.
941.9Sdhollandoptions 	WAPBL		# File system journaling support
951.2Smatt#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
961.2Smatt#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
971.2Smatt
981.2Smatt# Networking options
991.2Smattoptions 	INET		# Internet protocols
1001.2Smattoptions 	INET6		# IPV6
1011.2Smatt#options 	IPSEC		# IP security
1021.2Smatt#options 	IPSEC_DEBUG	# debug for IP security
1031.2Smattoptions 	GATEWAY		# IP packet forwarding
1041.2Smatt#options 	MROUTING	# Multicast routing support
1051.2Smatt#options 	PIM		# Protocol Independent Multicast
1061.2Smattoptions 	NETATALK	# AppleTalk networking protocols
1071.2Smattoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1081.2Smattoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1091.2Smattoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1101.2Smattoptions 	IPFILTER_LOG	# ipmon(8) log support
1111.2Smattoptions 	IPFILTER_LOOKUP	# ippool(8) support
1121.2Smatt#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1131.2Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1141.2Smatt
1151.2Smatt#options 	ALTQ		# Manipulate network interfaces' output queues
1161.2Smatt#options 	ALTQ_BLUE	# Stochastic Fair Blue
1171.2Smatt#options 	ALTQ_CBQ	# Class-Based Queueing
1181.2Smatt#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1191.2Smatt#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1201.2Smatt#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1211.2Smatt#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1221.2Smatt#options 	ALTQ_LOCALQ	# Local queueing discipline
1231.2Smatt#options 	ALTQ_PRIQ	# Priority Queueing
1241.2Smatt#options 	ALTQ_RED	# Random Early Detection
1251.2Smatt#options 	ALTQ_RIO	# RED with IN/OUT
1261.2Smatt#options 	ALTQ_WFQ	# Weighted Fair Queueing
1271.2Smatt
1281.18Salnsn# JIT compiler for bpfilter
1291.18Salnsn#options	SLJIT
1301.18Salnsn#options	BPFJIT
1311.18Salnsn
1321.2Smatt# NetBSD backwards compatibility
1331.2Smatt#options 	COMPAT_10	# NetBSD 1.0, (needed for X on 386?)
1341.2Smatt#options 	COMPAT_11	# NetBSD 1.1, EXEC_ELF_NOTELESS
1351.2Smattoptions 	COMPAT_12	# NetBSD 1.2 reboot(), EXEC_ELF_NOTELESS
1361.2Smattoptions 	COMPAT_13	# NetBSD 1.3
1371.2Smattoptions 	COMPAT_14	# NetBSD 1.4
1381.2Smattoptions 	COMPAT_15	# NetBSD 1.5
1391.2Smattoptions 	COMPAT_16	# NetBSD 1.6
1401.2Smattoptions 	COMPAT_20	# NetBSD 2.0
1411.2Smattoptions 	COMPAT_30	# NetBSD 3.0
1421.2Smattoptions 	COMPAT_40	# NetBSD 4.0 compatibility.
1431.2Smatt#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1441.2Smattoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1451.2Smatt
1461.2Smatt# Workstation console options
1471.2Smattoptions 	FONT_BOLD8x16
1481.2Smattoptions 	FONT_GALLANT12x22
1491.2Smatt
1501.2Smattoptions 	WSEMUL_VT100
1511.11Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1521.2Smattoptions 	WS_KERNEL_FG=WSCOL_GREEN
1531.2Smattoptions 	WS_KERNEL_BG=WSCOL_BLACK
1541.2Smatt
1551.2Smatt# Disable kernel security levels.  Needed for X with a PX or PXG.
1561.2Smatt#options 	INSECURE
1571.2Smatt
1581.2Smatt# pmax specific
1591.2Smatt#options 	COMPAT_ULTRIX	# Ultrix compatibility
1601.2Smatt#options 	EXEC_AOUT	# Old NetBSD/pmax a.out compatibility
1611.2Smatt#options 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
1621.2Smattoptions 	HZ=256		# RTC rate required
1631.2Smatt
1641.2Smattoptions 	NFS_BOOT_DHCP	# superset of BOOTP
1651.2Smatt
1661.2Smattconfig		netbsd		root on ? type ?
1671.2Smatt#config		nfsnetbsd	root on ? type nfs
1681.2Smatt
1691.2Smatt
1701.2Smattmainbus0	at root
1711.2Smattcpu*		at mainbus0
1721.2Smatt
1731.2Smatt## Peripheral Bus Support (for devices to attach to)
1741.2Smatt## ----------------------------------------------------------------------------
1751.2Smatt
1761.2Smatt# TURBOchannel bus support
1771.2Smatttc*	at	mainbus0
1781.2Smatt
1791.5Smatt# 3MAX has TURBOchannel but no IOASIC
1801.5Smattibus0	at	tc? slot ? offset ?	# 3MAX system slot
1811.5Smatt
1821.5Smatt# PMAX, 3MAX and MIPSMATE common devices
1831.5Smattmcclock* at	ibus0 addr ?		# DS1287 RTC
1841.5Smattdz*	at	ibus0 addr ?		# DC7085 quad line serial device
1851.5Smattlkkbd*	at	dz? line 0		# Keyboard
1861.5Smattvsms*	at	dz? line 1		# Mouse
1871.5Smattsii*	at	ibus0 addr ?		# DC7061 onboard SCSI`
1881.5Smatt
1891.2Smatt# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
1901.2Smattioasic0	at	tc?
1911.2Smattmcclock* at	ioasic? offset ?	# DS1287 RTC
1921.2Smattle*	at	ioasic? offset ?	# LANCE
1931.2Smattdt*	at      ioasic? offset ?        # MAXINE kbd and mouse
1941.2Smattbba*	at	ioasic? offset ?	# MAXINE baseboard audio
1951.2Smatt#fdc	at	ioasic? offset ?	# MAXINE floppy disk (not supported)
1961.2Smattzsc0	at	ioasic? offset 0x100000 # Z85C30
1971.2Smattzsc1	at	ioasic? offset 0x180000 # Z85C30
1981.2Smattasc*	at	ioasic? offset ?	# NCR53C94 SCSI with IOASIC
1991.2Smatt
2001.2Smattzstty*	at	zsc? channel ?		# serial ports on B/A channels
2011.2Smattlkkbd*	at	zsc1 channel ?		# keyboard port on A channels
2021.2Smattvsms*	at	zsc0 channel ?		# mouse port on A channels   
2031.2Smatt
2041.2Smattaudio*	at	bba?
2051.2Smatt
2061.2Smattdtkbd*	at	dt? addr ?
2071.2Smattdtms*	at	dt? addr ?
2081.2Smatt
2091.2Smatt# TURBOchannel devices
2101.2Smattmfb*	at	tc? slot ? offset ?	# PMAG-A MX Monochrome Framebuffer
2111.2Smattcfb*	at	tc? slot ? offset ?	# PMAG-B CX Color Framebuffer
2121.2Smatttfb*	at	tc? slot ? offset ?	# PMAG-RO TX True Color Framebuffer
2131.2Smattsfb*	at	tc? slot ? offset ?	# PMAGB-B HX Smart Framebuffer
2141.2Smattpx*	at	tc? slot ? offset ?	# PMAG-C 2D accelerator
2151.2Smattpxg*	at	tc? slot ? offset ?	# PMAG-D,E,F 3D accelerator
2161.2Smatt#sfbp*	at	tc? slot ? offset ?	# PMAGD HX+ Smart Framebuffer
2171.2Smattxcfb*	at	tc? slot ? offset ?	# PMAG-DV Color Framebuffer at MAXINE
2181.2Smattasc*	at	tc? slot ? offset ?	# PMAZ-A single channel SCSI
2191.2Smattle*	at	tc? slot ? offset ?	# PMAD-A LANCE
2201.2Smattfta*	at	tc? slot ? offset ?	# PMAF-F FDDI
2211.2Smatttcds*	at	tc? slot ? offset ?	# PMAZB/PMAZC dual channel SCSI
2221.2Smattasc*	at	tcds? chip ?
2231.2Smatt
2241.2Smatt# Workstation console
2251.2Smatt
2261.2Smattwskbd*		at	lkkbd? console ?
2271.2Smattwskbd*		at	dtkbd? console ?
2281.2Smattwsmouse*	at	vsms?
2291.2Smattwsmouse*	at	dtms?
2301.2Smatt
2311.2Smattwsdisplay*	at	mfb?
2321.2Smattwsdisplay*	at	cfb?
2331.2Smattwsdisplay*	at	px?
2341.2Smattwsdisplay*	at	pxg?
2351.2Smattwsdisplay*	at	sfb?
2361.2Smatt#wsdisplay*	at	sfbp?
2371.2Smattwsdisplay*	at	tfb?
2381.2Smattwsdisplay*	at	xcfb?
2391.2Smatt
2401.2Smatt
2411.2Smatt#########################################################################
2421.2Smatt# SCSI configuration							#
2431.2Smatt#########################################################################
2441.2Smatt
2451.5Smattscsibus* at sii?
2461.2Smattscsibus* at asc?
2471.2Smatt
2481.2Smattsd*	at scsibus? target ? lun ?	# SCSI disks
2491.2Smattst*	at scsibus? target ? lun ?	# SCSI tapes
2501.2Smattcd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
2511.2Smattch*	at scsibus? target ? lun ?	# SCSI changer devices
2521.2Smattss*	at scsibus? target ? lun ?	# SCSI scanners
2531.2Smattuk*	at scsibus? target ? lun ?	# unknown SCSI
2541.2Smatt
2551.2Smatt#########################################################################
2561.2Smatt# Pseudo-devices							#
2571.2Smatt#########################################################################
2581.2Smatt
2591.2Smatt#
2601.2Smatt# accept filters
2611.2Smattpseudo-device   accf_data		# "dataready" accept filter
2621.2Smattpseudo-device   accf_http		# "httpready" accept filter
2631.2Smatt
2641.14Schristospseudo-device	loop			# network loopback
2651.2Smattpseudo-device	sl		 	# serial-line IP ports
2661.2Smattpseudo-device	ppp		 	# serial-line IP ports
2671.2Smattpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2681.2Smattpseudo-device	pty			# pseudo-terminals
2691.2Smattpseudo-device	bpfilter		# packet filter ports
2701.2Smatt#pseudo-device	carp			# Common Address Redundancy Protocol
2711.2Smattpseudo-device	ipfilter		# IP filter, NAT
2721.2Smatt#pseudo-device	gre		 	# generic L3 over IP tunnel
2731.2Smattpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2741.2Smatt#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2751.2Smattpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2761.2Smattpseudo-device	vlan			# IEEE 802.1q encapsulation
2771.2Smattpseudo-device	bridge			# simple inter-network bridging
2781.2Smatt#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2791.2Smattpseudo-device	agr			# IEEE 802.3ad link aggregation
2801.2Smatt
2811.2Smattpseudo-device	vnd		 	# virtual disk ick
2821.2Smatt#options 	VND_COMPRESSION		# compressed vnd(4)
2831.14Schristospseudo-device	ccd			# concatenated disks
2841.14Schristos#pseudo-device	cgd			# cryptographic disk devices
2851.15Schristospseudo-device	raid			# RAIDframe disk driver
2861.2Smattoptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2871.2Smatt# Options to enable various other RAIDframe RAID types.
2881.2Smatt#options 	RF_INCLUDE_EVENODD=1
2891.2Smatt#options 	RF_INCLUDE_RAID5_RS=1
2901.2Smatt#options 	RF_INCLUDE_PARITYLOGGING=1
2911.2Smatt#options 	RF_INCLUDE_CHAINDECLUSTER=1
2921.2Smatt#options 	RF_INCLUDE_INTERDECLUSTER=1
2931.2Smatt#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2941.2Smatt#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2951.3Spookapseudo-device	fss		 	# file system snapshot device
2961.2Smatt
2971.2Smattpseudo-device	clockctl		# user control of clock subsystem
2981.2Smattpseudo-device	ksyms			# /dev/ksyms
2991.2Smatt#pseudo-device	pf			# PF packet filter
3001.2Smatt#pseudo-device	pflog			# PF log if
3011.2Smattpseudo-device	wsfont			# wsfont control device
3021.2Smattpseudo-device	wsmux			# wsmux control device
3031.2Smatt
3041.2Smatt# Veriexec
3051.2Smatt#
3061.2Smatt# a pseudo device needed for veriexec
3071.15Schristos#pseudo-device	veriexec
3081.2Smatt#
3091.2Smatt# Uncomment the fingerprint methods below that are desired. Note that
3101.2Smatt# removing fingerprint methods will have almost no impact on the kernel
3111.2Smatt# code size.
3121.2Smatt#
3131.2Smatt#options VERIFIED_EXEC_FP_RMD160
3141.2Smatt#options VERIFIED_EXEC_FP_SHA256
3151.2Smatt#options VERIFIED_EXEC_FP_SHA384
3161.2Smatt#options VERIFIED_EXEC_FP_SHA512
3171.2Smatt#options VERIFIED_EXEC_FP_SHA1
3181.2Smatt#options VERIFIED_EXEC_FP_MD5
319