GENERIC revision 1.100
11.100Smanu# $NetBSD: GENERIC,v 1.100 2014/11/12 10:47:23 manu 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.100Smanu#ident 		"GENERIC-$Revision: 1.100 $"
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.1Ssimonb#options 	NTP		# network time protocol
251.1Ssimonb
261.1Ssimonb# Debugging options
271.46Schs#options 	DIAGNOSTIC	# extra kernel sanity checking
281.1Ssimonb#options 	DEBUG		# extra kernel debugging support
291.1Ssimonb#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
301.10Slukemoptions 	USERCONF	# userconf(4) support
311.29Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
321.1Ssimonboptions 	DDB		# kernel dynamic debugger
331.1Ssimonboptions 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
341.1Ssimonb#makeoptions 	DEBUG="-g"	# compile full symbol table
351.98Sjoergmakeoptions	COPY_SYMTAB=1	# size for embedded symbol table
361.1Ssimonb
371.1Ssimonb# Compatibility options
381.1Ssimonboptions 	COMPAT_43	# compatibility with 4.3BSD binaries
391.99Sdholland#options 	COMPAT_09	# NetBSD 0.9,
401.99Sdholland#options 	COMPAT_10	# NetBSD 1.0,
411.99Sdholland#options 	COMPAT_11	# NetBSD 1.1,
421.99Sdholland#options 	COMPAT_12	# NetBSD 1.2,
431.99Sdholland#options 	COMPAT_13	# NetBSD 1.3,
441.99Sdholland#options 	COMPAT_14	# NetBSD 1.4,
451.99Sdholland#options 	COMPAT_15	# NetBSD 1.5,
461.99Sdhollandoptions 	COMPAT_16	# NetBSD 1.6,
471.99Sdhollandoptions 	COMPAT_20	# NetBSD 2.0,
481.99Sdhollandoptions 	COMPAT_30	# NetBSD 3.0,
491.99Sdhollandoptions 	COMPAT_40	# NetBSD 4.0,
501.99Sdhollandoptions 	COMPAT_50	# NetBSD 5.0,
511.99Sdhollandoptions 	COMPAT_60	# NetBSD 6.0, and
521.99Sdhollandoptions 	COMPAT_70	# NetBSD 7.0 binary compatibility
531.1Ssimonb#options 	EXEC_ECOFF	# exec ECOFF binaries
541.1Ssimonb#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
551.31Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
561.1Ssimonb
571.1Ssimonb# File systems
581.1Ssimonbfile-system	FFS		# Berkeley Fast Filesystem
591.1Ssimonbfile-system	NFS		# Sun NFS-compatible filesystem client
601.1Ssimonbfile-system	KERNFS		# kernel data-structure filesystem
611.1Ssimonb#file-system	NULLFS		# NULL layered filesystem
621.1Ssimonbfile-system 	OVERLAY		# overlay file system
631.1Ssimonbfile-system	MFS		# memory-based filesystem
641.1Ssimonbfile-system	FDESC		# user file descriptor filesystem
651.1Ssimonb#file-system	UMAPFS		# uid/gid remapping filesystem
661.1Ssimonbfile-system	LFS		# Log-based filesystem (still experimental)
671.6Ssimonbfile-system	PROCFS		# /proc
681.1Ssimonb#file-system	CD9660		# ISO 9660 + Rock Ridge file system
691.1Ssimonb#file-system	UNION		# union file system
701.1Ssimonb#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
711.1Ssimonb#file-system 	CODA		# Coda File System; also needs vcoda (below)
721.44Schristosfile-system	PTYFS		# /dev/pts/N support
731.77Schsfile-system	TMPFS		# Efficient memory file-system
741.50Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
751.1Ssimonb
761.1Ssimonb# File system options
771.1Ssimonboptions 	NFSSERVER	# Sun NFS-compatible filesystem server
781.82Sbouyeroptions 	QUOTA		# legacy UFS quotas
791.82Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
801.47Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
811.100Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
821.100Smanuoptions 	UFS_EXTATTR_AUTOSTART
831.100Smanuoptions 	UFS_EXTATTR_AUTOCREATE=1024
841.83Swiz#options 	FFS_EI		# FFS Endian Independent support
851.86Sdhollandoptions 	WAPBL		# File system journaling support
861.33Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
871.1Ssimonb#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
881.1Ssimonb				# immutable) behave as system flags.
891.1Ssimonb
901.1Ssimonb# Networking options
911.1Ssimonb#options 	GATEWAY		# IP packet forwarding
921.1Ssimonboptions 	INET		# Internet protocols
931.1Ssimonboptions 	INET6		# IPV6
941.1Ssimonb#options 	IPSEC		# IP security
951.1Ssimonb#options 	IPSEC_DEBUG	# debug for IP security
961.1Ssimonb#options 	MROUTING	# packet forwarding of multicast packets
971.30Smanu#options 	PIM		# Protocol Independent Multicast
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 	IPFILTER_LOG	# ipmon(8) log support
1031.57Schristosoptions 	IPFILTER_LOOKUP	# ippool(8) support
1041.78Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1051.12Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1061.1Ssimonb
1071.27Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1081.27Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1091.27Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1101.27Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1111.27Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1121.27Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1131.27Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1141.27Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1151.27Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1161.27Sabs#options 	ALTQ_RED	# Random Early Detection
1171.27Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1181.27Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1191.27Sabs
1201.1Ssimonb# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1211.1Ssimonb#options 	TCP_COMPAT_42
1221.1Ssimonb
1231.96Salnsn# JIT compiler for bpfilter
1241.96Salnsn#options	SLJIT
1251.96Salnsn#options	BPFJIT
1261.96Salnsn
1271.1Ssimonb# These options enable verbose messages for several subsystems.
1281.1Ssimonb# Warning, these may compile large string tables into the kernel!
1291.1Ssimonboptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1301.1Ssimonb#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1311.1Ssimonb#options 	SCSIVERBOSE	# human readable SCSI error messages
1321.1Ssimonboptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1331.1Ssimonb
1341.1Ssimonboptions 	NFS_BOOT_DHCP
1351.1Ssimonb
1361.1Ssimonb#config		netbsd	root on ? type ?
1371.1Ssimonbconfig		netbsd	root on sbmac0 type nfs
1381.1Ssimonb
1391.1Ssimonbzbbus*		at root
1401.1Ssimonb
1411.6Ssimonbcpu*		at zbbus? busid ?
1421.1Ssimonbsbscd*		at zbbus? busid ?
1431.81Smattsbbrz*		at zbbus? busid ?
1441.1Ssimonbsbobio*		at zbbus? busid ?
1451.1Ssimonb
1461.81Smattpci*		at sbbrz? bus ?
1471.81Smattppb*		at pci? dev ?
1481.81Smattpci*		at ppb?
1491.81Smatt
1501.81Smattohci*		at pci? dev ? function ?        # Open Host Controller
1511.81Smatt
1521.81Smattbge*		at pci? dev ?
1531.81Smatt
1541.81Smatt#sbicu*		at sbscd? offset ?
1551.81Smattsbwdog*		at sbscd? offset ? intr ?
1561.81Smattsbtimer0	at sbscd? offset ? intr ? flags 0x01		# clock
1571.81Smatt#sbtimer1	at sbscd? offset ? intr ? flags 0x02		# statclock
1581.81Smattsbtimer*	at sbscd? offset ? intr ?
1591.81Smatt
1601.81Smattsbmac*		at sbobio? offset ?
1611.81Smattsbscn*		at sbobio? offset ?
1621.81Smatt#sbgbus*	at sbobio? offset ?
1631.81Smattsmbus*		at sbobio? offset ?
1641.7Ssimonb
1651.16Ssimonbxirtc*		at smbus? chan ? dev ?		# Xicor X1241 RTC
1661.23Ssimonbm41t81rtc*	at smbus? chan ? dev ?		# ST M41T81 RTC
1671.1Ssimonb
1681.1Ssimonb# MII/PHY support
1691.6Ssimonbbrgphy*		at mii? phy ?
1701.1Ssimonb
1711.81Smatt# USB
1721.81Smattusb*		at ohci?
1731.81Smattuhub*		at usb?
1741.81Smattuhub*		at uhub? port ?
1751.81Smattumass*		at uhub? port ? configuration ? interface ?
1761.81Smattwd*		at umass?
1771.81Smattscsibus*	at umass? channel ?
1781.81Smattsd*		at scsibus? target ? lun ?
1791.81Smattuplcom* 	at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
1801.81Smattucom*   	at uplcom? portno ?
1811.81Smatt
1821.1Ssimonb# Pseudo-devices
1831.1Ssimonb
1841.1Ssimonb# Disk/mass storage pseudo-devices
1851.91Schristospseudo-device	ccd			# concatenated disk devices
1861.91Schristos#pseudo-device	cgd			# cryptographic disk devices
1871.92Schristos#pseudo-device	raid			# RAIDframe disk driver
1881.1Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID
1891.80Shannkenpseudo-device	md			# memory disk device (ramdisk)
1901.52Scubepseudo-device	vnd			# disk-like interface to files
1911.39Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
1921.1Ssimonb
1931.1Ssimonb# Network pseudo-devices
1941.51Srpaulopseudo-device	bpfilter		# Berkeley packet filter
1951.53Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
1961.1Ssimonbpseudo-device	ipfilter		# IP filter (firewall) and NAT
1971.1Ssimonbpseudo-device	loop			# network loopback
1981.52Scube#pseudo-device	ppp			# Point-to-Point Protocol
1991.1Ssimonb#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2001.52Scube#pseudo-device	sl			# Serial Line IP
2011.52Scube#pseudo-device	strip			# Starmode Radio IP (Metricom)
2021.1Ssimonb#pseudo-device	irframetty		# IrDA frame line discipline
2031.52Scube#pseudo-device	tun			# network tunneling over tty
2041.32Scube#pseudo-device	tap			# virtual Ethernet
2051.52Scube#pseudo-device	gre			# generic L3 over IP tunnel
2061.92Schristos#pseudo-device	ipip			# RFC 2003 IP Encapsulation
2071.52Scube#pseudo-device	gif			# RFC1933 tunnel
2081.52Scube#pseudo-device	faith			# IPv[46] tcp relay translation
2091.52Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2101.1Ssimonbpseudo-device	vlan			# IEEE 802.1q encapsulation
2111.1Ssimonbpseudo-device	bridge			# simple inter-network bridging
2121.19Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2131.61Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2141.1Ssimonb
2151.69Stls#
2161.69Stls# accept filters
2171.69Stlspseudo-device   accf_data		# "dataready" accept filter
2181.69Stlspseudo-device   accf_http		# "httpready" accept filter
2191.69Stls
2201.1Ssimonb# Miscellaneous pseudo-devices
2211.1Ssimonbpseudo-device	pty			# pseudo-terminals
2221.93Schristos#pseudo-device	sequencer		# MIDI sequencer
2231.8Slukempseudo-device	clockctl		# user control of clock subsystem
2241.21Sraggepseudo-device	ksyms			# /dev/ksyms
2251.26Sitojun#pseudo-device	pf			# PF packet filter
2261.26Sitojun#pseudo-device	pflog			# PF log if
2271.1Ssimonb
2281.1Ssimonb# A pseudo device needed for Coda	# also needs CODA (above)
2291.92Schristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
2301.48Selad
2311.48Selad# Veriexec
2321.48Selad#
2331.48Selad# a pseudo device needed for veriexec
2341.92Schristos#pseudo-device	veriexec
2351.48Selad#
2361.48Selad# Uncomment the fingerprint methods below that are desired. Note that
2371.48Selad# removing fingerprint methods will have almost no impact on the kernel
2381.48Selad# code size.
2391.48Selad#
2401.48Selad#options VERIFIED_EXEC_FP_RMD160
2411.48Selad#options VERIFIED_EXEC_FP_SHA256
2421.48Selad#options VERIFIED_EXEC_FP_SHA384
2431.48Selad#options VERIFIED_EXEC_FP_SHA512
2441.48Selad#options VERIFIED_EXEC_FP_SHA1
2451.48Selad#options VERIFIED_EXEC_FP_MD5
246