GENERIC revision 1.132
11.132Schristos# $NetBSD: GENERIC,v 1.132 2013/04/27 21:43:38 christos Exp $
21.1Sdbj#
31.50Sgmcgarry# GENERIC machine description file
41.50Sgmcgarry# 
51.50Sgmcgarry# This machine description file is used to generate the default NetBSD
61.50Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.50Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Sdbj#
91.50Sgmcgarry# The machine description file can be customised for your specific
101.50Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.1Sdbj#
121.50Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.50Sgmcgarry# man page.
141.50Sgmcgarry#
151.50Sgmcgarry# For further information on hardware support for this architecture, see
161.50Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.50Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.50Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.50Sgmcgarry# device.
201.1Sdbj
211.50Sgmcgarryinclude 	"arch/next68k/conf/std.next68k"
221.24Shubertf
231.55Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.55Satatat
251.132Schristos#ident 		"GENERIC-$Revision: 1.132 $"
261.1Sdbj
271.1Sdbj# Needs to be set per system.  i.e change these as you see fit
281.1Sdbjmaxusers	16
291.1Sdbj
301.1Sdbj# Standard system options
311.1Sdbjoptions 	KTRACE		# system call tracing
321.1Sdbjoptions 	SYSVMSG		# System V message queues
331.1Sdbjoptions 	SYSVSEM		# System V semaphores
341.48Slukem#options 	SEMMNI=10	# number of semaphore identifiers
351.48Slukem#options 	SEMMNS=60	# number of semaphores in system
361.48Slukem#options 	SEMUME=10	# max number of undo entries per process
371.48Slukem#options 	SEMMNU=30	# number of undo structures in system
381.1Sdbjoptions 	SYSVSHM		# System V shared memory
391.1Sdbj
401.1Sdbjoptions 	INSECURE	# disable kernel security level
411.63Slukemoptions 	USERCONF	# userconf(4) support
421.53Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
431.78Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
441.67Sjunyoung
451.68Swiz# Enable experimental buffer queue strategy for better responsiveness under 
461.67Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
471.87Stsutsui#options 	BUFQ_READPRIO
481.87Stsutsui#options 	BUFQ_PRIOCSCAN
491.1Sdbj
501.96Schs#options 	DEBUG		# kernel debugging code
511.96Schs#options 	DIAGNOSTIC	# extra kernel sanity checking
521.22Sdbj
531.1Sdbj# Which kernel debugger?  Uncomment either this:
541.1Sdbjoptions 	DDB
551.3Sdbjoptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
561.3Sdbj
571.1Sdbj# ... or these for KGDB (gdb remote target)
581.48Slukem#makeoptions	DEBUG="-g"		# debugging symbols for gdb
591.47Slukem#options 	KGDB			# support for kernel gdb
601.47Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
611.47Slukem#options 	KGDB_DEVRATE=9600	# baud rate
621.1Sdbj
631.1Sdbj# Other debugging options
641.1Sdbjoptions 	KMEMSTATS	# kernel memory statistics (vmstat -m)
651.1Sdbj#options 	PMAP_DEBUG
661.1Sdbjoptions 	SCSIDEBUG
671.1Sdbjoptions 	SCSIVERBOSE		# Verbose SCSI errors
681.48Slukemoptions 	SWAPDEBUG
691.1Sdbj
701.41Swiz# Compatibility options
711.1Sdbjoptions 	COMPAT_43	# and 4.3BSD and ...
721.1Sdbjoptions 	COMPAT_44	# and 4.4BSD and ...
731.3Sdbjoptions 	COMPAT_09	# NetBSD 0.9
741.1Sdbjoptions 	COMPAT_10	# NetBSD 1.0
751.1Sdbjoptions 	COMPAT_11	# NetBSD 1.1
761.1Sdbjoptions 	COMPAT_12	# NetBSD 1.2
771.1Sdbjoptions 	COMPAT_13	# NetBSD 1.3
781.17Saugustssoptions 	COMPAT_14	# NetBSD 1.4
791.72Scloptions 	COMPAT_15	# NetBSD 1.5
801.72Scloptions 	COMPAT_16	# NetBSD 1.6
811.86Ssimonboptions 	COMPAT_20	# NetBSD 2.0
821.111Stsutsuioptions 	COMPAT_30	# NetBSD 3.0
831.111Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
841.116Smrgoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
851.128Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
861.1Sdbj
871.43Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
881.43Sabs
891.28Sdebergoptions 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
901.3Sdbjoptions 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
911.3Sdbjoptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
921.15Skleink#options 	COMPAT_SVR4	# can run SVR4 executables
931.7Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
941.40Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
951.40Schsoptions 	EXEC_AOUT	# support for a.out executables
961.80Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
971.1Sdbj
981.1Sdbj# File systems
991.65Smycroftfile-system 	FFS		# UFS
1001.13Sdbj#file-system 	EXT2FS		# second extended file system (linux)
1011.13Sdbj#file-system 	LFS		# log-structured file system
1021.1Sdbjfile-system 	MFS		# memory file system
1031.1Sdbjfile-system 	NFS		# Network File System client
1041.13Sdbj#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
1051.13Sdbj#file-system 	MSDOSFS		# MS-DOS file system
1061.1Sdbjfile-system 	FDESC		# /dev/fd
1071.1Sdbjfile-system 	KERNFS		# /kern
1081.1Sdbjfile-system 	NULLFS		# loopback file system
1091.23Swrstudenfile-system 	OVERLAY		# overlay file system
1101.118Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
1111.1Sdbjfile-system 	PROCFS		# /proc
1121.1Sdbjfile-system 	UMAPFS		# NULLFS + uid and gid remapping
1131.1Sdbjfile-system 	UNION		# union file system
1141.94Schristosfile-system	PTYFS		# /dev/pts/N support
1151.120Schsfile-system	TMPFS		# Efficient memory file-system
1161.99Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1171.1Sdbj
1181.1Sdbjoptions 	NFSSERVER	# nfs server support
1191.123Sbouyer#options 	QUOTA		# legacy UFS quotas
1201.123Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
1211.125Sdhollandoptions 	WAPBL		# File system journaling support
1221.82Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1231.97Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1241.1Sdbj#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1251.1Sdbj				# immutable) behave as system flags.
1261.21Sitojun
1271.1Sdbj# Networking options
1281.1Sdbjoptions 	GATEWAY		# packet forwarding
1291.1Sdbjoptions 	INET		# IP + ICMP + TCP + UDP
1301.21Sitojunoptions 	INET6		# IPV6
1311.21Sitojun#options 	IPSEC		# IP security
1321.89Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1331.21Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1341.1Sdbj#options 	MROUTING	# IP multicast routing
1351.79Smanu#options 	PIM		# Protocol Independent Multicast
1361.1Sdbj#options 	NETATALK	# AppleTalk networking protocols
1371.16Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1381.16Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1391.16Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1401.16Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1411.121Smrgoptions 	IPFILTER_LOG	# ipmon(8) log support
1421.121Smrgoptions 	IPFILTER_LOOKUP	# ippool(8) support
1431.121Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1441.121Smrg#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1451.43Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1461.1Sdbj
1471.77Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1481.77Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1491.77Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1501.77Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1511.77Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1521.77Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1531.77Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1541.77Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1551.77Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1561.77Sabs#options 	ALTQ_RED	# Random Early Detection
1571.77Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1581.77Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1591.77Sabs
1601.1Sdbj# NeXT specific options
1611.1Sdbjoptions 	M68040
1621.62Smycroftoptions 	M68030
1631.1Sdbjoptions 	FPSP
1641.1Sdbj#options 	FPU_EMULATE
1651.1Sdbj
1661.27Sdebergoptions 	ZS_CONSOLE_ABORT	# drop to debugger on break
1671.27Sdeberg#options 	SERCONSOLE		# use serial console
1681.1Sdbj
1691.1Sdbjoptions 	NFS_BOOT_BOOTP
1701.1Sdbjoptions 	NFS_BOOT_DHCP
1711.3Sdbj
1721.9Sdbj# wscons options
1731.48Slukemoptions 	RCONS_2BPP		# necessary for nextdisplay
1741.48Slukemoptions 	RCONS_16BPP		# necessary for color nextdisplay
1751.10Sdbj#options 	WSEMUL_SUN		# sun terminal emulation
1761.10Sdbjoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1771.9Sdbjoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1781.127Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1791.9Sdbjoptions 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
1801.12Sdbj# see dev/wskbdmap_next.h for implemented layouts
1811.9Sdbj#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1821.9Sdbj
1831.1Sdbjconfig		netbsd root on ? type ?
1841.1Sdbj
1851.8Sdbj#
1861.8Sdbj# Device configuration
1871.8Sdbj#
1881.8Sdbj
1891.8Sdbj# The root node:
1901.8Sdbjmainbus0 at root
1911.8Sdbj
1921.8Sdbj#fpu0 at mainbus?
1931.8Sdbj
1941.8Sdbj# device space
1951.48Slukemintio0	at mainbus?
1961.9Sdbj
1971.48Slukemnextkbd0	at intio? ipl 3
1981.48Slukemnextdisplay0	at mainbus?
1991.9Sdbj
2001.48Slukemwsdisplay*	at nextdisplay? console ?
2011.48Slukemwskbd*		at nextkbd? console ?
2021.8Sdbj
2031.8Sdbj# INTIO
2041.61Smycroftnextdma*	at intio? ipl 6
2051.61Smycroft
2061.48Slukemzsc0	at intio? ipl 5
2071.48Slukem#zsc1	at intio? ipl 5
2081.8Sdbj
2091.48Slukemxe*	at intio? ipl 3			# ethernet
2101.8Sdbj
2111.64Smycroftesp0	at intio? ipl 3	flags 0xffff00	# Turn off sync negotiation
2121.8Sdbj
2131.8Sdbj#
2141.8Sdbj# Serial ports
2151.8Sdbj#
2161.8Sdbjzstty0	at zsc0 channel 0	# ttya
2171.8Sdbjzstty1	at zsc0 channel 1	# ttyb
2181.8Sdbj
2191.8Sdbj# SCSI bus support
2201.60Smycroftscsibus* at scsi?
2211.8Sdbj
2221.8Sdbj# SCSI devices
2231.64Smycroftsd*	at scsibus? target ? lun ?	# SCSI disk drives
2241.64Smycroftst*	at scsibus? target ? lun ?	# SCSI tape drives
2251.64Smycroftcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2261.64Smycroftch*	at scsibus? target ? lun ?	# SCSI autochangers
2271.64Smycroftse*	at scsibus? target ? lun ?	# SCSI ethernet
2281.64Smycroftss*	at scsibus? target ? lun ?	# SCSI scanners
2291.64Smycroftuk*	at scsibus? target ? lun ?	# SCSI unknown
2301.8Sdbj
2311.8Sdbj
2321.1Sdbj# Memory-disk drivers
2331.122Shannkenpseudo-device	md		
2341.1Sdbj
2351.113Stls#
2361.113Stls# accept filters
2371.113Stlspseudo-device   accf_data		# "dataready" accept filter
2381.113Stlspseudo-device   accf_http		# "httpready" accept filter
2391.113Stls
2401.1Sdbj# Misc.
2411.131Schristospseudo-device	loop			# network loopback
2421.100Srpaulopseudo-device	bpfilter		# packet filter
2431.103Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
2441.101Scubepseudo-device	sl			# CSLIP
2451.101Scubepseudo-device	ppp			# PPP
2461.51Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2471.101Scubepseudo-device	tun			# network tunneling over tty
2481.81Scubepseudo-device	tap			# virtual Ethernet
2491.101Scube#pseudo-device	gre			# generic L3 over IP tunnel
2501.1Sdbjpseudo-device	ipfilter		# ip filter
2511.101Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2521.101Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2531.102Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2541.37Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2551.49Satatatpseudo-device	bridge			# simple inter-network bridging
2561.69Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2571.108Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2581.46Saugustss#pseudo-device	wsmux			# mouse & keyboard multiplexor
2591.1Sdbj
2601.34Sjdolecekpseudo-device	pty			# pseudo-terminals
2611.101Scubepseudo-device	vnd			# paging to files
2621.90Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2631.132Schristos#pseudo-device	raid			# RAIDframe disk driver
2641.26Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2651.52Soster# Options to enable various other RAIDframe RAID types.
2661.52Soster# options	RF_INCLUDE_EVENODD=1
2671.52Soster# options	RF_INCLUDE_RAID5_RS=1
2681.52Soster# options	RF_INCLUDE_PARITYLOGGING=1
2691.52Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2701.52Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2711.52Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2721.52Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2731.119Spookapseudo-device	fss			# file system snapshot device
2741.131Schristospseudo-device	ccd			# concatenated disks
2751.58Slukempseudo-device	clockctl		# user control of clock subsystem
2761.71Sraggepseudo-device	ksyms			# /dev/ksyms
2771.76Sitojun#pseudo-device	pf			# PF packet filter
2781.76Sitojun#pseudo-device	pflog			# PF log if
2791.118Spookapseudo-device	putter			# for puffs and pud
2801.98Selad
2811.98Selad# Veriexec
2821.98Selad#
2831.98Selad# a pseudo device needed for veriexec
2841.132Schristos#pseudo-device	veriexec
2851.98Selad#
2861.98Selad# Uncomment the fingerprint methods below that are desired. Note that
2871.98Selad# removing fingerprint methods will have almost no impact on the kernel
2881.98Selad# code size.
2891.98Selad#
2901.98Selad#options VERIFIED_EXEC_FP_RMD160
2911.98Selad#options VERIFIED_EXEC_FP_SHA256
2921.98Selad#options VERIFIED_EXEC_FP_SHA384
2931.98Selad#options VERIFIED_EXEC_FP_SHA512
2941.98Selad#options VERIFIED_EXEC_FP_SHA1
2951.98Selad#options VERIFIED_EXEC_FP_MD5
296