GENERIC revision 1.82
11.82Sbouyer# $NetBSD: GENERIC,v 1.82 2011/03/06 17:08:30 bouyer Exp $
21.1Ssimonb
31.18Ssimonbinclude 	"arch/sbmips/conf/std.sbmips"
41.1Ssimonb
51.5Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
61.5Satatat
71.82Sbouyer#ident 		"GENERIC-$Revision: 1.82 $"
81.16Ssimonb
91.16Ssimonb#options 	LOCKDEBUG	# XXX XXX XXX XXX
101.46Schs#options 	DEBUG		# extra kernel debugging support
111.1Ssimonb
121.1Ssimonb# The following three options are required for BCM1250 pass 1 silicon
131.16Ssimonb#options 	SB1250_PASS1
141.16Ssimonb#options 	NOFPU
151.81Smatt#options 	FPEMUL
161.1Ssimonb
171.1Ssimonbmaxusers	32
181.1Ssimonb
191.1Ssimonb# Standard system options
201.1Ssimonboptions 	KTRACE		# system call tracing support
211.1Ssimonboptions 	SYSVMSG		# System V message queues
221.1Ssimonboptions 	SYSVSEM		# System V semaphores
231.1Ssimonboptions 	SYSVSHM		# System V shared memory
241.28Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
251.1Ssimonb#options 	NTP		# network time protocol
261.1Ssimonb
271.1Ssimonb# Debugging options
281.46Schs#options 	DIAGNOSTIC	# extra kernel sanity checking
291.1Ssimonb#options 	DEBUG		# extra kernel debugging support
301.1Ssimonb#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
311.10Slukemoptions 	USERCONF	# userconf(4) support
321.29Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
331.1Ssimonboptions 	DDB		# kernel dynamic debugger
341.1Ssimonboptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
351.1Ssimonb#makeoptions 	DEBUG="-g"	# compile full symbol table
361.81Smattoptions 	SYMTAB_SPACE=380000	# size for embedded symbol table
371.1Ssimonb
381.1Ssimonb# Compatibility options
391.1Ssimonboptions 	COMPAT_43	# compatibility with 4.3BSD binaries
401.40Ssimonb#options 	COMPAT_09	# NetBSD 0.9 binary compatibility
411.1Ssimonb#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
421.1Ssimonb#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
431.1Ssimonb#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
441.1Ssimonb#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
451.1Ssimonb#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
461.58Smanu#options 	COMPAT_15	# NetBSD 1.5 binary compatibility
471.22Ssimonboptions 	COMPAT_16	# NetBSD 1.6 binary compatibility
481.36Ssimonboptions 	COMPAT_20	# NetBSD 2.0 binary compatibility
491.43Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
501.67Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
511.73Smrgoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
521.1Ssimonb#options 	EXEC_ECOFF	# exec ECOFF binaries
531.1Ssimonb#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
541.31Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
551.1Ssimonb
561.1Ssimonb# File systems
571.1Ssimonbfile-system	FFS		# Berkeley Fast Filesystem
581.1Ssimonbfile-system	NFS		# Sun NFS-compatible filesystem client
591.1Ssimonbfile-system	KERNFS		# kernel data-structure filesystem
601.1Ssimonb#file-system	NULLFS		# NULL layered filesystem
611.1Ssimonbfile-system 	OVERLAY		# overlay file system
621.1Ssimonbfile-system	MFS		# memory-based filesystem
631.1Ssimonbfile-system	FDESC		# user file descriptor filesystem
641.1Ssimonb#file-system	UMAPFS		# uid/gid remapping filesystem
651.1Ssimonbfile-system	LFS		# Log-based filesystem (still experimental)
661.6Ssimonbfile-system	PROCFS		# /proc
671.1Ssimonb#file-system	CD9660		# ISO 9660 + Rock Ridge file system
681.1Ssimonb#file-system	UNION		# union file system
691.1Ssimonb#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
701.1Ssimonb#file-system 	CODA		# Coda File System; also needs vcoda (below)
711.44Schristosfile-system	PTYFS		# /dev/pts/N support
721.77Schsfile-system	TMPFS		# Efficient memory file-system
731.50Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
741.1Ssimonb
751.1Ssimonb# File system options
761.1Ssimonboptions 	NFSSERVER	# Sun NFS-compatible filesystem server
771.82Sbouyeroptions 	QUOTA		# legacy UFS quotas
781.82Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
791.47Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
801.1Ssimonb#options 	FFS_EI		# FFS Endian Independant support
811.68Ssimonboptions 	WAPBL		# File system journaling support - Experimental
821.33Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
831.1Ssimonb#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
841.1Ssimonb				# immutable) behave as system flags.
851.1Ssimonb
861.1Ssimonb# Networking options
871.1Ssimonb#options 	GATEWAY		# IP packet forwarding
881.1Ssimonboptions 	INET		# Internet protocols
891.1Ssimonboptions 	INET6		# IPV6
901.1Ssimonb#options 	IPSEC		# IP security
911.1Ssimonb#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
921.38Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
931.1Ssimonb#options 	IPSEC_DEBUG	# debug for IP security
941.1Ssimonb#options 	MROUTING	# packet forwarding of multicast packets
951.30Smanu#options 	PIM		# Protocol Independent Multicast
961.1Ssimonb#options 	ISO,TPIP	# OSI networking
971.1Ssimonb#options 	EON		# OSI tunneling over IP
981.1Ssimonb#options 	NETATALK	# AppleTalk (over Ethernet) protocol
991.1Ssimonb#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1001.1Ssimonb#options 	PPP_DEFLATE	# Deflate compression support for PPP
1011.1Ssimonboptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1021.1Ssimonboptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1031.1Ssimonboptions 	IPFILTER_LOG	# ipmon(8) log support
1041.57Schristosoptions 	IPFILTER_LOOKUP	# ippool(8) support
1051.78Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1061.12Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1071.1Ssimonb
1081.27Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1091.27Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1101.27Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1111.27Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1121.27Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1131.27Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1141.27Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1151.27Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1161.27Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1171.27Sabs#options 	ALTQ_RED	# Random Early Detection
1181.27Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1191.27Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1201.27Sabs
1211.1Ssimonb# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1221.1Ssimonb#options 	TCP_COMPAT_42
1231.1Ssimonb
1241.1Ssimonb# These options enable verbose messages for several subsystems.
1251.1Ssimonb# Warning, these may compile large string tables into the kernel!
1261.1Ssimonboptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1271.1Ssimonb#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1281.1Ssimonb#options 	SCSIVERBOSE	# human readable SCSI error messages
1291.1Ssimonboptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1301.1Ssimonb
1311.1Ssimonboptions 	NFS_BOOT_DHCP
1321.1Ssimonb
1331.1Ssimonb#config		netbsd	root on ? type ?
1341.1Ssimonbconfig		netbsd	root on sbmac0 type nfs
1351.1Ssimonb
1361.1Ssimonbzbbus*		at root
1371.1Ssimonb
1381.6Ssimonbcpu*		at zbbus? busid ?
1391.1Ssimonbsbscd*		at zbbus? busid ?
1401.81Smattsbbrz*		at zbbus? busid ?
1411.1Ssimonbsbobio*		at zbbus? busid ?
1421.1Ssimonb
1431.81Smattpci*		at sbbrz? bus ?
1441.81Smattppb*		at pci? dev ?
1451.81Smattpci*		at ppb?
1461.81Smatt
1471.81Smattohci*		at pci? dev ? function ?        # Open Host Controller
1481.81Smatt
1491.81Smattbge*		at pci? dev ?
1501.81Smatt
1511.81Smatt#sbicu*		at sbscd? offset ?
1521.81Smattsbwdog*		at sbscd? offset ? intr ?
1531.81Smattsbtimer0	at sbscd? offset ? intr ? flags 0x01		# clock
1541.81Smatt#sbtimer1	at sbscd? offset ? intr ? flags 0x02		# statclock
1551.81Smattsbtimer*	at sbscd? offset ? intr ?
1561.81Smatt
1571.81Smattsbmac*		at sbobio? offset ?
1581.81Smattsbscn*		at sbobio? offset ?
1591.81Smatt#sbgbus*	at sbobio? offset ?
1601.81Smattsmbus*		at sbobio? offset ?
1611.7Ssimonb
1621.16Ssimonbxirtc*		at smbus? chan ? dev ?		# Xicor X1241 RTC
1631.23Ssimonbm41t81rtc*	at smbus? chan ? dev ?		# ST M41T81 RTC
1641.1Ssimonb
1651.1Ssimonb# MII/PHY support
1661.6Ssimonbbrgphy*		at mii? phy ?
1671.1Ssimonb
1681.81Smatt# USB
1691.81Smattusb*		at ohci?
1701.81Smattuhub*		at usb?
1711.81Smattuhub*		at uhub? port ?
1721.81Smattumass*		at uhub? port ? configuration ? interface ?
1731.81Smattwd*		at umass?
1741.81Smattscsibus*	at umass? channel ?
1751.81Smattsd*		at scsibus? target ? lun ?
1761.81Smattuplcom* 	at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
1771.81Smattucom*   	at uplcom? portno ?
1781.81Smatt
1791.1Ssimonb# Pseudo-devices
1801.1Ssimonb
1811.1Ssimonb# Disk/mass storage pseudo-devices
1821.1Ssimonbpseudo-device	ccd		4	# concatenated disk devices
1831.14Selric#pseudo-device	cgd		4	# cryptographic disk devices
1841.1Ssimonb#pseudo-device	raid		4	# RAIDframe disk driver
1851.1Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID
1861.80Shannkenpseudo-device	md			# memory disk device (ramdisk)
1871.52Scubepseudo-device	vnd			# disk-like interface to files
1881.39Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
1891.1Ssimonb
1901.1Ssimonb# Network pseudo-devices
1911.51Srpaulopseudo-device	bpfilter		# Berkeley packet filter
1921.53Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
1931.1Ssimonbpseudo-device	ipfilter		# IP filter (firewall) and NAT
1941.1Ssimonbpseudo-device	loop			# network loopback
1951.52Scube#pseudo-device	ppp			# Point-to-Point Protocol
1961.1Ssimonb#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1971.52Scube#pseudo-device	sl			# Serial Line IP
1981.52Scube#pseudo-device	strip			# Starmode Radio IP (Metricom)
1991.1Ssimonb#pseudo-device	irframetty		# IrDA frame line discipline
2001.52Scube#pseudo-device	tun			# network tunneling over tty
2011.32Scube#pseudo-device	tap			# virtual Ethernet
2021.52Scube#pseudo-device	gre			# generic L3 over IP tunnel
2031.1Ssimonb#pseudo-device	ipip		2	# RFC 2003 IP Encapsulation
2041.52Scube#pseudo-device	gif			# RFC1933 tunnel
2051.52Scube#pseudo-device	faith			# IPv[46] tcp relay translation
2061.52Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2071.1Ssimonbpseudo-device	vlan			# IEEE 802.1q encapsulation
2081.1Ssimonbpseudo-device	bridge			# simple inter-network bridging
2091.19Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2101.61Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2111.1Ssimonb
2121.69Stls#
2131.69Stls# accept filters
2141.69Stlspseudo-device   accf_data		# "dataready" accept filter
2151.69Stlspseudo-device   accf_http		# "httpready" accept filter
2161.69Stls
2171.1Ssimonb# Miscellaneous pseudo-devices
2181.1Ssimonbpseudo-device	pty			# pseudo-terminals
2191.1Ssimonb#pseudo-device	sequencer	1	# MIDI sequencer
2201.1Ssimonbpseudo-device	rnd			# /dev/random & kernel generator
2211.8Slukempseudo-device	clockctl		# user control of clock subsystem
2221.21Sraggepseudo-device	ksyms			# /dev/ksyms
2231.26Sitojun#pseudo-device	pf			# PF packet filter
2241.26Sitojun#pseudo-device	pflog			# PF log if
2251.1Ssimonb
2261.1Ssimonb# A pseudo device needed for Coda	# also needs CODA (above)
2271.1Ssimonb#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
2281.48Selad
2291.48Selad# Veriexec
2301.48Selad#
2311.48Selad# a pseudo device needed for veriexec
2321.48Selad#pseudo-device	veriexec		1
2331.48Selad#
2341.48Selad# Uncomment the fingerprint methods below that are desired. Note that
2351.48Selad# removing fingerprint methods will have almost no impact on the kernel
2361.48Selad# code size.
2371.48Selad#
2381.48Selad#options VERIFIED_EXEC_FP_RMD160
2391.48Selad#options VERIFIED_EXEC_FP_SHA256
2401.48Selad#options VERIFIED_EXEC_FP_SHA384
2411.48Selad#options VERIFIED_EXEC_FP_SHA512
2421.48Selad#options VERIFIED_EXEC_FP_SHA1
2431.48Selad#options VERIFIED_EXEC_FP_MD5
244