GENERIC revision 1.32
11.32Smanu# $NetBSD: GENERIC,v 1.32 2014/11/12 10:47:23 manu Exp $
21.1Sgarbled#
31.1Sgarbled# GENERIC machine description file
41.1Sgarbled# 
51.1Sgarbled# This machine description file is used to generate the default NetBSD
61.1Sgarbled# kernel.  The generic kernel does not include all options, subsystems
71.1Sgarbled# and device drivers, but should be useful for most applications.
81.1Sgarbled#
91.1Sgarbled# The machine description file can be customised for your specific
101.1Sgarbled# machine to reduce the kernel size and improve its performance.
111.1Sgarbled#
121.1Sgarbled# For further information on compiling NetBSD kernels, see the config(8)
131.1Sgarbled# man page.
141.1Sgarbled#
151.1Sgarbled# For further information on hardware support for this architecture, see
161.1Sgarbled# the intro(4) man page.  For further information about kernel options
171.1Sgarbled# for this architecture, see the options(4) man page.  For an explanation
181.1Sgarbled# of each device driver in this file see the section 4 man page for the
191.1Sgarbled# device.
201.1Sgarbled
211.1Sgarbledinclude 	"arch/rs6000/conf/std.rs6000"
221.1Sgarbled
231.1Sgarbledoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Sgarbled
251.1Sgarbled#makeoptions	COPTS="-O2 -mno-powerpc -mno-power"	# wheeee
261.1Sgarbled
271.32Smanu#ident		"GENERIC-$Revision: 1.32 $"
281.1Sgarbled
291.1Sgarbledmaxusers	32
301.1Sgarbled
311.1Sgarbled# Platform support
321.1Sgarbled
331.1Sgarbledoptions		PIC_IOCC
341.1Sgarbled
351.1Sgarbled# Standard system options
361.1Sgarbled
371.1Sgarbledoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
381.1Sgarbledoptions 	NTP		# NTP phase/frequency locked loop
391.1Sgarbled
401.1Sgarbledoptions 	KTRACE		# system call tracing via ktrace(1)
411.1Sgarbled
421.1Sgarbledoptions 	SYSVMSG		# System V-like message queues
431.1Sgarbledoptions 	SYSVSEM		# System V-like semaphores
441.1Sgarbled#options 	SEMMNI=10	# number of semaphore identifiers
451.1Sgarbled#options 	SEMMNS=60	# number of semaphores in system
461.1Sgarbled#options 	SEMUME=10	# max number of undo entries per process
471.1Sgarbled#options 	SEMMNU=30	# number of undo structures in system
481.1Sgarbledoptions 	SYSVSHM		# System V-like memory sharing
491.1Sgarbled
501.1Sgarbledoptions 	USERCONF	# userconf(4) support
511.1Sgarbled#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
521.1Sgarbledoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
531.1Sgarbled
541.1Sgarbled# Enable experimental buffer queue strategy for better responsiveness under 
551.1Sgarbled# high disk I/O load. Use it with caution - it's not proven to be stable yet.
561.1Sgarbled#options 	BUFQ_READPRIO
571.1Sgarbled#options 	BUFQ_PRIOCSCAN
581.1Sgarbled
591.1Sgarbled# Diagnostic/debugging support options
601.1Sgarbled#options 	DIAGNOSTIC	# cheap kernel consistency checks
611.1Sgarbledoptions 	DEBUG		# expensive debugging checks/support
621.1Sgarbledoptions		PMAPDEBUG
631.1Sgarbled#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
641.1Sgarbledoptions 	DDB		# in-kernel debugger
651.1Sgarbled#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
661.1Sgarbled#makeoptions	DEBUG="-g"
671.1Sgarbled
681.1Sgarbled# Compatibility options
691.1Sgarbled#options 	COMPAT_13	# NetBSD 1.3,
701.1Sgarbled#options 	COMPAT_14	# NetBSD 1.4,
711.1Sgarbled#options 	COMPAT_15	# NetBSD 1.5,
721.1Sgarbled#options 	COMPAT_16	# NetBSD 1.6,
731.1Sgarbled#options 	COMPAT_20	# NetBSD 2.0,
741.4Stsutsui#options 	COMPAT_30	# NetBSD 3.0,
751.30Sdholland#options 	COMPAT_40	# NetBSD 4.0,
761.30Sdhollandoptions 	COMPAT_50	# NetBSD 5.0,
771.30Sdhollandoptions 	COMPAT_60	# NetBSD 6.0, and
781.30Sdhollandoptions 	COMPAT_70	# NetBSD 7.0 binary compatibility.
791.1Sgarbledoptions 	COMPAT_43	# and 4.3BSD
801.1Sgarbled#options 	COMPAT_LINUX	# Linux binary compatibility
811.1Sgarbled#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
821.1Sgarbledoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
831.1Sgarbled
841.1Sgarbled# File systems
851.1Sgarbledfile-system 	FFS		# UFS
861.1Sgarbledfile-system	EXT2FS		# second extended file system (linux)
871.1Sgarbled#file-system	LFS		# log-structured file system
881.1Sgarbledfile-system 	MFS		# memory file system
891.1Sgarbledfile-system 	NFS		# Network File System client
901.1Sgarbled#file-system	NTFS		# Windows/NT file system (experimental)
911.1Sgarbledfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
921.1Sgarbledfile-system 	MSDOSFS		# MS-DOS file system
931.1Sgarbled#file-system 	FDESC		# /dev/fd
941.1Sgarbledfile-system 	KERNFS		# /kern
951.1Sgarbledfile-system 	NULLFS		# loopback file system
961.1Sgarbled#file-system	OVERLAY		# overlay file system
971.1Sgarbledfile-system 	PROCFS		# /proc
981.1Sgarbled#file-system 	UMAPFS		# NULLFS + uid and gid remapping
991.1Sgarbledfile-system 	UNION		# union file system
1001.1Sgarbled#file-system	CODA		# Coda File System; also needs vcoda (below)
1011.1Sgarbledfile-system	PTYFS		# /dev/pts/N support
1021.13Schsfile-system	TMPFS		# Efficient memory file-system
1031.1Sgarbled#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1041.1Sgarbled
1051.1Sgarbled# File system options
1061.16Sbouyeroptions 	QUOTA		# legacy UFS quotas
1071.16Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1081.17Swiz#options 	FFS_EI		# FFS Endian Independent support
1091.19Sdhollandoptions 	WAPBL		# File system journaling support
1101.1Sgarbled#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1111.1Sgarbledoptions 	NFSSERVER	# Network File System server
1121.1Sgarbled#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1131.32Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1141.32Smanuoptions 	UFS_EXTATTR_AUTOSTART
1151.32Smanuoptions 	UFS_EXTATTR_AUTOCREATE=1024
1161.1Sgarbled#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1171.1Sgarbled 				# immutable) behave as system flags.
1181.1Sgarbled
1191.1Sgarbled# Networking options
1201.1Sgarbled#options 	GATEWAY		# packet forwarding
1211.1Sgarbledoptions 	INET		# IP + ICMP + TCP + UDP
1221.1Sgarbledoptions 	INET6		# IPv6
1231.1Sgarbled#options 	IPSEC		# IP security
1241.1Sgarbled#options 	IPSEC_DEBUG	# debug for IP security
1251.1Sgarbled#options 	MROUTING	# IP multicast routing
1261.1Sgarbled#options 	PIM		# Protocol Independent Multicast
1271.1Sgarbled#options 	NETATALK	# AppleTalk networking protocols
1281.1Sgarbledoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1291.1Sgarbledoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1301.1Sgarbledoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1311.1Sgarbledoptions 	IPFILTER_LOG	# ipmon(8) log support
1321.14Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1331.1Sgarbled#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1341.1Sgarbled#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1351.1Sgarbled
1361.1Sgarbled#options 	ALTQ		# Manipulate network interfaces' output queues
1371.1Sgarbled#options 	ALTQ_BLUE	# Stochastic Fair Blue
1381.1Sgarbled#options 	ALTQ_CBQ	# Class-Based Queueing
1391.1Sgarbled#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1401.1Sgarbled#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1411.1Sgarbled#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1421.1Sgarbled#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1431.1Sgarbled#options 	ALTQ_LOCALQ	# Local queueing discipline
1441.1Sgarbled#options 	ALTQ_PRIQ	# Priority Queueing
1451.1Sgarbled#options 	ALTQ_RED	# Random Early Detection
1461.1Sgarbled#options 	ALTQ_RIO	# RED with IN/OUT
1471.1Sgarbled#options 	ALTQ_WFQ	# Weighted Fair Queueing
1481.1Sgarbled
1491.1Sgarbled# These options enable verbose messages for several subsystems.
1501.1Sgarbled# Warning, these may compile large string tables into the kernel!
1511.1Sgarbled#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1521.1Sgarbledoptions 	SCSIVERBOSE	# human readable SCSI error messages
1531.1Sgarbledoptions		MCAVERBOSE	# verbose MCA device autoconfig messages
1541.1Sgarbled
1551.1Sgarbled#options 	NFS_BOOT_BOOTP
1561.1Sgarbledoptions 	NFS_BOOT_BOOTPARAM
1571.1Sgarbledoptions 	NFS_BOOT_DHCP
1581.1Sgarbled
1591.1Sgarbled#
1601.1Sgarbled# wscons options
1611.1Sgarbled#
1621.1Sgarbled# builtin terminal emulations
1631.31Suebayasi#options 	WSEMUL_VT100		# VT100 / VT220 emulation
1641.31Suebayasi#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1651.1Sgarbled# different kernel output - see dev/wscons/wsdisplayvar.h
1661.31Suebayasi#options 	WS_KERNEL_FG=WSCOL_GREEN
1671.1Sgarbled#options 	WS_KERNEL_BG=WSCOL_BLACK
1681.1Sgarbled# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
1691.1Sgarbled#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1701.1Sgarbled# allocate a number of virtual screens at autoconfiguration time
1711.1Sgarbled#options 	WSDISPLAY_DEFAULTSCREENS=4
1721.1Sgarbled# use a large software cursor that doesn't blink
1731.31Suebayasi#options 	PCDISPLAY_SOFTCURSOR
1741.1Sgarbled
1751.1Sgarbled# Kernel root file system and dump configuration.
1761.1Sgarbledconfig	netbsd	root on ? type ?
1771.1Sgarbled#config	netbsd	root on tlp0 type nfs
1781.1Sgarbled#config	netbsd	root on pcn0 type nfs
1791.1Sgarbled
1801.1Sgarbled
1811.1Sgarbled#
1821.1Sgarbled# Device configuration
1831.1Sgarbled#
1841.1Sgarbled
1851.1Sgarbledmainbus0 at root
1861.1Sgarbledcpu0	at mainbus0
1871.1Sgarbledmca0	at mainbus0
1881.1Sgarbled
1891.1Sgarbledcom*	at mca? slot ?
1901.1Sgarbled
1911.1Sgarbled# I/O Planar
1921.1Sgarbledioplanar* at mca? slot ?
1931.1Sgarbled
1941.1Sgarbled# I/O Planar devices
1951.1Sgarbledcom* at ioplanar?
1961.1Sgarbled
1971.1Sgarbled# Basic Bus Support
1981.1Sgarbled
1991.1Sgarbled# SCSI devices
2001.1Sgarbled#sd*	at scsibus? target ? lun ?	# SCSI disk drives
2011.1Sgarbled#st*	at scsibus? target ? lun ?	# SCSI tape drives
2021.1Sgarbled#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2031.1Sgarbled#ch*	at scsibus? target ? lun ?	# SCSI autochangers
2041.1Sgarbled#ss*	at scsibus? target ? lun ?	# SCSI scanners
2051.1Sgarbled#uk*	at scsibus? target ? lun ?	# SCSI unknown
2061.1Sgarbled
2071.1Sgarbled# Pull in optional local configuration
2081.3Sjmmvcinclude "arch/rs6000/conf/GENERIC.local"
2091.1Sgarbled
2101.1Sgarbled# Pseudo-Devices
2111.1Sgarbled
2121.1Sgarbled# Not yet ready -- prep lacks generic soft interrupts
2131.1Sgarbled#pseudo-device 	crypto		# /dev/crypto device
2141.1Sgarbled#pseudo-device	swcrypto	# software crypto implementation
2151.1Sgarbled
2161.1Sgarbled# disk/mass storage pseudo-devices
2171.24Schristos#pseudo-device	ccd			# concatenated/striped disk devices
2181.24Schristos#pseudo-device	cgd			# cryptographic disk devices
2191.25Schristos#pseudo-device	raid			# RAIDframe disk driver
2201.1Sgarbled#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2211.1Sgarbled# Options to enable various other RAIDframe RAID types.
2221.1Sgarbled# options	RF_INCLUDE_EVENODD=1
2231.1Sgarbled# options	RF_INCLUDE_RAID5_RS=1
2241.1Sgarbled# options	RF_INCLUDE_PARITYLOGGING=1
2251.1Sgarbled# options	RF_INCLUDE_CHAINDECLUSTER=1
2261.1Sgarbled# options	RF_INCLUDE_INTERDECLUSTER=1
2271.1Sgarbled# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2281.1Sgarbled# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2291.12Spookapseudo-device	fss			# file system snapshot device
2301.15Shannkenpseudo-device	md			# memory disk device (ramdisk)
2311.1Sgarbledpseudo-device	vnd			# disk-like interface to files
2321.1Sgarbled#options 	VND_COMPRESSION		# compressed vnd(4)
2331.1Sgarbled
2341.1Sgarbled# network pseudo-devices
2351.1Sgarbledpseudo-device	loop			# network loopback
2361.1Sgarbledpseudo-device	bpfilter		# Berkeley packet filter
2371.1Sgarbled#pseudo-device	carp			# Common Address Redundancy Protocol
2381.1Sgarbledpseudo-device	ipfilter		# IP filter (firewall) and NAT
2391.1Sgarbledpseudo-device	ppp			# Point-to-Point Protocol
2401.1Sgarbledpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2411.1Sgarbled#pseudo-device	sl			# Serial Line IP
2421.1Sgarbledpseudo-device	strip			# Starmode Radio IP (Metricom)
2431.1Sgarbledpseudo-device	tun			# network tunneling over tty
2441.1Sgarbledpseudo-device	tap			# virtual Ethernet
2451.1Sgarbledpseudo-device	gre			# generic L3 over IP tunnel
2461.1Sgarbledpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2471.1Sgarbled#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2481.1Sgarbledpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2491.1Sgarbledpseudo-device	vlan			# IEEE 802.1q encapsulation
2501.1Sgarbledpseudo-device	bridge			# simple inter-network bridging
2511.1Sgarbled#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2521.1Sgarbled
2531.6Stls#
2541.6Stls# accept filters
2551.6Stlspseudo-device   accf_data		# "dataready" accept filter
2561.6Stlspseudo-device   accf_http		# "httpready" accept filter
2571.6Stls
2581.1Sgarbled# miscellaneous pseudo-devices
2591.1Sgarbledpseudo-device	pty			# pseudo-terminals
2601.26Schristos#pseudo-device	sequencer		# MIDI sequencer
2611.1Sgarbled#options 	RND_COM			# use "com" randomness as well
2621.1Sgarbledpseudo-device	clockctl		# user control of clock subsystem
2631.1Sgarbledpseudo-device	ksyms			# /dev/ksyms
2641.1Sgarbled#pseudo-device	pf			# PF packet filter
2651.1Sgarbled#pseudo-device	pflog			# PF log if
2661.1Sgarbled
2671.1Sgarbled# a pseudo device needed for Coda	# also needs CODA (above)
2681.25Schristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
2691.1Sgarbled
2701.1Sgarbled# wscons pseudo-devices
2711.1Sgarbledpseudo-device	wsmux			# mouse & keyboard multiplexor
2721.1Sgarbledpseudo-device	wsfont
2731.1Sgarbled
2741.1Sgarbled# Veriexec
2751.1Sgarbled#options VERIFIED_EXEC
2761.1Sgarbled#
2771.1Sgarbled# a pseudo device needed for veriexec
2781.25Schristos#pseudo-device	veriexec
2791.1Sgarbled#
2801.1Sgarbled# Uncomment the fingerprint methods below that are desired. Note that
2811.1Sgarbled# removing fingerprint methods will have almost no impact on the kernel
2821.1Sgarbled# code size.
2831.1Sgarbled#
2841.1Sgarbled#options VERIFIED_EXEC_FP_RMD160
2851.1Sgarbled#options VERIFIED_EXEC_FP_SHA256
2861.1Sgarbled#options VERIFIED_EXEC_FP_SHA384
2871.1Sgarbled#options VERIFIED_EXEC_FP_SHA512
2881.1Sgarbled#options VERIFIED_EXEC_FP_SHA1
2891.1Sgarbled#options VERIFIED_EXEC_FP_MD5
290