GENERIC revision 1.129
11.129Smrg# $NetBSD: GENERIC,v 1.129 2017/09/14 07:58:39 mrg Exp $
21.1Smarcus#
31.14Sgmcgarry# GENERIC machine description file
41.14Sgmcgarry# 
51.14Sgmcgarry# This machine description file is used to generate the default NetBSD
61.14Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.14Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Smarcus#
91.14Sgmcgarry# The machine description file can be customised for your specific
101.14Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.14Sgmcgarry#
121.14Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.14Sgmcgarry# man page.
141.14Sgmcgarry#
151.14Sgmcgarry# For further information on hardware support for this architecture, see
161.14Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.14Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.14Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.14Sgmcgarry# device.
201.1Smarcus
211.14Sgmcgarryinclude 	"arch/dreamcast/conf/std.dreamcast"
221.23Satatat
231.23Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Smarcus
251.20Suchmaxusers	16		# estimated number of users
261.20Such
271.1Smarcus# Standard system options
281.1Smarcus#options 	INSECURE	# disable kernel security levels
291.1Smarcus
301.13Slukem#options 	RTC_OFFSET=-540
311.8Smarcusoptions 	HZ=100		# clock interrupt generates every 1/HZ sec
321.28Stsutsuioptions 	NTP		# NTP phase/frequency locked loop
331.1Smarcus
341.28Stsutsuioptions 	KTRACE		# system call tracing via ktrace(1)
351.16Sjdolecek
361.26Slukemoptions 	USERCONF	# userconf(4) support
371.29Sitohy#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
381.44Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
391.1Smarcus
401.28Stsutsuioptions 	SYSVMSG		# System V-like message queues
411.28Stsutsuioptions 	SYSVSEM		# System V-like semaphores
421.28Stsutsuioptions 	SYSVSHM		# System V-like memory sharing
431.1Smarcus
441.100Stsutsui#options 	MODULAR		# new style module(7) framework
451.119Sjnemeth#options 	MODULAR_DEFAULT_AUTOLOAD
461.98Stsutsui
471.1Smarcus# Diagnostic/debugging support options
481.62Schs#options 	DIAGNOSTIC	# cheap kernel consistency checks
491.1Smarcus#options 	DEBUG		# expensive debugging checks/support
501.28Stsutsuioptions 	DDB		# in-kernel debugger
511.18Such#options 	KGDB			# remote debugger
521.18Such#options 	"KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
531.1Smarcus#makeoptions	DEBUG="-g"	# compile full symbol table
541.117Sjoergmakeoptions	COPY_SYMTAB=1
551.1Smarcus#options 	SYSCALL_DEBUG
561.1Smarcus#options 	UVMHIST
571.13Slukem#options 	UVMHIST_PRINT
581.1Smarcus
591.1Smarcus# Compatibility options
601.129Smrginclude 	"conf/compat_netbsd16.config"
611.1Smarcus
621.1Smarcus# Executable format options
631.1Smarcusoptions 	EXEC_COFF	# COFF executables
641.1Smarcus
651.1Smarcus# File systems
661.1Smarcusfile-system 	FFS		# UFS
671.28Stsutsui#file-system	EXT2FS		# second extended file system (linux)
681.28Stsutsui#file-system	LFS		# log-structured file system
691.1Smarcusfile-system 	MFS		# memory file system
701.6Sthorpejfile-system 	NFS		# Network File System client
711.28Stsutsuifile-system	CD9660		# CD-ROM file system
721.28Stsutsui#file-system	MSDOSFS		# MS-DOS file system
731.28Stsutsuifile-system	FDESC		# /dev/fd
741.28Stsutsuifile-system 	KERNFS		# /kern
751.1Smarcusfile-system 	PROCFS		# /proc
761.1Smarcus#file-system 	NULLFS		# loopback file system
771.28Stsutsui#file-system	OVERLAY		# overlay file system
781.1Smarcus#file-system 	UMAPFS		# NULLFS + uid and gid remapping
791.107Sabsfile-system	UNION		# union file system
801.94Schsfile-system	PTYFS		# /dev/pts/N support
811.94Schsfile-system	TMPFS		# Efficient memory file-system
821.67Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
831.1Smarcus
841.1Smarcus# File system options
851.101Sbouyer#options 	QUOTA		# legacy UFS quotas
861.101Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
871.28Stsutsui#options 	FFS_EI		# FFS Endian Independent supoprt
881.104Sdhollandoptions 	WAPBL		# File system journaling support
891.53Stsutsui#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
901.1Smarcus#options 	NFSSERVER	# Network File System server
911.64Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
921.120Smanu#options 	UFS_EXTATTR	# Extended attribute support for UFS1
931.28Stsutsui#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
941.28Stsutsui				# immutable) behave as system flags.
951.1Smarcus
961.1Smarcus# Networking options
971.1Smarcusoptions 	INET		# IP + ICMP + TCP + UDP
981.28Stsutsuioptions 	INET6		# IPV6
991.28Stsutsui#options 	IPSEC		# IP security
1001.28Stsutsui#options 	IPSEC_DEBUG	# debug for IP security
1011.28Stsutsui#options 	MROUTING	# IP multicast routing
1021.45Smanu#options 	PIM		# Protocol Independent Multicast
1031.28Stsutsui#options 	NETATALK	# AppleTalk networking protocols
1041.28Stsutsui#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1051.28Stsutsui#options 	PPP_DEFLATE	# Deflrate compression support for PPP
1061.28Stsutsui#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1071.28Stsutsui#options 	IPFILTER_LOG	# ipmon(8) log support
1081.74Schristos#options 	IPFILTER_LOOKUP	# ippool(8) support
1091.28Stsutsui#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1101.28Stsutsui#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1111.1Smarcus
1121.42Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1131.42Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1141.42Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1151.42Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1161.42Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1171.42Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1181.42Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1191.42Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1201.42Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1211.42Sabs#options 	ALTQ_RED	# Random Early Detection
1221.42Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1231.42Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1241.42Sabs
1251.1Smarcus#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1261.28Stsutsui#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1271.1Smarcus#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1281.1Smarcus
1291.28Stsutsuioptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1301.28Stsutsui
1311.47Stsutsuioptions 	KLOADER		# in-kernel bootloader
1321.47Stsutsui#options 	KLOADER_DEBUG
1331.47Stsutsui
1341.28Stsutsui# wscons options
1351.28Stsutsuioptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1361.108Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1371.28Stsutsuioptions 	FONT_BOLD8x16
1381.28Stsutsui#options 	FONT_SONY8x16
1391.28Stsutsui
1401.1Smarcus# Kernel root file system and dump configuration.
1411.1Smarcus#config		netbsd	root on ? type nfs
1421.1Smarcus#config		netbsd	root on wd0a type ffs
1431.6Sthorpejconfig		netbsd	root on ? type ?
1441.1Smarcus
1451.1Smarcus#
1461.1Smarcus# Device configuration
1471.1Smarcus#
1481.1Smarcus
1491.1Smarcusmainbus0 at root
1501.1Smarcus
1511.20Suchcpu*		at mainbus?
1521.20Suchshb*		at mainbus?
1531.1Smarcus
1541.1Smarcus# Serial Devices
1551.28Stsutsui#options 	SCIFCONSOLE
1561.13Slukemoptions 	SCIFCN_SPEED=57600
1571.20Suchscif0		at shb?
1581.3Smarcus
1591.6Sthorpejpvr0		at shb?
1601.13Slukemwsdisplay*	at pvr? console ?
1611.3Smarcus
1621.6Sthorpejmaple0		at shb?
1631.29Sitohy
1641.6Sthorpejmkbd*		at maple? port ? subunit ?
1651.29Sitohywskbd*		at mkbd? mux 1 console ?
1661.29Sitohy
1671.29Sitohymms*		at maple? port ? subunit ?
1681.29Sitohywsmouse*	at mms? mux 0
1691.29Sitohy
1701.29Sitohymmem*		at maple? port ? subunit ?
1711.29Sitohymlcd*		at maple? port ? subunit ?
1721.6Sthorpej
1731.6Sthorpejgdrom0		at shb?
1741.6Sthorpej
1751.6Sthorpejg2bus0		at shb?
1761.75Suweg2rtc0		at g2bus?			# time-of-day clock
1771.6Sthorpejgapspci*	at g2bus?			# GAPS PCI bridge
1781.6Sthorpejpci*		at gapspci?
1791.6Sthorpejrtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
1801.91Stsutsuirlphy*		at mii? phy ?
1811.30Stsutsui
1821.30Stsutsuimbe*		at g2bus?			# SEGA LAN Adapter
1831.37Smarcus
1841.37Smarcusaica*		at g2bus?			# AICA Sound Processing Unit
1851.126Snataudio*		at audiobus?
1861.1Smarcus
1871.125Schristosspkr*		at audio?		# PC speaker (synthesized)
1881.123Snat
1891.112Schristos#pseudo-device	cgd			# cryptographic disk devices
1901.99Shannkenpseudo-device	md			# memory disk device (ramdisk)
1911.69Scubepseudo-device	vnd			# disk-like interface to files
1921.56Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
1931.28Stsutsui
1941.28Stsutsui# network pseudo-devices
1951.68Srpaulopseudo-device	bpfilter		# Berkeley packet filter
1961.71Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
1971.1Smarcus#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1981.1Smarcuspseudo-device	loop			# network loopback
1991.69Scube#pseudo-device	ppp			# Point-to-Point Protocol
2001.28Stsutsui#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2011.69Scube#pseudo-device	sl			# Serial Line IP
2021.69Scube#pseudo-device	tun			# network tunneling over tty
2031.48Scube#pseudo-device	tap			# virtual Ethernet
2041.69Scube#pseudo-device	gre			# generic L3 over IP tunnel
2051.69Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2061.69Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2071.69Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2081.28Stsutsui#pseudo-device	vlan			# IEEE 802.1q encapsulation
2091.28Stsutsui#pseudo-device	bridge			# simple inter-network bridging
2101.53Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2111.78Smartin#pseudo-device	agr			# IEEE 802.3ad link aggregation
2121.28Stsutsui
2131.86Stls#
2141.86Stls# accept filters
2151.86Stlspseudo-device   accf_data		# "dataready" accept filter
2161.86Stlspseudo-device   accf_http		# "httpready" accept filter
2171.86Stls
2181.28Stsutsui# miscellaneous pseudo-devices
2191.1Smarcuspseudo-device	pty			# pseudo-terminals
2201.25Slukempseudo-device	clockctl		# user control of clock subsystem
2211.29Sitohypseudo-device	wsmux			# mouse & keyboard multiplexor
2221.35Sraggepseudo-device	ksyms			# /dev/ksyms
2231.41Sitojun#pseudo-device	pf			# PF packet filter
2241.41Sitojun#pseudo-device	pflog			# PF log if
2251.66Selad
2261.66Selad# Veriexec
2271.66Selad#
2281.66Selad# a pseudo device needed for veriexec
2291.113Schristos#pseudo-device	veriexec
2301.66Selad#
2311.66Selad# Uncomment the fingerprint methods below that are desired. Note that
2321.66Selad# removing fingerprint methods will have almost no impact on the kernel
2331.66Selad# code size.
2341.66Selad#
2351.66Selad#options VERIFIED_EXEC_FP_SHA256
2361.66Selad#options VERIFIED_EXEC_FP_SHA384
2371.66Selad#options VERIFIED_EXEC_FP_SHA512
238