GENERIC revision 1.131
11.131Shubertf# $NetBSD: GENERIC,v 1.131 2005/07/17 00:08:29 hubertf 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.5Sjonathaninclude		"arch/pmax/conf/std.pmax"
221.113Sadinclude		"arch/pmax/conf/files.pmax_rcons"
231.64Shubertf
241.99Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
251.99Satatat
261.131Shubertf#ident		"GENERIC-$Revision: 1.131 $"
271.1Sjonathan
281.5Sjonathanmaxusers	64
291.1Sjonathan
301.39Snisimuraoptions 	MIPS1		# R2000/R3000 CPUs
311.39Snisimuraoptions 	MIPS3		# R4000/R4400 CPUs
321.6Sjonathan
331.1Sjonathan
341.5Sjonathan# Support for specific models of DECstation
351.39Snisimuraoptions 	DEC_3100	# DECstation 2100, 3100 (kn01)
361.39Snisimuraoptions 	DEC_5100	# DECsystem 5100 (kn230)
371.39Snisimuraoptions 	DEC_3MAX	# DECstation 5000/200 (kn02)
381.39Snisimuraoptions 	DEC_3MIN	# DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
391.39Snisimuraoptions 	DEC_MAXINE	# Personal DECstation 5000/xx (kn02ca)
401.39Snisimuraoptions 	DEC_3MAXPLUS	# DECstation 5000/240 (kn03), 5000/260 (kn05)
411.24Sjonathan
421.60Ssimonb#options 	DEC_5400	# DECsystem 5400 (kn210)
431.60Ssimonb#options 	DEC_5500	# DECsystem 5500 (kn220)
441.60Ssimonb#options 	DEC_5800	# DECsystem 58x0 (kn5800)
451.1Sjonathan
461.1Sjonathan# Standard system options
471.16Sjonathanoptions 	DDB			# in-kernel debugger
481.19Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
491.16Sjonathanoptions 	DDB_ONPANIC=0		# don't enter debugger on panic
501.15Sjonathan#options 	DIAGNOSTIC		# extra kernel debugging checks
511.15Sjonathan#options 	DEBUG			# extra kernel debugging support
521.92Slukemoptions 	COMPAT_43		# compatibility with 4.3BSD binaries
531.15Sjonathanoptions 	KTRACE			# system call tracing support
541.105Sprovosoptions 	SYSTRACE		# system call vetting via systrace(1)
551.43Sjonathan
561.43Sjonathanoptions 	SYSVMSG		# System V-like message queues
571.43Sjonathanoptions 	SYSVSEM		# System V-like semaphores
581.92Slukem#options 	SEMMNI=10	# number of semaphore identifiers
591.92Slukem#options 	SEMMNS=60	# number of semaphores in system
601.92Slukem#options 	SEMUME=10	# max number of undo entries per process
611.92Slukem#options 	SEMMNU=30	# number of undo structures in system
621.43Sjonathanoptions 	SYSVSHM		# System V-like memory sharing
631.43Sjonathan#options 	SHMMAXPGS=1024	# 1024 pages is the default
641.119Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
651.43Sjonathan
661.43Sjonathanoptions 	LKM			# loadable kernel modules
671.96Sjdolecek
681.102Slukemoptions 	USERCONF	# userconf(4) support
691.114Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
701.120Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
711.107Sjunyoung
721.108Swiz# Enable experimental buffer queue strategy for better responsiveness under 
731.107Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
741.128Stsutsui#options 	BUFQ_READPRIO
751.128Stsutsui#options 	BUFQ_PRIOCSCAN
761.17Smjacob
771.18Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
781.80Stsutsui#options 	TCVERBOSE		# recognize "unknown" TC devices
791.12Sjonathan
801.62Sad# Old 4.4BSD/pmax kgdb options
811.15Sjonathan#options 	KGDB			# support for kernel gdb
821.91Slukem#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
831.91Slukem#options 	KGDB_DEV="15*256+0"	# device for kernel gdb
841.1Sjonathan
851.15Sjonathanoptions 	NTP			# network time protocol
861.5Sjonathan
871.5Sjonathan
881.1Sjonathan# Filesystem options
891.83Snisimurafile-system	FFS		# fast filesystem with user and group quotas
901.83Snisimurafile-system	MFS		# memory-based filesystem
911.83Snisimurafile-system	NFS		# Sun NFS-compatible filesystem (client)
921.12Sjonathanfile-system	LFS		# Log-based filesystem (still experimental)
931.83Snisimurafile-system	CD9660		# ISO 9660 + Rock Ridge file system
941.83Snisimurafile-system	FDESC		# /dev/fd
951.83Snisimurafile-system	KERNFS		# /kern (kernel informational filesystem)
961.83Snisimurafile-system	NULLFS		# loopback file system
971.83Snisimurafile-system	OVERLAY		# overlay file system
981.83Snisimurafile-system	PORTAL		# portal filesystem (still experimental)
991.83Snisimurafile-system	PROCFS		# /proc
1001.83Snisimurafile-system	UMAPFS		# NULLFS + uid and gid remapping
1011.83Snisimurafile-system	UNION
1021.129Srpaulo#file-system	PTYFS		# experimental - /dev/ptm support
1031.10Sthorpej
1041.15Sjonathanoptions 	NFSSERVER	# Sun NFS-compatible filesystem (server)
1051.15Sjonathanoptions 	QUOTA		# UFS quotas
1061.23Sbouyer#options 	FFS_EI		# FFS Endian Independant support
1071.92Slukemoptions 	SOFTDEP		# FFS soft updates support.
1081.126Sdsl#options 	FFS_NO_SNAPSHOT	# ffs snapshots
1091.123Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1101.84Ssimonb# VNODE_OP_NOINLINE will produce smaller and possibly slightly faster kernels
1111.84Ssimonb#options 	VNODE_OP_NOINLINE	# don't inline vnode op calls
1121.50Sitojun
1131.1Sjonathan# Networking options
1141.15Sjonathanoptions 	INET		# Internet protocols
1151.50Sitojunoptions 	INET6		# IPV6
1161.50Sitojun#options 	IPSEC		# IP security
1171.50Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1181.130Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1191.50Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1201.15Sjonathanoptions 	GATEWAY		# IP packet forwarding
1211.12Sjonathan#options 	MROUTING	# Multicast routing support
1221.121Smanu#options 	PIM		# Protocol Independent Multicast
1231.12Sjonathan#options 	ISO		# OSI networking
1241.12Sjonathan#options 	TPIP		# TPIP
1251.12Sjonathan#options 	EON		# OSI tunneling over IP
1261.12Sjonathan#options 	CCITT,LLC,HDLC	# X.25
1271.38Ssimonboptions 	NETATALK	# AppleTalk networking protocols
1281.46Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1291.46Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1301.46Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1311.46Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1321.38Ssimonboptions 	IPFILTER_LOG	# ipmon(8) log support
1331.104Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1341.88Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1351.1Sjonathan
1361.118Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1371.118Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1381.118Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1391.118Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1401.118Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1411.118Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1421.118Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1431.118Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1441.118Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1451.118Sabs#options 	ALTQ_RED	# Random Early Detection
1461.118Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1471.118Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1481.118Sabs
1491.5Sjonathan# NetBSD backwards compatibility
1501.15Sjonathan#options 	COMPAT_10	# NetBSD 1.0, (needed for X on 386?)
1511.98Ssimonb#options 	COMPAT_11	# NetBSD 1.1, EXEC_ELF_NOTELESS
1521.114Stsutsuioptions 	COMPAT_12	# NetBSD 1.2 reboot(), EXEC_ELF_NOTELESS
1531.114Stsutsuioptions 	COMPAT_13	# NetBSD 1.3
1541.114Stsutsuioptions 	COMPAT_14	# NetBSD 1.4
1551.114Stsutsuioptions 	COMPAT_16	# NetBSD 1.6
1561.127Ssimonboptions 	COMPAT_20	# NetBSD 2.0
1571.88Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1581.122Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1591.1Sjonathan
1601.40Sad# Raster console options
1611.57Ssimonboptions 	FONT_BOLD8x16		# Font for fb devices
1621.101Sadoptions 	FONT_GALLANT12x22
1631.5Sjonathan
1641.1Sjonathan# pmax specific
1651.39Snisimuraoptions 	COMPAT_ULTRIX	# Ultrix compatibility
1661.89Ssimonb#options 	EXEC_AOUT	# Old NetBSD/pmax a.out compatibility
1671.15Sjonathanoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
1681.92Slukemoptions 	HZ=256		# RTC rate required
1691.22Sdrochner
1701.41Ssimonboptions 	NFS_BOOT_DHCP	# superset of BOOTP
1711.1Sjonathan
1721.16Sjonathanconfig		netbsd		root on ? type ?
1731.42Ssimonb#config		nfsnetbsd	root on ? type nfs
1741.1Sjonathan
1751.30Smhitch
1761.30Smhitchmainbus0	at root
1771.30Smhitchcpu*		at mainbus0
1781.1Sjonathan
1791.48Snisimura## Peripheral Bus Support (for devices to attach to)
1801.48Snisimura## ----------------------------------------------------------------------------
1811.1Sjonathan
1821.48Snisimura# TURBOchannel bus support
1831.48Snisimuratc*	at	mainbus0
1841.26Sjonathan
1851.48Snisimura# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
1861.48Snisimuraioasic0	at	tc?
1871.55Ssimonbmcclock* at	ioasic? offset ?	# DS1287 RTC
1881.55Ssimonble*	at	ioasic? offset ?	# LANCE
1891.55Ssimonbscc*	at	ioasic? offset ?	# Z85C30
1901.75Sgmcgarrybba*	at	ioasic? offset ?	# MAXINE baseboard audio
1911.73Saugustssaudio*	at	bba?
1921.55Ssimonbdtop*	at	ioasic? offset ?	# MAXINE kbd and mouse
1931.48Snisimura#fdc	at	ioasic? offset ?	# MAXINE floppy disk (not supported)
1941.55Ssimonbasc*	at	ioasic? offset ?	# NCR53C94 SCSI with IOASIC
1951.48Snisimura
1961.48Snisimura# 3MAX has TURBOchannel but no IOASIC
1971.52Sthorpejibus0	at	tc? slot ? offset ?	# 3MAX system slot
1981.55Ssimonb
1991.55Ssimonb# PMAX, 3MAX and MIPSMATE common devices
2001.55Ssimonbmcclock* at	ibus0 addr ?		# DS1287 RTC
2011.55Ssimonbdc*	at	ibus0 addr ?		# DC7085 quad line serial device
2021.48Snisimura
2031.48Snisimura# TURBOchannel devices
2041.52Sthorpejmfb*	at	tc? slot ? offset ?	# PMAG-A MX Monochrome Framebuffer
2051.52Sthorpejcfb*	at	tc? slot ? offset ?	# PMAG-B CX Color Framebuffer
2061.52Sthorpej#tfb*	at	tc? slot ? offset ?	# PMAG-RO TX True Color Framebuffer
2071.52Sthorpejsfb*	at	tc? slot ? offset ?	# PMAGB-B HX Smart Framebuffer
2081.61Sadpx0	at	tc? slot ? offset ?	# PMAG-C,D,E,F PX family
2091.52Sthorpej#sfbp*	at	tc? slot ? offset ?	# PMAGD HX+ Smart Framebuffer
2101.55Ssimonbxcfb*	at	tc? slot ? offset ?	# PMAG-DV Color Framebuffer at MAXINE
2111.52Sthorpejasc*	at	tc? slot ? offset ?	# PMAZ-A single channel SCSI
2121.52Sthorpejle*	at	tc? slot ? offset ?	# PMAD-A LANCE
2131.52Sthorpejfta*	at	tc? slot ? offset ?	# PMAF-F FDDI
2141.89Ssimonbtcds*	at	tc? slot ? offset ?	# PMAZB/PMAZC dual channel SCSI
2151.89Ssimonbasc*	at	tcds? chip ?
2161.48Snisimura
2171.48Snisimura# PMAX and MIPSMATE
2181.48Snisimuraibus0	at	mainbus0
2191.55Ssimonbpm*	at	ibus0 addr ?		# 3100 onboard fb
2201.55Ssimonble*	at	ibus0 addr ?		# 3100, 5100 onboard LANCE
2211.55Ssimonbsii*	at	ibus0 addr ?		# DC7061 onboard SCSI
2221.1Sjonathan
2231.34Ssimonb#########################################################################
2241.34Ssimonb# SCSI configuration							#
2251.34Ssimonb#########################################################################
2261.1Sjonathan
2271.89Ssimonbscsibus* at sii?
2281.89Ssimonbscsibus* at asc?
2291.89Ssimonb
2301.89Ssimonbsd*	at scsibus? target ? lun ?	# SCSI disks
2311.89Ssimonbst*	at scsibus? target ? lun ?	# SCSI tapes
2321.92Slukemcd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
2331.89Ssimonbch*	at scsibus? target ? lun ?	# SCSI changer devices
2341.89Ssimonbss*	at scsibus? target ? lun ?	# SCSI scanners
2351.89Ssimonbuk*	at scsibus? target ? lun ?	# unknown SCSI
2361.1Sjonathan
2371.34Ssimonb#########################################################################
2381.34Ssimonb# Pseudo-devices							#
2391.34Ssimonb#########################################################################
2401.1Sjonathan
2411.34Ssimonbpseudo-device	loop		 1	# network loopback
2421.1Sjonathanpseudo-device	sl		 4	# serial-line IP ports
2431.34Ssimonbpseudo-device	ppp		 2	# serial-line IP ports
2441.94Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2451.85Sjdolecekpseudo-device	pty			# pseudo-terminals
2461.1Sjonathanpseudo-device	bpfilter	16	# packet filter ports
2471.36Ssimonbpseudo-device	ipfilter		# IP filter, NAT
2481.34Ssimonb#pseudo-device	gre		 2	# generic L3 over IP tunnel
2491.50Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2501.50Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2511.70Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2521.86Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2531.90Satatatpseudo-device	bridge			# simple inter-network bridging
2541.114Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2551.12Sjonathan
2561.34Ssimonbpseudo-device	vnd		 4	# virtual disk ick
2571.131Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2581.34Ssimonbpseudo-device	ccd		 4	# concatenated disks
2591.106Selric#pseudo-device	cgd		 4	# cryptographic disk devices
2601.95Sosterpseudo-device	raid		 8	# RAIDframe disk driver
2611.95Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2621.95Soster# Options to enable various other RAIDframe RAID types.
2631.114Stsutsui#options 	RF_INCLUDE_EVENODD=1
2641.114Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2651.114Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2661.114Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
2671.114Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
2681.114Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2691.114Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2701.124Shannkenpseudo-device	fss		 4	# file system snapshot device
2711.1Sjonathan
2721.34Ssimonbpseudo-device	rasterconsole	 1 	# NB: raster console requires "fb"
2731.45Ssimonbpseudo-device	fb		 3	# up to 3 framebuffers
2741.36Ssimonb
2751.36Ssimonbpseudo-device	rnd			# /dev/random and in-kernel generator
2761.100Slukempseudo-device	clockctl		# user control of clock subsystem
2771.111Sraggepseudo-device	ksyms			# /dev/ksyms
2781.117Sitojun#pseudo-device	pf			# PF packet filter
2791.117Sitojun#pseudo-device	pflog			# PF log if
280