GENERIC revision 1.72
11.72Schristos# $NetBSD: GENERIC,v 1.72 2006/08/12 15:29:52 christos 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.72Schristos#options 	SYSTRACE	# system call vetting via sistrace(1)
361.16Sjdolecek
371.26Slukemoptions 	USERCONF	# userconf(4) support
381.29Sitohy#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
391.44Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
401.1Smarcus
411.28Stsutsuioptions 	SYSVMSG		# System V-like message queues
421.28Stsutsuioptions 	SYSVSEM		# System V-like semaphores
431.13Slukem#options 	SEMMNI=10	# number of semaphore identifiers
441.13Slukem#options 	SEMMNS=60	# number of semaphores in system
451.13Slukem#options 	SEMUME=10	# max number of undo entries per process
461.13Slukem#options 	SEMMNU=30	# number of undo structures in system
471.28Stsutsuioptions 	SYSVSHM		# System V-like memory sharing
481.1Smarcus#options 	SHMMAXPGS=1024	# 1024 pages is the default
491.43Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
501.1Smarcus
511.1Smarcus# Diagnostic/debugging support options
521.62Schs#options 	DIAGNOSTIC	# cheap kernel consistency checks
531.1Smarcus#options 	DEBUG		# expensive debugging checks/support
541.28Stsutsui#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
551.28Stsutsuioptions 	DDB		# in-kernel debugger
561.18Such#options 	KGDB			# remote debugger
571.18Such#options 	"KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
581.1Smarcus#makeoptions	DEBUG="-g"	# compile full symbol table
591.70Sheoptions 	SYMTAB_SPACE=250000
601.1Smarcus#options 	SYSCALL_DEBUG
611.1Smarcus#options 	UVMHIST
621.13Slukem#options 	UVMHIST_PRINT
631.1Smarcus
641.1Smarcus# Compatibility options
651.49Stsutsuioptions 	COMPAT_16	# NetBSD 1.6,
661.49Stsutsuioptions 	COMPAT_20	# NetBSD 2.0,
671.59Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
681.1Smarcusoptions 	COMPAT_43	# and 4.3BSD
691.28Stsutsui#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
701.53Stsutsuioptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
711.1Smarcus
721.1Smarcus# Executable format options
731.1Smarcusoptions 	EXEC_COFF	# COFF executables
741.1Smarcusoptions 	EXEC_ELF32	# 32-bit ELF executables
751.1Smarcus
761.1Smarcus# File systems
771.1Smarcusfile-system 	FFS		# UFS
781.28Stsutsui#file-system	EXT2FS		# second extended file system (linux)
791.28Stsutsui#file-system	LFS		# log-structured file system
801.1Smarcusfile-system 	MFS		# memory file system
811.6Sthorpejfile-system 	NFS		# Network File System client
821.28Stsutsuifile-system	CD9660		# CD-ROM file system
831.28Stsutsui#file-system	MSDOSFS		# MS-DOS file system
841.28Stsutsuifile-system	FDESC		# /dev/fd
851.28Stsutsuifile-system 	KERNFS		# /kern
861.1Smarcusfile-system 	PROCFS		# /proc
871.1Smarcus#file-system 	NULLFS		# loopback file system
881.28Stsutsui#file-system	OVERLAY		# overlay file system
891.28Stsutsui#file-system	PORTAL		# portal file system (still experimental)
901.1Smarcus#file-system 	UMAPFS		# NULLFS + uid and gid remapping
911.28Stsutsui#file-system	UNION		# union file system
921.60Schristos#file-system	PTYFS		# /dev/pts/N support
931.61Sjmmv#file-system	TMPFS		# experimental - Efficient memory file-system
941.67Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
951.1Smarcus
961.1Smarcus# File system options
971.1Smarcus#options 	QUOTA		# UFS quotas
981.28Stsutsui#options 	FFS_EI		# FFS Endian Independent supoprt
991.28Stsutsui#options 	SOFTDEP		# FFS soft updates support
1001.53Stsutsui#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1011.1Smarcus#options 	NFSSERVER	# Network File System server
1021.64Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1031.28Stsutsui#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1041.28Stsutsui				# immutable) behave as system flags.
1051.1Smarcus
1061.1Smarcus# Networking options
1071.1Smarcusoptions 	INET		# IP + ICMP + TCP + UDP
1081.28Stsutsuioptions 	INET6		# IPV6
1091.28Stsutsui#options 	IPSEC		# IP security
1101.28Stsutsui#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1111.55Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1121.28Stsutsui#options 	IPSEC_DEBUG	# debug for IP security
1131.28Stsutsui#options 	MROUTING	# IP multicast routing
1141.45Smanu#options 	PIM		# Protocol Independent Multicast
1151.28Stsutsui#options 	NS		# XNS
1161.28Stsutsui#options 	NSIP		# XNS tunneling over IP
1171.28Stsutsui#options 	ISO,TPIP	# OSI
1181.28Stsutsui#options 	EON		# OSI tunneling over IP
1191.28Stsutsui#options 	CCITT,LLC, HDLC	# X.25
1201.28Stsutsui#options 	NETATALK	# AppleTalk networking protocols
1211.28Stsutsui#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1221.28Stsutsui#options 	PPP_DEFLATE	# Deflrate compression support for PPP
1231.28Stsutsui#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1241.28Stsutsui#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1251.28Stsutsui#options 	IPFILTER_LOG	# ipmon(8) log support
1261.28Stsutsui#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1271.28Stsutsui#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1281.1Smarcus
1291.42Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1301.42Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1311.42Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1321.42Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1331.42Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1341.42Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1351.42Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1361.42Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1371.42Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1381.42Sabs#options 	ALTQ_RED	# Random Early Detection
1391.42Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1401.42Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1411.42Sabs
1421.1Smarcus#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1431.28Stsutsui#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1441.1Smarcus#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1451.1Smarcus
1461.28Stsutsuioptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1471.28Stsutsui
1481.47Stsutsuioptions 	KLOADER		# in-kernel bootloader
1491.47Stsutsui#options 	KLOADER_DEBUG
1501.47Stsutsui
1511.28Stsutsui# wscons options
1521.28Stsutsuioptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1531.28Stsutsuioptions 	FONT_BOLD8x16
1541.28Stsutsui#options 	FONT_SONY8x16
1551.28Stsutsui
1561.1Smarcus# Kernel root file system and dump configuration.
1571.1Smarcus#config		netbsd	root on ? type nfs
1581.1Smarcus#config		netbsd	root on wd0a type ffs
1591.6Sthorpejconfig		netbsd	root on ? type ?
1601.1Smarcus
1611.1Smarcus#
1621.1Smarcus# Device configuration
1631.1Smarcus#
1641.1Smarcus
1651.1Smarcusmainbus0 at root
1661.1Smarcus
1671.20Suchcpu*		at mainbus?
1681.20Suchshb*		at mainbus?
1691.1Smarcus
1701.1Smarcus# Serial Devices
1711.28Stsutsui#options 	SCIFCONSOLE
1721.13Slukemoptions 	SCIFCN_SPEED=57600
1731.20Suchscif0		at shb?
1741.3Smarcus
1751.6Sthorpejpvr0		at shb?
1761.13Slukemwsdisplay*	at pvr? console ?
1771.3Smarcus
1781.6Sthorpejmaple0		at shb?
1791.29Sitohy
1801.6Sthorpejmkbd*		at maple? port ? subunit ?
1811.29Sitohywskbd*		at mkbd? mux 1 console ?
1821.29Sitohy
1831.29Sitohymms*		at maple? port ? subunit ?
1841.29Sitohywsmouse*	at mms? mux 0
1851.29Sitohy
1861.29Sitohymmem*		at maple? port ? subunit ?
1871.29Sitohymlcd*		at maple? port ? subunit ?
1881.6Sthorpej
1891.6Sthorpejgdrom0		at shb?
1901.6Sthorpej
1911.6Sthorpejg2bus0		at shb?
1921.6Sthorpejgapspci*	at g2bus?			# GAPS PCI bridge
1931.6Sthorpejpci*		at gapspci?
1941.6Sthorpejrtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
1951.6Sthorpejukphy*		at mii? phy ?
1961.30Stsutsui
1971.30Stsutsuimbe*		at g2bus?			# SEGA LAN Adapter
1981.37Smarcus
1991.37Smarcusaica*		at g2bus?			# AICA Sound Processing Unit
2001.37Smarcusaudio*		at aica?
2011.1Smarcus
2021.28Stsutsui#pseudo-device	cgd		2	# cryptographic disk devices
2031.28Stsutsuipseudo-device	md		1	# memory disk device (ramdisk)
2041.69Scubepseudo-device	vnd			# disk-like interface to files
2051.56Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2061.28Stsutsui
2071.28Stsutsui# network pseudo-devices
2081.68Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2091.71Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
2101.1Smarcus#pseudo-device	ipfilter		# IP filter (firewall) and NAT
2111.1Smarcuspseudo-device	loop			# network loopback
2121.69Scube#pseudo-device	ppp			# Point-to-Point Protocol
2131.28Stsutsui#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2141.69Scube#pseudo-device	sl			# Serial Line IP
2151.69Scube#pseudo-device	tun			# network tunneling over tty
2161.48Scube#pseudo-device	tap			# virtual Ethernet
2171.69Scube#pseudo-device	gre			# generic L3 over IP tunnel
2181.69Scube#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2191.69Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2201.69Scube#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2211.28Stsutsui#pseudo-device	vlan			# IEEE 802.1q encapsulation
2221.28Stsutsui#pseudo-device	bridge			# simple inter-network bridging
2231.53Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2241.28Stsutsui
2251.28Stsutsui# miscellaneous pseudo-devices
2261.1Smarcuspseudo-device	pty			# pseudo-terminals
2271.9Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2281.25Slukempseudo-device	clockctl		# user control of clock subsystem
2291.29Sitohypseudo-device	wsmux			# mouse & keyboard multiplexor
2301.35Sraggepseudo-device	ksyms			# /dev/ksyms
2311.41Sitojun#pseudo-device	pf			# PF packet filter
2321.41Sitojun#pseudo-device	pflog			# PF log if
2331.66Selad
2341.66Selad# Veriexec
2351.66Selad#options VERIFIED_EXEC
2361.66Selad#
2371.66Selad# a pseudo device needed for veriexec
2381.66Selad#pseudo-device	veriexec		1
2391.66Selad#
2401.66Selad# Uncomment the fingerprint methods below that are desired. Note that
2411.66Selad# removing fingerprint methods will have almost no impact on the kernel
2421.66Selad# code size.
2431.66Selad#
2441.66Selad#options VERIFIED_EXEC_FP_RMD160
2451.66Selad#options VERIFIED_EXEC_FP_SHA256
2461.66Selad#options VERIFIED_EXEC_FP_SHA384
2471.66Selad#options VERIFIED_EXEC_FP_SHA512
2481.66Selad#options VERIFIED_EXEC_FP_SHA1
2491.66Selad#options VERIFIED_EXEC_FP_MD5
250