GENERIC revision 1.75
11.75Schs# $NetBSD: GENERIC,v 1.75 2010/04/29 22:40:52 chs Exp $
21.1Swdk#
31.13Sgmcgarry# GENERIC machine description file
41.13Sgmcgarry# 
51.13Sgmcgarry# This machine description file is used to generate the default NetBSD
61.13Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.13Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Swdk#
91.13Sgmcgarry# The machine description file can be customised for your specific
101.13Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.13Sgmcgarry#
121.13Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.13Sgmcgarry# man page.
141.13Sgmcgarry#
151.13Sgmcgarry# For further information on hardware support for this architecture, see
161.13Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.13Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.13Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.13Sgmcgarry# device.
201.13Sgmcgarry
211.1Swdkinclude		"arch/mipsco/conf/std.mipsco"
221.18Satatat
231.18Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Swdk
251.1Swdkmaxusers	16
261.1Swdk
271.1Swdkoptions 	MIPS1			# R2000/R3000 support
281.1Swdk
291.1Swdk# Standard system options
301.1Swdkoptions 	KTRACE			# system call tracing support
311.1Swdkoptions 	SYSVMSG			# System V message queues
321.1Swdkoptions 	SYSVSEM			# System V semaphores
331.1Swdkoptions 	SYSVSHM			# System V shared memory
341.36Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
351.1Swdk#options 	NTP			# network time protocol
361.11Slukemoptions 	HZ=25
371.20Slukemoptions 	USERCONF		# userconf(4) support
381.16Sjdolecek#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
391.37Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
401.25Sjunyoung
411.26Swiz# Enable experimental buffer queue strategy for better responsiveness under 
421.25Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
431.45Stsutsui#options 	BUFQ_READPRIO
441.45Stsutsui#options 	BUFQ_PRIOCSCAN
451.1Swdk
461.1Swdk# Debugging options
471.1Swdkoptions 	DDB			# kernel dynamic debugger
481.1Swdkoptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
491.1Swdk#options 	DEBUG			# extra kernel debugging support
501.53Schs#options 	DIAGNOSTIC		# extra kernel sanity checking
511.1Swdkoptions 	SCSIVERBOSE		# Verbose SCSI errors
521.5Swdk
531.11Slukem#options 	KGDB			# Remote kernel debug using gdb
541.11Slukem#options 	KGDB_DEV=0x0100		# KGDB port (this is serial0)
551.11Slukem#options 	KGDB_DEVRATE=19200	# KGDB Baud Rate (default=19200)
561.5Swdk#makeoptions	DEBUG="-g"		# Build kernel with debug symbols
571.1Swdk
581.1Swdk# Compatibility options
591.1Swdkoptions 	COMPAT_43		# compatibility with 4.3BSD binaries
601.1Swdk#options 	COMPAT_10		# NetBSD 1.0 binary compatibility
611.1Swdk#options 	COMPAT_11		# NetBSD 1.1 binary compatibility
621.1Swdk#options 	COMPAT_12		# NetBSD 1.2 binary compatibility
631.1Swdkoptions 	COMPAT_13		# NetBSD 1.3 binary compatibility
641.1Swdkoptions 	COMPAT_14		# NetBSD 1.4 binary compatibility
651.63Smanuoptions 	COMPAT_15		# NetBSD 1.5 binary compatibility
661.31Ssimonboptions 	COMPAT_16		# NetBSD 1.6 binary compatibility
671.44Ssimonboptions 	COMPAT_20		# NetBSD 2.0 binary compatibility
681.50Schristosoptions 	COMPAT_30		# NetBSD 3.0 compatibility.
691.69Stsutsuioptions 	COMPAT_40		# NetBSD 4.0 compatibility.
701.72Smrgoptions 	COMPAT_50		# NetBSD 5.0 compatibility.
711.1Swdk#options 	EXEC_AOUT		# exec a.out binaries
721.1Swdk#options 	EXEC_ECOFF		# exec ecoff binaries
731.7Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
741.39Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
751.1Swdk
761.1Swdk# Filesystem options
771.1Swdkfile-system	FFS		# Berkeley Fast Filesystem
781.1Swdkfile-system	NFS		# Sun NFS-compatible filesystem client
791.1Swdkfile-system	KERNFS		# kernel data-structure filesystem
801.1Swdk#file-system	NULLFS		# NULL layered filesystem
811.1Swdk#file-system	MFS		# memory-based filesystem
821.1Swdk#file-system	FDESC		# user file descriptor filesystem
831.1Swdk#file-system	UMAPFS		# uid/gid remapping filesystem
841.1Swdk#file-system	LFS		# Log-based filesystem (still experimental)
851.1Swdkfile-system	PROCFS		# /proc
861.1Swdkfile-system	CD9660		# ISO 9660 + Rock Ridge file system
871.1Swdk#file-system	UNION		# union file system
881.1Swdk#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
891.51Schristosfile-system	PTYFS		# /dev/pts/N support
901.75Schsfile-system	TMPFS		# Efficient memory file-system
911.56Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
921.1Swdk#
931.1Swdkoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
941.1Swdkoptions 	QUOTA		# FFS quotas
951.1Swdk#options 	FFS_EI		# FFS Endian Independant support
961.54Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
971.1Swdk
981.1Swdk# Networking options
991.1Swdkoptions 	INET		# Internet protocols
1001.1Swdk#options 	GATEWAY		# IP packet forwarding
1011.1Swdk#options 	MROUTING	# packet forwarding of multicast packets
1021.38Smanu#options 	PIM		# Protocol Independent Multicast
1031.1Swdk#options 	ISO,TPIP	# OSI networking
1041.1Swdk#options 	EON		# OSI tunneling over IP
1051.1Swdk#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1061.1Swdk#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1071.1Swdk#options 	PPP_DEFLATE	# Deflate compression support for PPP
1081.1Swdk#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1091.1Swdk#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1101.1Swdk#options 	IPFILTER_LOG	# ipmon(8) log support
1111.62Schristos#options 	IPFILTER_LOOKUP	# ippool(8) support
1121.22Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1131.7Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1141.1Swdk
1151.35Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1161.35Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1171.35Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1181.35Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1191.35Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1201.35Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1211.35Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1221.35Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1231.35Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1241.35Sabs#options 	ALTQ_RED	# Random Early Detection
1251.35Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1261.35Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1271.35Sabs
1281.1Swdkconfig		netbsd	root on ? type ?
1291.1Swdk
1301.1Swdkmainbus0 at root
1311.1Swdk
1321.1Swdkcpu0	at mainbus0
1331.1Swdkobio0	at mainbus0
1341.1Swdk
1351.1Swdkmkclock0 at obio0 addr 0xbd000000	# MK48T02 realtime clock
1361.1Swdk
1371.30Swizrambo0	at obio0 addr 0xbc000000	# RAMBO DMA & timer asic
1381.1Swdk
1391.1Swdkle0	at obio0 addr 0xba000000	# onboard LANCE ethernet
1401.1Swdk
1411.1Swdk# Not currently implemented
1421.1Swdk#kb0	at obio0 addr 0xbfd00000	# keyboard
1431.1Swdk#fb0	at obio0 addr 0x88000000	# framebuffer
1441.1Swdk
1451.1Swdkfd0	at obio0 addr 0xbe000000	# i82072 floppy disk controller
1461.1Swdk
1471.1Swdkzsc0	at obio0 addr 0xbb000000	# Base address for Z8530 SCC
1481.1Swdkzstty0	at zsc0 channel 0		# tty00
1491.1Swdkzstty1	at zsc0 channel 1		# tty01
1501.1Swdk
1511.1Swdkasc0	at obio0 addr 0xb8000000	# onboard NCR 53c94 SCSI controller
1521.1Swdk
1531.1Swdkscsibus0 at asc0
1541.1Swdk
1551.1Swdksd*	at scsibus? target ? lun ?	# SCSI disks
1561.1Swdkst*	at scsibus? target ? lun ?	# SCSI tapes
1571.1Swdkcd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
1581.1Swdkch*	at scsibus? target ? lun ?	# SCSI changer devices
1591.1Swdk
1601.70Stls#
1611.70Stls# accept filters
1621.70Stlspseudo-device   accf_data		# "dataready" accept filter
1631.70Stlspseudo-device   accf_http		# "httpready" accept filter
1641.70Stls
1651.1Swdkpseudo-device	loop			# loopback interface; required
1661.2Sjdolecekpseudo-device	pty			# pseudo-terminals
1671.58Scube#pseudo-device	sl			# SLIP interfaces
1681.58Scube#pseudo-device	ppp			# PPP interfaces
1691.14Smartin#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1701.58Scubepseudo-device	tun			# Network "tunnel" device
1711.40Scubepseudo-device	tap			# virtual Ethernet
1721.58Scube#pseudo-device	gre			# generic L3 over IP tunnel
1731.57Srpaulopseudo-device	bpfilter		# Berkeley Packet Filter
1741.59Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
1751.58Scube#pseudo-device	vnd			# disk-like interface to files
1761.47Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
1771.1Swdk#pseudo-device	ccd		4	# concatenated and striped disks
1781.24Selric#pseudo-device	cgd		4	# cryptographic disks
1791.15Soster#pseudo-device	raid		8	# RAIDframe disk driver
1801.15Soster# Options to enable various other RAIDframe RAID types.
1811.15Soster# options	RF_INCLUDE_EVENODD=1
1821.15Soster# options	RF_INCLUDE_RAID5_RS=1
1831.15Soster# options	RF_INCLUDE_PARITYLOGGING=1
1841.15Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
1851.15Soster# options	RF_INCLUDE_INTERDECLUSTER=1
1861.15Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
1871.15Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
1881.74Spookapseudo-device	fss			# file system snapshot device
1891.58Scube#pseudo-device	strip			# radio clock
1901.1Swdk#pseudo-device	ipfilter		# ip filter
1911.4Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
1921.12Satatatpseudo-device	bridge			# simple inter-network bridging
1931.27Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
1941.65Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
1951.19Slukempseudo-device	clockctl		# user control of clock subsystem
1961.3Sitojun
1971.3Sitojun# random number generator pseudo-device
1981.3Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
1991.3Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
2001.29Sraggepseudo-device	ksyms			# /dev/ksyms
2011.34Sitojun#pseudo-device	pf			# PF packet filter
2021.34Sitojun#pseudo-device	pflog			# PF log if
2031.55Selad
2041.55Selad# Veriexec
2051.55Selad#
2061.55Selad# a pseudo device needed for veriexec
2071.55Selad#pseudo-device	veriexec		1
2081.55Selad#
2091.55Selad# Uncomment the fingerprint methods below that are desired. Note that
2101.55Selad# removing fingerprint methods will have almost no impact on the kernel
2111.55Selad# code size.
2121.55Selad#
2131.55Selad#options VERIFIED_EXEC_FP_RMD160
2141.55Selad#options VERIFIED_EXEC_FP_SHA256
2151.55Selad#options VERIFIED_EXEC_FP_SHA384
2161.55Selad#options VERIFIED_EXEC_FP_SHA512
2171.55Selad#options VERIFIED_EXEC_FP_SHA1
2181.55Selad#options VERIFIED_EXEC_FP_MD5
219