GENERIC revision 1.100
11.100Srpaulo# $NetBSD: GENERIC,v 1.100 2006/02/04 03:29:57 rpaulo 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.100Srpaulo#ident 		"GENERIC-$Revision: 1.100 $"
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.66Sprovosoptions 	SYSTRACE	# system call vetting via systrace(1)
331.1Sdbjoptions 	SYSVMSG		# System V message queues
341.1Sdbjoptions 	SYSVSEM		# System V semaphores
351.48Slukem#options 	SEMMNI=10	# number of semaphore identifiers
361.48Slukem#options 	SEMMNS=60	# number of semaphores in system
371.48Slukem#options 	SEMUME=10	# max number of undo entries per process
381.48Slukem#options 	SEMMNU=30	# number of undo structures in system
391.1Sdbjoptions 	SYSVSHM		# System V shared memory
401.73Smycroftoptions 	P1003_1B_SEMAPHORE	# POSIX semaphore support
411.1Sdbj#options 	SHMMAXPGS=1024	# 1024 pages is the default
421.1Sdbj
431.1Sdbjoptions 	LKM		# loadable kernel modules
441.1Sdbjoptions 	INSECURE	# disable kernel security level
451.63Slukemoptions 	USERCONF	# userconf(4) support
461.53Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
471.78Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
481.67Sjunyoung
491.68Swiz# Enable experimental buffer queue strategy for better responsiveness under 
501.67Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
511.87Stsutsui#options 	BUFQ_READPRIO
521.87Stsutsui#options 	BUFQ_PRIOCSCAN
531.1Sdbj
541.96Schs#options 	DEBUG		# kernel debugging code
551.96Schs#options 	DIAGNOSTIC	# extra kernel sanity checking
561.22Sdbj
571.1Sdbj# Which kernel debugger?  Uncomment either this:
581.1Sdbjoptions 	DDB
591.3Sdbjoptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
601.3Sdbj
611.1Sdbj# ... or these for KGDB (gdb remote target)
621.48Slukem#makeoptions	DEBUG="-g"		# debugging symbols for gdb
631.47Slukem#options 	KGDB			# support for kernel gdb
641.47Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
651.47Slukem#options 	KGDB_DEVRATE=9600	# baud rate
661.1Sdbj
671.1Sdbj# Other debugging options
681.1Sdbjoptions 	KMEMSTATS	# kernel memory statistics (vmstat -m)
691.1Sdbj#options 	PMAP_DEBUG
701.1Sdbjoptions 	SCSIDEBUG
711.1Sdbjoptions 	SCSIVERBOSE		# Verbose SCSI errors
721.48Slukemoptions 	SWAPDEBUG
731.1Sdbj
741.41Swiz# Compatibility options
751.1Sdbjoptions 	COMPAT_43	# and 4.3BSD and ...
761.1Sdbjoptions 	COMPAT_44	# and 4.4BSD and ...
771.3Sdbjoptions 	COMPAT_09	# NetBSD 0.9
781.1Sdbjoptions 	COMPAT_10	# NetBSD 1.0
791.1Sdbjoptions 	COMPAT_11	# NetBSD 1.1
801.1Sdbjoptions 	COMPAT_12	# NetBSD 1.2
811.1Sdbjoptions 	COMPAT_13	# NetBSD 1.3
821.17Saugustssoptions 	COMPAT_14	# NetBSD 1.4
831.72Scloptions 	COMPAT_15	# NetBSD 1.5
841.72Scloptions 	COMPAT_16	# NetBSD 1.6
851.86Ssimonboptions 	COMPAT_20	# NetBSD 2.0
861.93Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
871.1Sdbj
881.43Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
891.43Sabs
901.28Sdebergoptions 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
911.3Sdbjoptions 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
921.3Sdbjoptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
931.15Skleink#options 	COMPAT_SVR4	# can run SVR4 executables
941.7Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
951.40Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
961.40Schsoptions 	EXEC_AOUT	# support for a.out executables
971.80Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
981.1Sdbj
991.1Sdbj# File systems
1001.65Smycroftfile-system 	FFS		# UFS
1011.13Sdbj#file-system 	EXT2FS		# second extended file system (linux)
1021.13Sdbj#file-system 	LFS		# log-structured file system
1031.1Sdbjfile-system 	MFS		# memory file system
1041.1Sdbjfile-system 	NFS		# Network File System client
1051.13Sdbj#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
1061.13Sdbj#file-system 	MSDOSFS		# MS-DOS file system
1071.1Sdbjfile-system 	FDESC		# /dev/fd
1081.1Sdbjfile-system 	KERNFS		# /kern
1091.1Sdbjfile-system 	NULLFS		# loopback file system
1101.23Swrstudenfile-system 	OVERLAY		# overlay file system
1111.1Sdbjfile-system 	PORTAL		# portal filesystem (still experimental)
1121.1Sdbjfile-system 	PROCFS		# /proc
1131.1Sdbjfile-system 	UMAPFS		# NULLFS + uid and gid remapping
1141.1Sdbjfile-system 	UNION		# union file system
1151.94Schristosfile-system	PTYFS		# /dev/pts/N support
1161.95Sjmmv#file-system	TMPFS		# experimental - Efficient memory file-system
1171.99Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1181.1Sdbj
1191.1Sdbjoptions 	NFSSERVER	# nfs server support
1201.57Sjdolecek#options 	QUOTA		# FFS quotas
1211.56Smatt#options 	SOFTDEP		# FFS soft updates 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.21Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1331.89Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1341.21Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1351.1Sdbj#options 	MROUTING	# IP multicast routing
1361.79Smanu#options 	PIM		# Protocol Independent Multicast
1371.1Sdbj#options 	NS		# XNS
1381.1Sdbj#options 	NSIP		# XNS tunneling over IP
1391.1Sdbj#options 	ISO,TPIP	# OSI
1401.1Sdbj#options 	EON		# OSI tunneling over IP
1411.1Sdbj#options 	CCITT,LLC,HDLC	# X.25
1421.1Sdbj#options 	NETATALK	# AppleTalk networking protocols
1431.16Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1441.16Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1451.16Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1461.16Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1471.43Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1481.1Sdbj
1491.77Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1501.77Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1511.77Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1521.77Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1531.77Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1541.77Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1551.77Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1561.77Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1571.77Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1581.77Sabs#options 	ALTQ_RED	# Random Early Detection
1591.77Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1601.77Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1611.77Sabs
1621.1Sdbj# NeXT specific options
1631.1Sdbjoptions 	M68040
1641.62Smycroftoptions 	M68030
1651.1Sdbjoptions 	FPSP
1661.1Sdbj#options 	FPU_EMULATE
1671.1Sdbj
1681.27Sdebergoptions 	ZS_CONSOLE_ABORT	# drop to debugger on break
1691.27Sdeberg#options 	SERCONSOLE		# use serial console
1701.1Sdbj
1711.1Sdbjoptions 	NFS_BOOT_BOOTP
1721.1Sdbjoptions 	NFS_BOOT_DHCP
1731.3Sdbj
1741.9Sdbj# wscons options
1751.48Slukemoptions 	RCONS_2BPP		# necessary for nextdisplay
1761.48Slukemoptions 	RCONS_16BPP		# necessary for color nextdisplay
1771.10Sdbj#options 	WSEMUL_SUN		# sun terminal emulation
1781.10Sdbjoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1791.9Sdbjoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1801.9Sdbjoptions 	WSDISPLAY_COMPAT_USL		# VT handling
1811.9Sdbjoptions 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
1821.12Sdbj# see dev/wskbdmap_next.h for implemented layouts
1831.9Sdbj#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1841.9Sdbj
1851.1Sdbjconfig		netbsd root on ? type ?
1861.1Sdbj
1871.8Sdbj#
1881.8Sdbj# Device configuration
1891.8Sdbj#
1901.8Sdbj
1911.8Sdbj# The root node:
1921.8Sdbjmainbus0 at root
1931.8Sdbj
1941.8Sdbj#fpu0 at mainbus?
1951.8Sdbj
1961.8Sdbj# device space
1971.48Slukemintio0	at mainbus?
1981.9Sdbj
1991.48Slukemnextkbd0	at intio? ipl 3
2001.48Slukemnextdisplay0	at mainbus?
2011.9Sdbj
2021.48Slukemwsdisplay*	at nextdisplay? console ?
2031.48Slukemwskbd*		at nextkbd? console ?
2041.8Sdbj
2051.8Sdbj# INTIO
2061.61Smycroftnextdma*	at intio? ipl 6
2071.61Smycroft
2081.48Slukemzsc0	at intio? ipl 5
2091.48Slukem#zsc1	at intio? ipl 5
2101.8Sdbj
2111.48Slukemxe*	at intio? ipl 3			# ethernet
2121.8Sdbj
2131.64Smycroftesp0	at intio? ipl 3	flags 0xffff00	# Turn off sync negotiation
2141.8Sdbj
2151.8Sdbj#
2161.8Sdbj# Serial ports
2171.8Sdbj#
2181.8Sdbjzstty0	at zsc0 channel 0	# ttya
2191.8Sdbjzstty1	at zsc0 channel 1	# ttyb
2201.8Sdbj
2211.8Sdbj# SCSI bus support
2221.60Smycroftscsibus* at scsi?
2231.8Sdbj
2241.8Sdbj# SCSI devices
2251.64Smycroftsd*	at scsibus? target ? lun ?	# SCSI disk drives
2261.64Smycroftst*	at scsibus? target ? lun ?	# SCSI tape drives
2271.64Smycroftcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2281.64Smycroftch*	at scsibus? target ? lun ?	# SCSI autochangers
2291.64Smycroftse*	at scsibus? target ? lun ?	# SCSI ethernet
2301.64Smycroftss*	at scsibus? target ? lun ?	# SCSI scanners
2311.64Smycroftuk*	at scsibus? target ? lun ?	# SCSI unknown
2321.8Sdbj
2331.8Sdbj
2341.1Sdbj# Memory-disk drivers
2351.1Sdbjpseudo-device	md		2
2361.1Sdbj
2371.1Sdbj# Misc.
2381.1Sdbjpseudo-device	loop		1	# network loopback
2391.100Srpaulopseudo-device	bpfilter		# packet filter
2401.1Sdbjpseudo-device	sl		2	# CSLIP
2411.1Sdbjpseudo-device	ppp		2	# PPP
2421.51Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2431.1Sdbjpseudo-device	tun		2	# network tunneling over tty
2441.81Scubepseudo-device	tap			# virtual Ethernet
2451.6Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2461.1Sdbjpseudo-device	ipfilter		# ip filter
2471.21Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2481.21Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2491.29Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2501.37Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2511.49Satatatpseudo-device	bridge			# simple inter-network bridging
2521.69Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2531.36Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2541.46Saugustss#pseudo-device	wsmux			# mouse & keyboard multiplexor
2551.1Sdbj
2561.34Sjdolecekpseudo-device	pty			# pseudo-terminals
2571.1Sdbjpseudo-device	vnd		4	# paging to files
2581.90Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2591.52Soster#pseudo-device	raid		8	# RAIDframe disk driver
2601.26Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2611.52Soster# Options to enable various other RAIDframe RAID types.
2621.52Soster# options	RF_INCLUDE_EVENODD=1
2631.52Soster# options	RF_INCLUDE_RAID5_RS=1
2641.52Soster# options	RF_INCLUDE_PARITYLOGGING=1
2651.52Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2661.52Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2671.52Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2681.52Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2691.83Shannkenpseudo-device	fss		4	# file system snapshot device
2701.1Sdbjpseudo-device	ccd		4	# concatenated disks
2711.58Slukempseudo-device	clockctl		# user control of clock subsystem
2721.71Sraggepseudo-device	ksyms			# /dev/ksyms
2731.76Sitojun#pseudo-device	pf			# PF packet filter
2741.76Sitojun#pseudo-device	pflog			# PF log if
2751.98Selad
2761.98Selad# Veriexec
2771.98Selad#options VERIFIED_EXEC
2781.98Selad#
2791.98Selad# a pseudo device needed for veriexec
2801.98Selad#pseudo-device	veriexec		1
2811.98Selad#
2821.98Selad# Uncomment the fingerprint methods below that are desired. Note that
2831.98Selad# removing fingerprint methods will have almost no impact on the kernel
2841.98Selad# code size.
2851.98Selad#
2861.98Selad#options VERIFIED_EXEC_FP_RMD160
2871.98Selad#options VERIFIED_EXEC_FP_SHA256
2881.98Selad#options VERIFIED_EXEC_FP_SHA384
2891.98Selad#options VERIFIED_EXEC_FP_SHA512
2901.98Selad#options VERIFIED_EXEC_FP_SHA1
2911.98Selad#options VERIFIED_EXEC_FP_MD5
292