GENERIC revision 1.71
11.71Scube# $NetBSD: GENERIC,v 1.71 2005/01/17 15:28:52 cube Exp $
21.1Sws#
31.47Sgmcgarry# GENERIC machine description file
41.47Sgmcgarry# 
51.47Sgmcgarry# This machine description file is used to generate the default NetBSD
61.47Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.47Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Sws#
91.47Sgmcgarry# The machine description file can be customised for your specific
101.47Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.47Sgmcgarry#
121.47Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.47Sgmcgarry# man page.
141.47Sgmcgarry#
151.47Sgmcgarry# For further information on hardware support for this architecture, see
161.47Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.47Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.47Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.47Sgmcgarry# device.
201.1Sws
211.47Sgmcgarryinclude 	"arch/ofppc/conf/std.ofppc"
221.23Shubertf
231.52Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.52Satatat
251.71Scube#ident 		"GENERIC-$Revision: 1.71 $"
261.1Sws
271.1Swsmaxusers	32
281.1Sws
291.1Sws# various hacks due to bugs in Openfirmware implementation
301.6Slukemoptions 	FIRMWORKSBUGS
311.1Sws
321.34Sthorpej# Standard system options
331.34Sthorpej#options 	INSECURE	# disable kernel security checks
341.34Sthorpej#options 	NTP		# NTP phase/frequency locked loop
351.34Sthorpejoptions 	KTRACE		# system call tracing via ktrace(1)
361.58Sprovosoptions 	SYSTRACE	# system call vetting via systrace(1)
371.34Sthorpej
381.34Sthorpejoptions 	SYSVMSG		# System V message queues
391.34Sthorpejoptions 	SYSVSEM		# System V semaphores
401.45Slukem#options 	SEMMNI=10	# number of semaphore identifiers
411.45Slukem#options 	SEMMNS=60	# number of semaphores in system
421.45Slukem#options 	SEMUME=10	# max number of undo entries per process
431.45Slukem#options 	SEMMNU=30	# number of undo structures in system
441.34Sthorpejoptions 	SYSVSHM		# System V shared memory
451.34Sthorpej#options 	SHMMAXPGS=1024	# 1024 pages is the default
461.67Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
471.34Sthorpej
481.34Sthorpejoptions 	LKM		# loadable kernel modules
491.50Sjdolecek
501.55Slukemoptions 	USERCONF	# userconf(4) support
511.50Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
521.68Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
531.34Sthorpej
541.34Sthorpej# Diagnostic/debugging support options
551.34Sthorpejoptions 	DIAGNOSTIC	# cheap kernel consistency checks
561.45Slukem#options 	DEBUG		# expensive debugging checks/support
571.34Sthorpejoptions 	DDB		# in-kernel debugger
581.34Sthorpejoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
591.34Sthorpejoptions 	TRAP_PANICWAIT
601.1Sws
611.54Schsmakeoptions	DEBUG="-g"	# compile full symbol table
621.5Sthorpej
631.34Sthorpej# Compatibility option
641.34Sthorpejoptions 	COMPAT_09	# NetBSD 0.9,
651.34Sthorpejoptions 	COMPAT_10	# NetBSD 1.0,
661.34Sthorpejoptions 	COMPAT_11	# NetBSD 1.1,
671.34Sthorpejoptions 	COMPAT_12	# NetBSD 1.2,
681.34Sthorpejoptions 	COMPAT_13	# NetBSD 1.3,
691.34Sthorpejoptions 	COMPAT_14	# NetBSD 1.4,
701.34Sthorpejoptions 	COMPAT_43	# and 4.3BSD
711.11Sdrochneroptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
721.45Slukem#options 	COMPAT_LINUX	# Linux binary compatibility
731.39Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
741.70Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
751.1Sws
761.34Sthorpej# File systems
771.34Sthorpejfile-system 	FFS		# UFS
781.34Sthorpejfile-system 	EXT2FS		# second extended file system (linux)
791.34Sthorpejfile-system 	LFS		# log-structured file system
801.34Sthorpejfile-system 	MFS		# memory file system
811.34Sthorpejfile-system 	NFS		# Network file System client
821.34Sthorpejfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
831.34Sthorpejfile-system 	MSDOSFS		# MS-DOS file system
841.34Sthorpejfile-system 	FDESC		# /dev/fd
851.34Sthorpejfile-system 	KERNFS		# /kern
861.34Sthorpejfile-system 	NULLFS		# loopback file system
871.22Swrstudenfile-system 	OVERLAY		# overlay file system
881.34Sthorpejfile-system 	PORTAL		# portal file system (still experimental)
891.34Sthorpejfile-system 	PROCFS		# /proc
901.34Sthorpejfile-system 	UMAPFS		# NULLFS + uid and gid remapping
911.34Sthorpejfile-system 	UNION		# union file system
921.34Sthorpejfile-system 	NTFS		# Windows NT file system
931.34Sthorpej
941.34Sthorpej# File system options
951.34Sthorpejoptions 	QUOTA		# UFS quotas
961.34Sthorpejoptions 	FFS_EI		# FFS Endian Independent support
971.34Sthorpejoptions 	SOFTDEP		# FFS soft updates support
981.34Sthorpejoptions 	NFSSERVER	# Network File System server
991.45Slukem#options 	EXT2FS_SYSTEM_FLAGS	# makes ext2fs file flags (append and
1001.45Slukem					# immutable) behave as system flags.
1011.34Sthorpej
1021.34Sthorpejoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1031.34Sthorpej
1041.34Sthorpej# Networking options
1051.34Sthorpej#options 	GATEWAY		# packet forwarding
1061.34Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
1071.21Sitojunoptions 	INET6		# IPV6
1081.21Sitojun#options 	IPSEC		# IP security
1091.21Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1101.21Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1111.45Slukem#options 	MROUTING	# IP multicast routing
1121.69Smanu#options 	PIM		# Protocol Independent Multicast
1131.34Sthorpej#options 	NS		# XNS
1141.34Sthorpej#options 	NSIP		# XNS tunneling over IP
1151.34Sthorpej#options 	ISO,TPIP	# OSI
1161.34Sthorpej#options 	EON		# OSI tunneling over IP
1171.34Sthorpej#options 	CCITT,LLC,HDLC	# X.25
1181.34Sthorpej#options 	NETATALK	# AppleTalk networking protocols
1191.34Sthorpejoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1201.34Sthorpejoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1211.34Sthorpejoptions 	PPP_FILTER	# Active filter support for PPP (requires BPF)
1221.34Sthorpejoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1231.34Sthorpejoptions 	IPFILTER_LOG	# ipmon(8) log support
1241.57Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1251.6Slukemoptions 	NMBCLUSTERS=1024
1261.39Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1271.34Sthorpej
1281.66Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1291.66Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1301.66Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1311.66Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1321.66Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1331.66Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1341.66Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1351.66Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1361.66Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1371.66Sabs#options 	ALTQ_RED	# Random Early Detection
1381.66Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1391.66Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1401.66Sabs
1411.34Sthorpej# Kernel root file system and dump configuration
1421.4Sthorpejconfig		netbsd	root on ? type ?
1431.1Sws
1441.34Sthorpej#
1451.34Sthorpej# Device configuration
1461.34Sthorpej#
1471.34Sthorpej
1481.34Sthorpejmainbus*	at root
1491.1Sws
1501.34Sthorpej# Generic OpenFirmware bus support
1511.10Smycroftofbus*		at mainbus?
1521.10Smycroftofbus*		at ofbus?
1531.40Smatt
1541.44Sthorpej# CPUs
1551.44Sthorpejcpu*		at mainbus?
1561.1Sws
1571.34Sthorpej# Generic OpenFirmware disk support
1581.10Smycroftofdisk*		at ofbus?
1591.1Sws
1601.34Sthorpej# Generic OpenFirmware network interface support
1611.10Smycroftofnet*		at ofbus?
1621.1Sws
1631.34Sthorpej# Generic OpenFirmware console support
1641.10Smycroftofcons*		at ofbus?
1651.1Sws
1661.34Sthorpej# Generic OpenFirmware real-time clock support
1671.10Smycroftofrtc*		at ofbus?
1681.1Sws
1691.34Sthorpejpseudo-device	vnd		4	# disk-like interface to files
1701.34Sthorpejpseudo-device	ccd		4	# concatenated/striped disk devices
1711.59Selric#pseudo-device	cgd		4	# cryptographic disk devices
1721.49Soster#pesudo-device	raid		8	# RAIDframe disk driver
1731.34Sthorpej#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1741.49Soster# Options to enable various other RAIDframe RAID types.
1751.49Soster# options	RF_INCLUDE_EVENODD=1
1761.49Soster# options	RF_INCLUDE_RAID5_RS=1
1771.49Soster# options	RF_INCLUDE_PARITYLOGGING=1
1781.49Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
1791.49Soster# options	RF_INCLUDE_INTERDECLUSTER=1
1801.49Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
1811.49Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
1821.34Sthorpejpseudo-device	md		1	# memory disk device
1831.34Sthorpejpseudo-device	loop			# network loopback
1841.5Sthorpejpseudo-device	bpfilter	8	# packet filter
1851.34Sthorpejpseudo-device	ipfilter		# IP Filter (firewall) and NAT
1861.34Sthorpejpseudo-device	ppp		2	# Point-to-Point Protocol
1871.48Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1881.34Sthorpejpseudo-device	sl		2	# Serial Line IP
1891.34Sthorpejpseudo-device	tun		4	# network tunneling over tty
1901.71Scubepseudo-device	tap			# virtual Ethernet
1911.34Sthorpej#pseudo-device	gre		2	# generic L3 over IP tunnel
1921.34Sthorpejpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
1931.34Sthorpej#pseudo-device	faith			# IPv[46] tcp relay translation i/f
1941.34Sthorpej#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
1951.35Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
1961.46Satatatpseudo-device	bridge			# simple inter-network bridging
1971.60Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
1981.32Sjdolecekpseudo-device	pty			# pseudo-terminals
1991.33Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2001.53Slukempseudo-device	clockctl		# user control of clock subsystem
2011.54Schspseudo-device	openfirm		# /dev/openfirm
2021.62Sraggepseudo-device	ksyms			# /dev/ksyms
2031.65Sitojun#pseudo-device	pf			# PF packet filter
2041.65Sitojun#pseudo-device	pflog			# PF log if
2051.54Schs
2061.54Schsoptions	FIREPOWER_ES			# Firepower ES
2071.54Schsoptions	FIREPOWER_MX			# Firepower MX
2081.54Schsoptions	FIREPOWER_LX			# Firepower LX
209