GENERIC64 revision 1.20
11.20Smanu# $NetBSD: GENERIC64,v 1.20 2014/11/12 10:47:23 manu 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.20Smanu#ident		"GENERIC-$Revision: 1.20 $"
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.20Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
971.20Smanuoptions 	UFS_EXTATTR_AUTOSTART
981.20Smanuoptions 	UFS_EXTATTR_AUTOCREATE=1024
991.2Smatt#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1001.2Smatt
1011.2Smatt# Networking options
1021.2Smattoptions 	INET		# Internet protocols
1031.2Smattoptions 	INET6		# IPV6
1041.2Smatt#options 	IPSEC		# IP security
1051.2Smatt#options 	IPSEC_DEBUG	# debug for IP security
1061.2Smattoptions 	GATEWAY		# IP packet forwarding
1071.2Smatt#options 	MROUTING	# Multicast routing support
1081.2Smatt#options 	PIM		# Protocol Independent Multicast
1091.2Smattoptions 	NETATALK	# AppleTalk networking protocols
1101.2Smattoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1111.2Smattoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1121.2Smattoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1131.2Smattoptions 	IPFILTER_LOG	# ipmon(8) log support
1141.2Smattoptions 	IPFILTER_LOOKUP	# ippool(8) support
1151.2Smatt#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1161.2Smatt#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1171.2Smatt
1181.2Smatt#options 	ALTQ		# Manipulate network interfaces' output queues
1191.2Smatt#options 	ALTQ_BLUE	# Stochastic Fair Blue
1201.2Smatt#options 	ALTQ_CBQ	# Class-Based Queueing
1211.2Smatt#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1221.2Smatt#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1231.2Smatt#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1241.2Smatt#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1251.2Smatt#options 	ALTQ_LOCALQ	# Local queueing discipline
1261.2Smatt#options 	ALTQ_PRIQ	# Priority Queueing
1271.2Smatt#options 	ALTQ_RED	# Random Early Detection
1281.2Smatt#options 	ALTQ_RIO	# RED with IN/OUT
1291.2Smatt#options 	ALTQ_WFQ	# Weighted Fair Queueing
1301.2Smatt
1311.18Salnsn# JIT compiler for bpfilter
1321.18Salnsn#options	SLJIT
1331.18Salnsn#options	BPFJIT
1341.18Salnsn
1351.2Smatt# NetBSD backwards compatibility
1361.2Smatt#options 	COMPAT_10	# NetBSD 1.0, (needed for X on 386?)
1371.2Smatt#options 	COMPAT_11	# NetBSD 1.1, EXEC_ELF_NOTELESS
1381.2Smattoptions 	COMPAT_12	# NetBSD 1.2 reboot(), EXEC_ELF_NOTELESS
1391.19Sdhollandoptions 	COMPAT_13	# NetBSD 1.3,
1401.19Sdhollandoptions 	COMPAT_14	# NetBSD 1.4,
1411.19Sdhollandoptions 	COMPAT_15	# NetBSD 1.5,
1421.19Sdhollandoptions 	COMPAT_16	# NetBSD 1.6,
1431.19Sdhollandoptions 	COMPAT_20	# NetBSD 2.0,
1441.19Sdhollandoptions 	COMPAT_30	# NetBSD 3.0, and
1451.19Sdhollandoptions 	COMPAT_40	# NetBSD 4.0 binary compatibility.
1461.2Smatt#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1471.2Smattoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1481.2Smatt
1491.2Smatt# Workstation console options
1501.2Smattoptions 	FONT_BOLD8x16
1511.2Smattoptions 	FONT_GALLANT12x22
1521.2Smatt
1531.2Smattoptions 	WSEMUL_VT100
1541.11Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1551.2Smattoptions 	WS_KERNEL_FG=WSCOL_GREEN
1561.2Smattoptions 	WS_KERNEL_BG=WSCOL_BLACK
1571.2Smatt
1581.2Smatt# Disable kernel security levels.  Needed for X with a PX or PXG.
1591.2Smatt#options 	INSECURE
1601.2Smatt
1611.2Smatt# pmax specific
1621.2Smatt#options 	COMPAT_ULTRIX	# Ultrix compatibility
1631.2Smatt#options 	EXEC_AOUT	# Old NetBSD/pmax a.out compatibility
1641.2Smatt#options 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
1651.2Smattoptions 	HZ=256		# RTC rate required
1661.2Smatt
1671.2Smattoptions 	NFS_BOOT_DHCP	# superset of BOOTP
1681.2Smatt
1691.2Smattconfig		netbsd		root on ? type ?
1701.2Smatt#config		nfsnetbsd	root on ? type nfs
1711.2Smatt
1721.2Smatt
1731.2Smattmainbus0	at root
1741.2Smattcpu*		at mainbus0
1751.2Smatt
1761.2Smatt## Peripheral Bus Support (for devices to attach to)
1771.2Smatt## ----------------------------------------------------------------------------
1781.2Smatt
1791.2Smatt# TURBOchannel bus support
1801.2Smatttc*	at	mainbus0
1811.2Smatt
1821.5Smatt# 3MAX has TURBOchannel but no IOASIC
1831.5Smattibus0	at	tc? slot ? offset ?	# 3MAX system slot
1841.5Smatt
1851.5Smatt# PMAX, 3MAX and MIPSMATE common devices
1861.5Smattmcclock* at	ibus0 addr ?		# DS1287 RTC
1871.5Smattdz*	at	ibus0 addr ?		# DC7085 quad line serial device
1881.5Smattlkkbd*	at	dz? line 0		# Keyboard
1891.5Smattvsms*	at	dz? line 1		# Mouse
1901.5Smattsii*	at	ibus0 addr ?		# DC7061 onboard SCSI`
1911.5Smatt
1921.2Smatt# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
1931.2Smattioasic0	at	tc?
1941.2Smattmcclock* at	ioasic? offset ?	# DS1287 RTC
1951.2Smattle*	at	ioasic? offset ?	# LANCE
1961.2Smattdt*	at      ioasic? offset ?        # MAXINE kbd and mouse
1971.2Smattbba*	at	ioasic? offset ?	# MAXINE baseboard audio
1981.2Smatt#fdc	at	ioasic? offset ?	# MAXINE floppy disk (not supported)
1991.2Smattzsc0	at	ioasic? offset 0x100000 # Z85C30
2001.2Smattzsc1	at	ioasic? offset 0x180000 # Z85C30
2011.2Smattasc*	at	ioasic? offset ?	# NCR53C94 SCSI with IOASIC
2021.2Smatt
2031.2Smattzstty*	at	zsc? channel ?		# serial ports on B/A channels
2041.2Smattlkkbd*	at	zsc1 channel ?		# keyboard port on A channels
2051.2Smattvsms*	at	zsc0 channel ?		# mouse port on A channels   
2061.2Smatt
2071.2Smattaudio*	at	bba?
2081.2Smatt
2091.2Smattdtkbd*	at	dt? addr ?
2101.2Smattdtms*	at	dt? addr ?
2111.2Smatt
2121.2Smatt# TURBOchannel devices
2131.2Smattmfb*	at	tc? slot ? offset ?	# PMAG-A MX Monochrome Framebuffer
2141.2Smattcfb*	at	tc? slot ? offset ?	# PMAG-B CX Color Framebuffer
2151.2Smatttfb*	at	tc? slot ? offset ?	# PMAG-RO TX True Color Framebuffer
2161.2Smattsfb*	at	tc? slot ? offset ?	# PMAGB-B HX Smart Framebuffer
2171.2Smattpx*	at	tc? slot ? offset ?	# PMAG-C 2D accelerator
2181.2Smattpxg*	at	tc? slot ? offset ?	# PMAG-D,E,F 3D accelerator
2191.2Smatt#sfbp*	at	tc? slot ? offset ?	# PMAGD HX+ Smart Framebuffer
2201.2Smattxcfb*	at	tc? slot ? offset ?	# PMAG-DV Color Framebuffer at MAXINE
2211.2Smattasc*	at	tc? slot ? offset ?	# PMAZ-A single channel SCSI
2221.2Smattle*	at	tc? slot ? offset ?	# PMAD-A LANCE
2231.2Smattfta*	at	tc? slot ? offset ?	# PMAF-F FDDI
2241.2Smatttcds*	at	tc? slot ? offset ?	# PMAZB/PMAZC dual channel SCSI
2251.2Smattasc*	at	tcds? chip ?
2261.2Smatt
2271.2Smatt# Workstation console
2281.2Smatt
2291.2Smattwskbd*		at	lkkbd? console ?
2301.2Smattwskbd*		at	dtkbd? console ?
2311.2Smattwsmouse*	at	vsms?
2321.2Smattwsmouse*	at	dtms?
2331.2Smatt
2341.2Smattwsdisplay*	at	mfb?
2351.2Smattwsdisplay*	at	cfb?
2361.2Smattwsdisplay*	at	px?
2371.2Smattwsdisplay*	at	pxg?
2381.2Smattwsdisplay*	at	sfb?
2391.2Smatt#wsdisplay*	at	sfbp?
2401.2Smattwsdisplay*	at	tfb?
2411.2Smattwsdisplay*	at	xcfb?
2421.2Smatt
2431.2Smatt
2441.2Smatt#########################################################################
2451.2Smatt# SCSI configuration							#
2461.2Smatt#########################################################################
2471.2Smatt
2481.5Smattscsibus* at sii?
2491.2Smattscsibus* at asc?
2501.2Smatt
2511.2Smattsd*	at scsibus? target ? lun ?	# SCSI disks
2521.2Smattst*	at scsibus? target ? lun ?	# SCSI tapes
2531.2Smattcd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
2541.2Smattch*	at scsibus? target ? lun ?	# SCSI changer devices
2551.2Smattss*	at scsibus? target ? lun ?	# SCSI scanners
2561.2Smattuk*	at scsibus? target ? lun ?	# unknown SCSI
2571.2Smatt
2581.2Smatt#########################################################################
2591.2Smatt# Pseudo-devices							#
2601.2Smatt#########################################################################
2611.2Smatt
2621.2Smatt#
2631.2Smatt# accept filters
2641.2Smattpseudo-device   accf_data		# "dataready" accept filter
2651.2Smattpseudo-device   accf_http		# "httpready" accept filter
2661.2Smatt
2671.14Schristospseudo-device	loop			# network loopback
2681.2Smattpseudo-device	sl		 	# serial-line IP ports
2691.2Smattpseudo-device	ppp		 	# serial-line IP ports
2701.2Smattpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2711.2Smattpseudo-device	pty			# pseudo-terminals
2721.2Smattpseudo-device	bpfilter		# packet filter ports
2731.2Smatt#pseudo-device	carp			# Common Address Redundancy Protocol
2741.2Smattpseudo-device	ipfilter		# IP filter, NAT
2751.2Smatt#pseudo-device	gre		 	# generic L3 over IP tunnel
2761.2Smattpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2771.2Smatt#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2781.2Smattpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2791.2Smattpseudo-device	vlan			# IEEE 802.1q encapsulation
2801.2Smattpseudo-device	bridge			# simple inter-network bridging
2811.2Smatt#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2821.2Smattpseudo-device	agr			# IEEE 802.3ad link aggregation
2831.2Smatt
2841.2Smattpseudo-device	vnd		 	# virtual disk ick
2851.2Smatt#options 	VND_COMPRESSION		# compressed vnd(4)
2861.14Schristospseudo-device	ccd			# concatenated disks
2871.14Schristos#pseudo-device	cgd			# cryptographic disk devices
2881.15Schristospseudo-device	raid			# RAIDframe disk driver
2891.2Smattoptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2901.2Smatt# Options to enable various other RAIDframe RAID types.
2911.2Smatt#options 	RF_INCLUDE_EVENODD=1
2921.2Smatt#options 	RF_INCLUDE_RAID5_RS=1
2931.2Smatt#options 	RF_INCLUDE_PARITYLOGGING=1
2941.2Smatt#options 	RF_INCLUDE_CHAINDECLUSTER=1
2951.2Smatt#options 	RF_INCLUDE_INTERDECLUSTER=1
2961.2Smatt#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2971.2Smatt#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2981.3Spookapseudo-device	fss		 	# file system snapshot device
2991.2Smatt
3001.2Smattpseudo-device	clockctl		# user control of clock subsystem
3011.2Smattpseudo-device	ksyms			# /dev/ksyms
3021.2Smatt#pseudo-device	pf			# PF packet filter
3031.2Smatt#pseudo-device	pflog			# PF log if
3041.2Smattpseudo-device	wsfont			# wsfont control device
3051.2Smattpseudo-device	wsmux			# wsmux control device
3061.2Smatt
3071.2Smatt# Veriexec
3081.2Smatt#
3091.2Smatt# a pseudo device needed for veriexec
3101.15Schristos#pseudo-device	veriexec
3111.2Smatt#
3121.2Smatt# Uncomment the fingerprint methods below that are desired. Note that
3131.2Smatt# removing fingerprint methods will have almost no impact on the kernel
3141.2Smatt# code size.
3151.2Smatt#
3161.2Smatt#options VERIFIED_EXEC_FP_RMD160
3171.2Smatt#options VERIFIED_EXEC_FP_SHA256
3181.2Smatt#options VERIFIED_EXEC_FP_SHA384
3191.2Smatt#options VERIFIED_EXEC_FP_SHA512
3201.2Smatt#options VERIFIED_EXEC_FP_SHA1
3211.2Smatt#options VERIFIED_EXEC_FP_MD5
322