GENERIC revision 1.103
11.103Ssimonb# $NetBSD: GENERIC,v 1.103 2008/07/31 07:41:03 simonb Exp $
21.1Stsubai#
31.41Sgmcgarry# GENERIC machine description file
41.41Sgmcgarry# 
51.41Sgmcgarry# This machine description file is used to generate the default NetBSD
61.41Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.41Sgmcgarry# and device drivers, but should be useful for most applications.
81.41Sgmcgarry#
91.41Sgmcgarry# The machine description file can be customised for your specific
101.41Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.41Sgmcgarry#
121.41Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.41Sgmcgarry# man page.
141.41Sgmcgarry#
151.41Sgmcgarry# For further information on hardware support for this architecture, see
161.41Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.41Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.41Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.41Sgmcgarry# device.
201.14Stsubai
211.2Sthorpejinclude		"arch/newsmips/conf/std.newsmips"
221.17Shubertf
231.47Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.47Satatat
251.103Ssimonb#ident 		"GENERIC-$Revision: 1.103 $"
261.1Stsubai
271.1Stsubaimaxusers	16
281.1Stsubai
291.60Stsutsuioptions 	news3400		# NWS-3400/3700 support
301.60Stsutsuioptions 	news5000		# NWS-5000 support
311.1Stsubaioptions 	MIPS1			# R2000/R3000 support
321.14Stsubaioptions 	MIPS3			# R4000 support
331.14Stsubaioptions 	CPU_SINGLE		# no I/O processor
341.1Stsubai
351.1Stsubai# Standard system options
361.1Stsubaioptions 	KTRACE			# system call tracing support
371.1Stsubaioptions 	SYSVMSG			# System V message queues
381.1Stsubaioptions 	SYSVSEM			# System V semaphores
391.1Stsubaioptions 	SYSVSHM			# System V shared memory
401.67Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
411.1Stsubaioptions 	LKM			# loadable kernel modules
421.57Stsutsuioptions 	NTP			# network time protocol
431.49Slukemoptions 	USERCONF		# userconf(4) support
441.60Stsutsui#options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
451.68Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
461.53Sjunyoung
471.54Swiz# Enable experimental buffer queue strategy for better responsiveness under 
481.53Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
491.77Stsutsui#options 	BUFQ_READPRIO
501.77Stsutsui#options 	BUFQ_PRIOCSCAN
511.1Stsubai
521.1Stsubai# Debugging options
531.57Stsutsuioptions 	DDB			# kernel dynamic debugger
541.1Stsubai#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
551.1Stsubai#options 	DEBUG			# extra kernel debugging support
561.1Stsubai#options 	DIAGNOSTIC		# extra kernel sanity checking
571.57Stsutsuioptions 	SCSIVERBOSE		# Verbose SCSI errors
581.1Stsubai
591.1Stsubai# Compatibility options
601.36Sabsoptions 	COMPAT_43	# compatibility with 4.3BSD binaries
611.36Sabsoptions 	COMPAT_10	# NetBSD 1.0 binary compatibility
621.36Sabsoptions 	COMPAT_11	# NetBSD 1.1 binary compatibility
631.36Sabsoptions 	COMPAT_12	# NetBSD 1.2 binary compatibility
641.36Sabsoptions 	COMPAT_13	# NetBSD 1.3 binary compatibility
651.36Sabsoptions 	COMPAT_14	# NetBSD 1.4 binary compatibility
661.96Smanuoptions 	COMPAT_15	# NetBSD 1.5 binary compatibility
671.61Stsutsuioptions 	COMPAT_16	# NetBSD 1.6 binary compatibility
681.72Stsutsuioptions 	COMPAT_20	# NetBSD 2.0 binary compatibility
691.99Stsutsuioptions 	COMPAT_30	# NetBSD 3.0 binary compatibility
701.99Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 binary compatibility
711.36Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
721.36Sabs#options 	EXEC_AOUT	# exec a.out binaries
731.36Sabs#options 	EXEC_ECOFF	# exec ecoff binaries
741.70Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
751.1Stsubai
761.1Stsubai# Filesystem options
771.1Stsubaifile-system	FFS		# Berkeley Fast Filesystem
781.1Stsubaifile-system	NFS		# Sun NFS-compatible filesystem client
791.1Stsubaifile-system	KERNFS		# kernel data-structure filesystem
801.1Stsubaifile-system	NULLFS		# NULL layered filesystem
811.15Swrstudenfile-system 	OVERLAY		# overlay file system
821.1Stsubaifile-system	MFS		# memory-based filesystem
831.1Stsubaifile-system	FDESC		# user file descriptor filesystem
841.1Stsubaifile-system	UMAPFS		# uid/gid remapping filesystem
851.1Stsubaifile-system	LFS		# Log-based filesystem (still experimental)
861.1Stsubaifile-system	PORTAL		# portal filesystem (still experimental)
871.1Stsubaifile-system	PROCFS		# /proc
881.1Stsubaifile-system	CD9660		# ISO 9660 + Rock Ridge file system
891.1Stsubaifile-system	UNION		# union file system
901.1Stsubaifile-system	MSDOSFS		# MS-DOS FAT filesystem(s).
911.84Schristosfile-system	PTYFS		# /dev/pts/N support
921.97Sjmmv#file-system	TMPFS		# Efficient memory file-system
931.88Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
941.1Stsubai
951.1Stsubaioptions 	NFSSERVER	# Sun NFS-compatible filesystem server
961.1Stsubaioptions 	QUOTA		# FFS quotas
971.3Sbouyer#options 	FFS_EI		# FFS Endian Independant support
981.39Slukemoptions 	SOFTDEP		# FFS soft updates support.
991.103Ssimonboptions 	WAPBL		# File system journaling support - Experimental
1001.73Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1011.86Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1021.12Sitojun
1031.1Stsubai# Networking options
1041.1Stsubaioptions 	INET		# Internet protocols
1051.12Sitojunoptions 	INET6		# IPV6
1061.12Sitojun#options 	IPSEC		# IP security
1071.12Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1081.79Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1091.12Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1101.1Stsubai#options 	GATEWAY		# IP packet forwarding
1111.5Stsubai#options 	MROUTING	# packet forwarding of multicast packets
1121.69Smanu#options 	PIM		# Protocol Independent Multicast
1131.1Stsubai#options 	ISO,TPIP	# OSI networking
1141.1Stsubai#options 	EON		# OSI tunneling over IP
1151.5Stsubaioptions 	NETATALK	# AppleTalk (over Ethernet) protocol
1161.9Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1171.9Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1181.9Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1191.9Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1201.9Schristosoptions 	IPFILTER_LOG	# ipmon(8) log support
1211.95Schristosoptions 	IPFILTER_LOOKUP	# ippool(8) support
1221.51Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1231.36Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1241.1Stsubai
1251.66Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1261.66Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1271.66Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1281.66Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1291.66Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1301.66Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1311.66Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1321.66Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1331.66Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1341.66Sabs#options 	ALTQ_RED	# Random Early Detection
1351.66Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1361.66Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1371.66Sabs
1381.14Stsubaioptions 	NFS_BOOT_BOOTPARAM
1391.14Stsubai
1401.33Stsubai# wscons options
1411.33Stsubaioptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1421.33Stsubaioptions 	FONT_GALLANT12x22
1431.33Stsubai
1441.33Stsubaiconfig	netbsd	root on ? type ?
1451.1Stsubai
1461.1Stsubaimainbus0 at root
1471.1Stsubai
1481.1Stsubaicpu0	at mainbus0
1491.60Stsutsuihb0	at mainbus0			# Hyper-bus on news3400
1501.60Stsutsuiap0	at mainbus0			# APbus on news5000
1511.1Stsubai
1521.62Stsutsuimkclock0 at hb0 addr 0xbff40000		# MK48T02 realtime clock
1531.60Stsutsuimkclock0 at ap?				#
1541.1Stsubai
1551.60Stsutsuile0	at hb0 addr 0xbff80000 level 1	# on-board LANCE Ethernet
1561.60Stsutsuile1	at hb0 addr 0xb8c30000 level 0	# NWB-235A LANCE Ethernet
1571.14Stsubai
1581.60Stsutsuisn*	at ap?				# on-board/NWB-5851 SONIC Ethernet
1591.60Stsutsuitlp*	at ap?				# NWB-5852A tulip Ethernet
1601.1Stsubai
1611.13Stsubaikb0	at hb0 addr 0xbfd00000 level 2	# keyboard
1621.60Stsutsuikb0	at ap?				#
1631.60Stsutsuiwskbd0	at kb? console ?
1641.60Stsutsui
1651.13Stsubaims0	at hb0 addr 0xbfd00004 level 2	# mouse
1661.60Stsutsuims0	at ap?				#
1671.60Stsutsuiwsmouse0 at ms?
1681.1Stsubai
1691.60Stsutsuizsc0	at hb0 addr 0xbfec0000 level 1 flags 0x0	# on-board serial
1701.60Stsutsuizsc1	at hb0 addr 0xb8c40100 level 1 flags 0x1	# NWB-231A 4ch serial
1711.60Stsutsuizsc2	at hb0 addr 0xb8c40104 level 1 flags 0x1	#
1721.14Stsubaizsc0	at ap?
1731.14Stsubai
1741.5Stsubaizstty0	at zsc0 channel 0		# tty00
1751.5Stsubaizstty1	at zsc0 channel 1		# tty01
1761.14Stsubaizstty2	at zsc1 channel 0		# tty02
1771.14Stsubaizstty3	at zsc1 channel 1		# tty03
1781.14Stsubaizstty4	at zsc2 channel 0		# tty04
1791.14Stsubaizstty5	at zsc2 channel 1		# tty05
1801.1Stsubai
1811.60Stsutsuifb0	at hb0 addr 0x88000000		# NWB-253 frame buffer
1821.60Stsutsuiwsdisplay0 at fb? console ?
1831.60Stsutsui
1841.60Stsutsuixafb*	at ap?				# "XA" frame buffer
1851.60Stsutsuiwsdisplay0 at xafb? console ?
1861.1Stsubai
1871.60Stsutsuisc0	at hb0 addr 0xbfe00100 level 0	# on-board CXD1185 SCSI controller
1881.59Stsutsuiscsibus* at sc0
1891.30Stsubai
1901.46Stsutsuidmac*	at ap?				# dmac3
1911.46Stsutsuispifi*	at ap?				# SPIFI SCSI
1921.46Stsutsuiscsibus* at spifi?
1931.1Stsubai
1941.1Stsubaisd*	at scsibus? target ? lun ?	# SCSI disks
1951.1Stsubaist*	at scsibus? target ? lun ?	# SCSI tapes
1961.1Stsubaicd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
1971.1Stsubaich*	at scsibus? target ? lun ?	# SCSI changer devices
1981.32Stsubai
1991.1Stsubaipseudo-device	loop			# loopback interface; required
2001.27Sjdolecekpseudo-device	pty			# pseudo-terminals
2011.90Scubepseudo-device	sl			# SLIP interfaces
2021.90Scubepseudo-device	ppp			# PPP interfaces
2031.42Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2041.90Scubepseudo-device	tun			# Network "tunnel" device
2051.71Scubepseudo-device	tap			# virtual Ethernet
2061.90Scube#pseudo-device	gre			# generic L3 over IP tunnel
2071.89Srpaulopseudo-device	bpfilter		# Berkeley Packet Filter
2081.92Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
2091.90Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2101.90Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2111.91Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2121.34Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2131.40Satatatpseudo-device	bridge			# simple inter-network bridging
2141.55Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2151.98Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2161.90Scubepseudo-device	vnd			# disk-like interface to files
2171.80Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2181.1Stsubaipseudo-device	ccd		4	# concatenated and striped disks
2191.43Soster#pseudo-device	raid		8	# RAIDframe disk driver
2201.20Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2211.43Soster# Options to enable various other RAIDframe RAID types.
2221.60Stsutsui#options 	RF_INCLUDE_EVENODD=1
2231.60Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2241.60Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2251.60Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
2261.60Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
2271.60Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2281.60Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2291.74Shannkenpseudo-device	fss		4	# file system snapshot device
2301.90Scube#pseudo-device	strip			# radio clock
2311.1Stsubai#pseudo-device	ipfilter		# ip filter
2321.28Stsubaipseudo-device	rnd			# /dev/random and in-kernel generator
2331.48Slukempseudo-device	clockctl		# user control of clock subsystem
2341.58Sraggepseudo-device	ksyms			# /dev/ksyms
2351.65Sitojun#pseudo-device	pf			# PF packet filter
2361.65Sitojun#pseudo-device	pflog			# PF log if
2371.87Selad
2381.87Selad# Veriexec
2391.87Selad#
2401.87Selad# a pseudo device needed for veriexec
2411.87Selad#pseudo-device	veriexec		1
2421.87Selad#
2431.87Selad# Uncomment the fingerprint methods below that are desired. Note that
2441.87Selad# removing fingerprint methods will have almost no impact on the kernel
2451.87Selad# code size.
2461.87Selad#
2471.87Selad#options VERIFIED_EXEC_FP_RMD160
2481.87Selad#options VERIFIED_EXEC_FP_SHA256
2491.87Selad#options VERIFIED_EXEC_FP_SHA384
2501.87Selad#options VERIFIED_EXEC_FP_SHA512
2511.87Selad#options VERIFIED_EXEC_FP_SHA1
2521.87Selad#options VERIFIED_EXEC_FP_MD5
253