GENERIC revision 1.77
11.77Sabs# $NetBSD: GENERIC,v 1.77 2004/06/26 07:32:08 abs 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.77Sabs#ident 		"GENERIC-$Revision: 1.77 $"
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.67Sjunyoung
481.68Swiz# Enable experimental buffer queue strategy for better responsiveness under 
491.67Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
501.67Sjunyoung#options 	NEW_BUFQ_STRATEGY
511.1Sdbj
521.22Sdbjoptions 	DEBUG		# kernel debugging code
531.22Sdbjoptions 	DIAGNOSTIC	# extra kernel sanity checking
541.22Sdbj
551.1Sdbj# Which kernel debugger?  Uncomment either this:
561.1Sdbjoptions 	DDB
571.3Sdbjoptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
581.3Sdbj
591.1Sdbj# ... or these for KGDB (gdb remote target)
601.48Slukem#makeoptions	DEBUG="-g"		# debugging symbols for gdb
611.47Slukem#options 	KGDB			# support for kernel gdb
621.47Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
631.47Slukem#options 	KGDB_DEVRATE=9600	# baud rate
641.1Sdbj
651.1Sdbj# Other debugging options
661.1Sdbjoptions 	KMEMSTATS	# kernel memory statistics (vmstat -m)
671.1Sdbj#options 	PMAP_DEBUG
681.1Sdbjoptions 	SCSIDEBUG
691.1Sdbjoptions 	SCSIVERBOSE		# Verbose SCSI errors
701.48Slukemoptions 	SWAPDEBUG
711.1Sdbj
721.41Swiz# Compatibility options
731.1Sdbjoptions 	COMPAT_43	# and 4.3BSD and ...
741.1Sdbjoptions 	COMPAT_44	# and 4.4BSD and ...
751.3Sdbjoptions 	COMPAT_09	# NetBSD 0.9
761.1Sdbjoptions 	COMPAT_10	# NetBSD 1.0
771.1Sdbjoptions 	COMPAT_11	# NetBSD 1.1
781.1Sdbjoptions 	COMPAT_12	# NetBSD 1.2
791.1Sdbjoptions 	COMPAT_13	# NetBSD 1.3
801.17Saugustssoptions 	COMPAT_14	# NetBSD 1.4
811.72Scloptions 	COMPAT_15	# NetBSD 1.5
821.72Scloptions 	COMPAT_16	# NetBSD 1.6
831.1Sdbj
841.43Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
851.43Sabs
861.28Sdebergoptions 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
871.3Sdbjoptions 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
881.3Sdbjoptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
891.15Skleink#options 	COMPAT_SVR4	# can run SVR4 executables
901.7Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
911.40Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
921.40Schsoptions 	EXEC_AOUT	# support for a.out executables
931.1Sdbj
941.1Sdbj# File systems
951.65Smycroftfile-system 	FFS		# UFS
961.13Sdbj#file-system 	EXT2FS		# second extended file system (linux)
971.13Sdbj#file-system 	LFS		# log-structured file system
981.1Sdbjfile-system 	MFS		# memory file system
991.1Sdbjfile-system 	NFS		# Network File System client
1001.13Sdbj#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
1011.13Sdbj#file-system 	MSDOSFS		# MS-DOS file system
1021.1Sdbjfile-system 	FDESC		# /dev/fd
1031.1Sdbjfile-system 	KERNFS		# /kern
1041.1Sdbjfile-system 	NULLFS		# loopback file system
1051.23Swrstudenfile-system 	OVERLAY		# overlay file system
1061.1Sdbjfile-system 	PORTAL		# portal filesystem (still experimental)
1071.1Sdbjfile-system 	PROCFS		# /proc
1081.1Sdbjfile-system 	UMAPFS		# NULLFS + uid and gid remapping
1091.1Sdbjfile-system 	UNION		# union file system
1101.1Sdbj
1111.1Sdbjoptions 	NFSSERVER	# nfs server support
1121.57Sjdolecek#options 	QUOTA		# FFS quotas
1131.56Smatt#options 	SOFTDEP		# FFS soft updates support.
1141.1Sdbj#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1151.1Sdbj				# immutable) behave as system flags.
1161.21Sitojun
1171.1Sdbj# Networking options
1181.1Sdbjoptions 	GATEWAY		# packet forwarding
1191.1Sdbjoptions 	INET		# IP + ICMP + TCP + UDP
1201.21Sitojunoptions 	INET6		# IPV6
1211.21Sitojun#options 	IPSEC		# IP security
1221.21Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1231.21Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1241.1Sdbj#options 	MROUTING	# IP multicast routing
1251.1Sdbj#options 	NS		# XNS
1261.1Sdbj#options 	NSIP		# XNS tunneling over IP
1271.1Sdbj#options 	ISO,TPIP	# OSI
1281.1Sdbj#options 	EON		# OSI tunneling over IP
1291.1Sdbj#options 	CCITT,LLC,HDLC	# X.25
1301.1Sdbj#options 	NETATALK	# AppleTalk networking protocols
1311.16Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1321.16Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1331.16Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1341.16Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1351.43Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1361.1Sdbj
1371.77Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1381.77Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1391.77Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1401.77Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1411.77Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1421.77Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1431.77Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1441.77Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1451.77Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1461.77Sabs#options 	ALTQ_RED	# Random Early Detection
1471.77Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1481.77Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1491.77Sabs
1501.1Sdbj# NeXT specific options
1511.1Sdbjoptions 	M68040
1521.62Smycroftoptions 	M68030
1531.1Sdbjoptions 	FPSP
1541.1Sdbj#options 	FPU_EMULATE
1551.1Sdbj
1561.27Sdebergoptions 	ZS_CONSOLE_ABORT	# drop to debugger on break
1571.27Sdeberg#options 	SERCONSOLE		# use serial console
1581.1Sdbj
1591.1Sdbjoptions 	NFS_BOOT_BOOTP
1601.1Sdbjoptions 	NFS_BOOT_DHCP
1611.3Sdbj
1621.9Sdbj# wscons options
1631.48Slukemoptions 	RCONS_2BPP		# necessary for nextdisplay
1641.48Slukemoptions 	RCONS_16BPP		# necessary for color nextdisplay
1651.10Sdbj#options 	WSEMUL_SUN		# sun terminal emulation
1661.10Sdbjoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1671.9Sdbjoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1681.9Sdbjoptions 	WSDISPLAY_COMPAT_USL		# VT handling
1691.9Sdbjoptions 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
1701.12Sdbj# see dev/wskbdmap_next.h for implemented layouts
1711.9Sdbj#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1721.9Sdbj
1731.1Sdbjconfig		netbsd root on ? type ?
1741.1Sdbj
1751.8Sdbj#
1761.8Sdbj# Device configuration
1771.8Sdbj#
1781.8Sdbj
1791.8Sdbj# The root node:
1801.8Sdbjmainbus0 at root
1811.8Sdbj
1821.8Sdbj#fpu0 at mainbus?
1831.8Sdbj
1841.8Sdbj# device space
1851.48Slukemintio0	at mainbus?
1861.9Sdbj
1871.48Slukemnextkbd0	at intio? ipl 3
1881.48Slukemnextdisplay0	at mainbus?
1891.9Sdbj
1901.48Slukemwsdisplay*	at nextdisplay? console ?
1911.48Slukemwskbd*		at nextkbd? console ?
1921.8Sdbj
1931.8Sdbj# INTIO
1941.61Smycroftnextdma*	at intio? ipl 6
1951.61Smycroft
1961.48Slukemzsc0	at intio? ipl 5
1971.48Slukem#zsc1	at intio? ipl 5
1981.8Sdbj
1991.48Slukemxe*	at intio? ipl 3			# ethernet
2001.8Sdbj
2011.64Smycroftesp0	at intio? ipl 3	flags 0xffff00	# Turn off sync negotiation
2021.8Sdbj
2031.8Sdbj#
2041.8Sdbj# Serial ports
2051.8Sdbj#
2061.8Sdbjzstty0	at zsc0 channel 0	# ttya
2071.8Sdbjzstty1	at zsc0 channel 1	# ttyb
2081.8Sdbj
2091.8Sdbj# SCSI bus support
2101.60Smycroftscsibus* at scsi?
2111.8Sdbj
2121.8Sdbj# SCSI devices
2131.64Smycroftsd*	at scsibus? target ? lun ?	# SCSI disk drives
2141.64Smycroftst*	at scsibus? target ? lun ?	# SCSI tape drives
2151.64Smycroftcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2161.64Smycroftch*	at scsibus? target ? lun ?	# SCSI autochangers
2171.64Smycroftse*	at scsibus? target ? lun ?	# SCSI ethernet
2181.64Smycroftss*	at scsibus? target ? lun ?	# SCSI scanners
2191.64Smycroftuk*	at scsibus? target ? lun ?	# SCSI unknown
2201.8Sdbj
2211.8Sdbj
2221.1Sdbj# Memory-disk drivers
2231.1Sdbjpseudo-device	md		2
2241.1Sdbj
2251.1Sdbj# Misc.
2261.1Sdbjpseudo-device	loop		1	# network loopback
2271.1Sdbjpseudo-device	bpfilter	8	# packet filter
2281.1Sdbjpseudo-device	sl		2	# CSLIP
2291.1Sdbjpseudo-device	ppp		2	# PPP
2301.51Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2311.1Sdbjpseudo-device	tun		2	# network tunneling over tty
2321.6Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2331.1Sdbjpseudo-device	ipfilter		# ip filter
2341.21Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2351.21Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2361.29Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2371.37Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2381.49Satatatpseudo-device	bridge			# simple inter-network bridging
2391.69Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2401.36Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2411.46Saugustss#pseudo-device	wsmux			# mouse & keyboard multiplexor
2421.1Sdbj
2431.34Sjdolecekpseudo-device	pty			# pseudo-terminals
2441.1Sdbjpseudo-device	vnd		4	# paging to files
2451.52Soster#pseudo-device	raid		8	# RAIDframe disk driver
2461.26Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2471.52Soster# Options to enable various other RAIDframe RAID types.
2481.52Soster# options	RF_INCLUDE_EVENODD=1
2491.52Soster# options	RF_INCLUDE_RAID5_RS=1
2501.52Soster# options	RF_INCLUDE_PARITYLOGGING=1
2511.52Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2521.52Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2531.52Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2541.52Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2551.1Sdbjpseudo-device	ccd		4	# concatenated disks
2561.58Slukempseudo-device	clockctl		# user control of clock subsystem
2571.71Sraggepseudo-device	ksyms			# /dev/ksyms
2581.76Sitojun#pseudo-device	pf			# PF packet filter
2591.76Sitojun#pseudo-device	pflog			# PF log if
260