GENERIC revision 1.102
11.102Sgdamore# $NetBSD: GENERIC,v 1.102 2006/09/15 08:25:02 gdamore Exp $
21.1Ssakamoto#
31.48Sgmcgarry# GENERIC machine description file
41.48Sgmcgarry# 
51.48Sgmcgarry# This machine description file is used to generate the default NetBSD
61.48Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.48Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Ssakamoto#
91.48Sgmcgarry# The machine description file can be customised for your specific
101.48Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.48Sgmcgarry#
121.48Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.48Sgmcgarry# man page.
141.48Sgmcgarry#
151.48Sgmcgarry# For further information on hardware support for this architecture, see
161.48Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.48Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.48Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.48Sgmcgarry# device.
201.1Ssakamoto
211.48Sgmcgarryinclude 	"arch/bebox/conf/std.bebox"
221.23Shubertf
231.55Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.55Satatat
251.102Sgdamore#ident 		"GENERIC-$Revision: 1.102 $"
261.1Ssakamoto
271.1Ssakamotomaxusers	32
281.1Ssakamoto
291.5Ssakamoto#options 	IPKDBUSERHACK	# Allow access to mapped memory via kgdb
301.5Ssakamoto#options 	DEBUG_BY_TOOLS	# Allow debugging from toolsnet
311.1Ssakamoto# HMAC key to be used for debugging sessions
321.5Ssakamoto#options 	IPKDBKEY="\"HMAC pass phrase text\""
331.5Ssakamoto#options 	IPKDBSECURE	# Allow debugging even when securelevel > 0
341.1Ssakamotomakeoptions	DEBUG="-g"
351.1Ssakamoto
361.89Schs#options 	DEBUG
371.89Schs#options 	DIAGNOSTIC
381.1Ssakamotooptions 	TRAP_PANICWAIT
391.1Ssakamotooptions 	DDB
401.2Slukem#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
411.2Slukemoptions 	KTRACE
421.100Schristos#options 	SYSTRACE		# system call vetting via systrace(1)
431.57Slukemoptions 	USERCONF		# userconf(4) support
441.53Sgmcgarry#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
451.74Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
461.60Sjunyoung
471.61Swiz# Enable experimental buffer queue strategy for better responsiveness under 
481.60Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
491.82Stsutsui#options 	BUFQ_READPRIO
501.82Stsutsui#options 	BUFQ_PRIOCSCAN
511.1Ssakamoto
521.40Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
531.2Slukemoptions 	COMPAT_43
541.2Slukemoptions 	COMPAT_09
551.2Slukemoptions 	COMPAT_10
561.2Slukemoptions 	COMPAT_12
571.3Skleinkoptions 	COMPAT_13
581.18Saugustssoptions 	COMPAT_14
591.80Ssimonboptions 	COMPAT_16
601.80Ssimonboptions 	COMPAT_20
611.86Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
621.10Ssakamotooptions 	COMPAT_386BSD_MBRPART	# recognize old partition ID
631.46Slukem#options 	COMPAT_LINUX		# Linux binary compatibility
641.75Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
651.1Ssakamoto
661.1Ssakamotofile-system 	FFS
671.1Ssakamotofile-system 	MFS
681.1Ssakamotofile-system 	NFS
691.1Ssakamotofile-system 	CD9660
701.1Ssakamotofile-system 	MSDOSFS
711.1Ssakamotofile-system 	FDESC
721.1Ssakamotofile-system 	KERNFS
731.1Ssakamotofile-system 	NULLFS
741.22Swrstudenfile-system 	OVERLAY
751.1Ssakamotofile-system 	PORTAL
761.1Ssakamotofile-system 	PROCFS
771.1Ssakamotofile-system 	UMAPFS
781.1Ssakamotofile-system 	UNION
791.87Schristosfile-system	PTYFS		# /dev/pts/N support
801.88Sjmmv#file-system	TMPFS		# experimental - Efficient memory file-system
811.95Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
821.1Ssakamoto
831.7Sbouyer#options 	FFS_EI		# FFS Endian Independant support
841.46Slukemoptions 	SOFTDEP		# FFS soft updates support.
851.76Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
861.2Slukem#options 	NFSSERVER
871.93Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
881.21Sitojun
891.2Slukemoptions 	INET
901.21Sitojunoptions 	INET6		# IPV6
911.21Sitojun#options 	IPSEC		# IP security
921.21Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
931.84Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
941.21Sitojun#options 	IPSEC_DEBUG	# debug for IP security
951.40Sabs
961.40Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
971.5Ssakamoto
981.73Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
991.73Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1001.73Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1011.73Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1021.73Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1031.73Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1041.73Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1051.73Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1061.73Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1071.73Sabs#options 	ALTQ_RED	# Random Early Detection
1081.73Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1091.73Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1101.73Sabs
1111.46Slukemoptions 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
1121.1Ssakamoto
1131.1Ssakamotoconfig		netbsd	root on ? type ?
1141.1Ssakamoto
1151.91Sthorpej#pseudo-device 	crypto			# /dev/crypto device
1161.92Sthorpej#pseudo-device	swcrypto		# software crypto implementation
1171.59Selric#pseudo-device	cgd		4	# cryptographic disk devices
1181.97Scubepseudo-device	vnd		
1191.85Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
1201.1Ssakamotopseudo-device	loop
1211.96Srpaulopseudo-device	bpfilter		# packet filter
1221.99Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
1231.97Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
1241.97Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
1251.98Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
1261.35Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
1271.49Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1281.47Satatatpseudo-device	bridge			# simple inter-network bridging
1291.62Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
1301.33Sjdolecekpseudo-device	pty			# pseudo-terminals
1311.50Sosterpseudo-device	raid		8	# RAIDframe disk driver
1321.50Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1331.50Soster# Options to enable various other RAIDframe RAID types.
1341.50Soster# options	RF_INCLUDE_EVENODD=1
1351.50Soster# options	RF_INCLUDE_RAID5_RS=1
1361.50Soster# options	RF_INCLUDE_PARITYLOGGING=1
1371.50Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
1381.50Soster# options	RF_INCLUDE_INTERDECLUSTER=1
1391.50Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
1401.50Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
1411.77Shannkenpseudo-device	fss		4	# file system snapshot device
1421.97Scube#pseudo-device	gre			# generic L3 over IP tunnel
1431.45Saugustsspseudo-device	wsmux
1441.56Slukempseudo-device	clockctl		# user control of clock subsystem
1451.34Sitojun
1461.34Sitojun# random number generator pseudo-device
1471.34Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
1481.34Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
1491.63Sraggepseudo-device	ksyms			# /dev/ksyms
1501.72Sitojun#pseudo-device	pf			# PF packet filter
1511.72Sitojun#pseudo-device	pflog			# PF log if
1521.1Ssakamoto
1531.94Selad# Veriexec
1541.94Selad#
1551.94Selad# a pseudo device needed for veriexec
1561.94Selad#pseudo-device	veriexec		1
1571.94Selad#
1581.94Selad# Uncomment the fingerprint methods below that are desired. Note that
1591.94Selad# removing fingerprint methods will have almost no impact on the kernel
1601.94Selad# code size.
1611.94Selad#
1621.94Selad#options VERIFIED_EXEC_FP_RMD160
1631.94Selad#options VERIFIED_EXEC_FP_SHA256
1641.94Selad#options VERIFIED_EXEC_FP_SHA384
1651.94Selad#options VERIFIED_EXEC_FP_SHA512
1661.94Selad#options VERIFIED_EXEC_FP_SHA1
1671.94Selad#options VERIFIED_EXEC_FP_MD5
1681.94Selad
1691.1Ssakamoto#
1701.1Ssakamoto# device
1711.1Ssakamoto#
1721.2Slukemoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
1731.1Ssakamoto
1741.1Ssakamotooptions 	PCIVERBOSE	# verbose PCI device messages
1751.26Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1761.36Sbriggsoptions 	PCI_NETBSD_CONFIGURE
1771.1Ssakamoto
1781.1Ssakamotomainbus0 at root
1791.1Ssakamoto
1801.41Smattcpu*	at mainbus0
1811.1Ssakamotopci0	at mainbus0 bus ?
1821.1Ssakamoto
1831.1Ssakamotoppb*	at pci? dev ? function ?	# PCI-PCI bridges
1841.1Ssakamotopci*	at ppb? bus ?
1851.1Ssakamotopchb*	at pci? dev ? function ?	# PCI-Host bridges
1861.1Ssakamotopcib*	at pci? dev ? function ?	# PCI-ISA bridges
1871.1Ssakamoto
1881.1Ssakamotoisa*	at pcib?			# ISA on PCI-ISA bridge
1891.1Ssakamoto
1901.102Sgdamoremcclock0 at isa? port 0x70		# time-of-day clock
1911.102Sgdamore
1921.8Ssakamoto#pc0	at isa? port 0x60 irq 1		# generic PC console device
1931.1Ssakamoto
1941.5Ssakamotocom0	at isa? port 0x3f8 irq 4	# standard PC serial ports
1951.5Ssakamotocom1	at isa? port 0x2f8 irq 3
1961.10Ssakamoto#com2	at isa? port 0x380 irq 16
1971.10Ssakamoto#com3	at isa? port 0x388 irq 17
1981.46Slukem
1991.1Ssakamotolpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
2001.1Ssakamoto#lpt1	at isa? port 0x278
2011.1Ssakamoto#lpt2	at isa? port 0x3bc
2021.1Ssakamoto
2031.1Ssakamoto#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
2041.1Ssakamoto#lms1	at isa? port 0x238 irq 5
2051.1Ssakamoto#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
2061.1Ssakamoto#mms1	at isa? port 0x238 irq 5
2071.1Ssakamoto
2081.8Ssakamotopckbc0	at isa?
2091.8Ssakamotopckbd*	at pckbc?
2101.17Sdrochner#pms*	at pckbc?
2111.8Ssakamoto#vga0	at isa?
2121.8Ssakamotovga*	at pci?
2131.15Ssakamotopfb*	at pci?
2141.8Ssakamotowsdisplay*	at vga? console ?
2151.15Ssakamotowsdisplay*	at pfb? console ?
2161.8Ssakamotowskbd*		at pckbd? console ?
2171.19Saugustss#wsmouse*	at pms? mux 0
2181.8Ssakamoto
2191.67Sjonathan# Cryptographic Devices
2201.67Sjonathan
2211.67Sjonathan# PCI cryptographic devices
2221.69Sjmc#hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
2231.69Sjmc#ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
2241.67Sjonathan
2251.36Sbriggs#siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
2261.36Sbriggs#scsibus* at siop?
2271.64Sbouyer#esiop*	at pci? dev ? function ?	# NCR 53875 and newer SCSI controllers
2281.64Sbouyer#scsibus* at esiop?
2291.1Ssakamoto
2301.1Ssakamoto#sd*	at scsibus? target ? lun ?	# SCSI disk drives
2311.1Ssakamoto#st*	at scsibus? target ? lun ?	# SCSI tape drives
2321.1Ssakamoto#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2331.1Ssakamoto#ch*	at scsibus? target ? lun ?	# SCSI autochangers
2341.1Ssakamoto#ss*	at scsibus? target ? lun ?	# SCSI scanners
2351.1Ssakamoto#uk*	at scsibus? target ? lun ?	# SCSI unknown
2361.1Ssakamoto
2371.10Ssakamotofdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
2381.1Ssakamoto#fdc1	at isa? port 0x370 irq ? drq ?
2391.10Ssakamotofd0	at fdc? drive 1
2401.1Ssakamoto#fd*	at fdc? drive ?
2411.1Ssakamoto
2421.6Ssakamotowdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
2431.66Slukematabus* at ata?
2441.65Sbouyerwd*	at atabus? drive ?
2451.1Ssakamoto
2461.6Ssakamotone0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
2471.6Ssakamoto#ipkdbif0 at ne?
2481.1Ssakamoto
2491.1Ssakamoto#wss0	at isa? port 0x530 irq 10 drq 0	# Windows Sound System
2501.10Ssakamoto
2511.81Scube#attimer0	at isa?
2521.9Sdrochner#pcppi0 at isa?
2531.9Sdrochner#spkr0	at pcppi?
2541.1Ssakamoto
2551.1Ssakamoto# Joystick driver. Probe is a little strange; add only if you have one.
2561.1Ssakamoto#joy0	at isa? port 0x201
257