GENERIC revision 1.42
11.42Sabs# $NetBSD: GENERIC,v 1.42 2004/06/26 07:32:06 abs 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.28Stsutsuioptions 	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.1Smarcus
401.28Stsutsuioptions 	SYSVMSG		# System V-like message queues
411.28Stsutsuioptions 	SYSVSEM		# System V-like semaphores
421.13Slukem#options 	SEMMNI=10	# number of semaphore identifiers
431.13Slukem#options 	SEMMNS=60	# number of semaphores in system
441.13Slukem#options 	SEMUME=10	# max number of undo entries per process
451.13Slukem#options 	SEMMNU=30	# number of undo structures in system
461.28Stsutsuioptions 	SYSVSHM		# System V-like memory sharing
471.1Smarcus#options 	SHMMAXPGS=1024	# 1024 pages is the default
481.1Smarcus
491.1Smarcus# Diagnostic/debugging support options
501.28Stsutsuioptions 	DIAGNOSTIC	# cheap kernel consistency checks
511.1Smarcus#options 	DEBUG		# expensive debugging checks/support
521.28Stsutsui#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
531.28Stsutsuioptions 	DDB		# in-kernel debugger
541.18Such#options 	KGDB			# remote debugger
551.18Such#options 	"KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
561.1Smarcus#makeoptions	DEBUG="-g"	# compile full symbol table
571.38Stsutsuioptions 	SYMTAB_SPACE=204800
581.1Smarcus#options 	SYSCALL_DEBUG
591.1Smarcus#options 	UVMHIST
601.13Slukem#options 	UVMHIST_PRINT
611.1Smarcus
621.1Smarcus# Compatibility options
631.1Smarcusoptions 	COMPAT_43	# and 4.3BSD
641.28Stsutsui#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
651.1Smarcus
661.1Smarcus# Executable format options
671.1Smarcusoptions 	EXEC_COFF	# COFF executables
681.1Smarcusoptions 	EXEC_ELF32	# 32-bit ELF executables
691.1Smarcus
701.1Smarcus# File systems
711.1Smarcusfile-system 	FFS		# UFS
721.28Stsutsui#file-system	EXT2FS		# second extended file system (linux)
731.28Stsutsui#file-system	LFS		# log-structured file system
741.1Smarcusfile-system 	MFS		# memory file system
751.6Sthorpejfile-system 	NFS		# Network File System client
761.28Stsutsuifile-system	CD9660		# CD-ROM file system
771.28Stsutsui#file-system	MSDOSFS		# MS-DOS file system
781.28Stsutsuifile-system	FDESC		# /dev/fd
791.28Stsutsuifile-system 	KERNFS		# /kern
801.1Smarcusfile-system 	PROCFS		# /proc
811.1Smarcus#file-system 	NULLFS		# loopback file system
821.28Stsutsui#file-system	OVERLAY		# overlay file system
831.28Stsutsui#file-system	PORTAL		# portal file system (still experimental)
841.1Smarcus#file-system 	UMAPFS		# NULLFS + uid and gid remapping
851.28Stsutsui#file-system	UNION		# union file system
861.1Smarcus
871.1Smarcus# File system options
881.1Smarcus#options 	QUOTA		# UFS quotas
891.28Stsutsui#options 	FFS_EI		# FFS Endian Independent supoprt
901.28Stsutsui#options 	SOFTDEP		# FFS soft updates support
911.1Smarcus#options 	NFSSERVER	# Network File System server
921.28Stsutsui#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
931.28Stsutsui				# immutable) behave as system flags.
941.1Smarcus
951.1Smarcus# Networking options
961.1Smarcusoptions 	INET		# IP + ICMP + TCP + UDP
971.28Stsutsuioptions 	INET6		# IPV6
981.28Stsutsui#options 	IPSEC		# IP security
991.28Stsutsui#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1001.28Stsutsui#options 	IPSEC_DEBUG	# debug for IP security
1011.28Stsutsui#options 	MROUTING	# IP multicast routing
1021.28Stsutsui#options 	NS		# XNS
1031.28Stsutsui#options 	NSIP		# XNS tunneling over IP
1041.28Stsutsui#options 	ISO,TPIP	# OSI
1051.28Stsutsui#options 	EON		# OSI tunneling over IP
1061.28Stsutsui#options 	CCITT,LLC, HDLC	# X.25
1071.28Stsutsui#options 	NETATALK	# AppleTalk networking protocols
1081.28Stsutsui#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1091.28Stsutsui#options 	PPP_DEFLATE	# Deflrate compression support for PPP
1101.28Stsutsui#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1111.28Stsutsui#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1121.28Stsutsui#options 	IPFILTER_LOG	# ipmon(8) log support
1131.28Stsutsui#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1141.28Stsutsui#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1151.1Smarcus
1161.42Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1171.42Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1181.42Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1191.42Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1201.42Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1211.42Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1221.42Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1231.42Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1241.42Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1251.42Sabs#options 	ALTQ_RED	# Random Early Detection
1261.42Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1271.42Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1281.42Sabs
1291.1Smarcus#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1301.28Stsutsui#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1311.1Smarcus#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1321.1Smarcus
1331.28Stsutsuioptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1341.28Stsutsui
1351.28Stsutsui# wscons options
1361.28Stsutsuioptions 	WSEMUL_VT100		# VT100 / VT220 emulation
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.6Sthorpejgapspci*	at g2bus?			# GAPS PCI bridge
1771.6Sthorpejpci*		at gapspci?
1781.6Sthorpejrtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
1791.6Sthorpejukphy*		at mii? phy ?
1801.30Stsutsui
1811.30Stsutsuimbe*		at g2bus?			# SEGA LAN Adapter
1821.37Smarcus
1831.37Smarcusaica*		at g2bus?			# AICA Sound Processing Unit
1841.37Smarcusaudio*		at aica?
1851.1Smarcus
1861.28Stsutsui#pseudo-device	cgd		2	# cryptographic disk devices
1871.28Stsutsuipseudo-device	md		1	# memory disk device (ramdisk)
1881.28Stsutsuipseudo-device	vnd		2	# disk-like interface to files
1891.28Stsutsui
1901.28Stsutsui# network pseudo-devices
1911.28Stsutsuipseudo-device	bpfilter	4	# Berkeley packet filter
1921.1Smarcus#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1931.1Smarcuspseudo-device	loop			# network loopback
1941.28Stsutsui#pseudo-device	ppp		1	# Point-to-Point Protocol
1951.28Stsutsui#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1961.28Stsutsui#pseudo-device	sl		1	# Serial Line IP
1971.28Stsutsui#pseudo-device	tun		1	# network tunneling over tty
1981.28Stsutsui#pseudo-device	gre		1	# generic L3 over IP tunnel
1991.28Stsutsui#pseudo-device	gif		1	# IPv[46] over IPv[46] tunnel (RFC1933)
2001.28Stsutsui#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2011.28Stsutsui#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2021.28Stsutsui#pseudo-device	vlan			# IEEE 802.1q encapsulation
2031.28Stsutsui#pseudo-device	bridge			# simple inter-network bridging
2041.32Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2051.28Stsutsui
2061.28Stsutsui# miscellaneous pseudo-devices
2071.1Smarcuspseudo-device	pty			# pseudo-terminals
2081.9Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2091.25Slukempseudo-device	clockctl		# user control of clock subsystem
2101.29Sitohypseudo-device	wsmux			# mouse & keyboard multiplexor
2111.35Sraggepseudo-device	ksyms			# /dev/ksyms
2121.41Sitojun#pseudo-device	pf			# PF packet filter
2131.41Sitojun#pseudo-device	pflog			# PF log if
214