GENERIC revision 1.54
11.54Sgmcgarry# $NetBSD: GENERIC,v 1.54 2002/04/12 08:11:13 gmcgarry 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.54Sgmcgarry#ident 		"GENERIC-$Revision: 1.54 $"
241.1Sdbj
251.1Sdbj# Needs to be set per system.  i.e change these as you see fit
261.1Sdbjmaxusers	16
271.1Sdbj
281.1Sdbj# Standard system options
291.1Sdbjoptions 	KTRACE		# system call tracing
301.1Sdbjoptions 	SYSVMSG		# System V message queues
311.1Sdbjoptions 	SYSVSEM		# System V semaphores
321.48Slukem#options 	SEMMNI=10	# number of semaphore identifiers
331.48Slukem#options 	SEMMNS=60	# number of semaphores in system
341.48Slukem#options 	SEMUME=10	# max number of undo entries per process
351.48Slukem#options 	SEMMNU=30	# number of undo structures in system
361.1Sdbjoptions 	SYSVSHM		# System V shared memory
371.1Sdbj#options 	SHMMAXPGS=1024	# 1024 pages is the default
381.1Sdbj
391.1Sdbjoptions 	LKM		# loadable kernel modules
401.1Sdbjoptions 	INSECURE	# disable kernel security level
411.1Sdbjoptions 	UCONSOLE	# Allow non-root TIOCCONS
421.54Sgmcgarry#options 	USERCONF	# userconf(4) support
431.53Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
441.1Sdbj
451.22Sdbjoptions 	DEBUG		# kernel debugging code
461.22Sdbjoptions 	DIAGNOSTIC	# extra kernel sanity checking
471.22Sdbj
481.1Sdbj# Which kernel debugger?  Uncomment either this:
491.1Sdbjoptions 	DDB
501.3Sdbjoptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
511.3Sdbj
521.1Sdbj# ... or these for KGDB (gdb remote target)
531.48Slukem#makeoptions	DEBUG="-g"		# debugging symbols for gdb
541.47Slukem#options 	KGDB			# support for kernel gdb
551.47Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
561.47Slukem#options 	KGDB_DEVRATE=9600	# baud rate
571.1Sdbj
581.1Sdbj# Other debugging options
591.1Sdbjoptions 	KMEMSTATS	# kernel memory statistics (vmstat -m)
601.1Sdbj#options 	PMAP_DEBUG
611.1Sdbjoptions 	SCSIDEBUG
621.1Sdbjoptions 	SCSIVERBOSE		# Verbose SCSI errors
631.48Slukemoptions 	SWAPDEBUG
641.1Sdbj
651.41Swiz# Compatibility options
661.1Sdbjoptions 	COMPAT_43	# and 4.3BSD and ...
671.1Sdbjoptions 	COMPAT_44	# and 4.4BSD and ...
681.3Sdbjoptions 	COMPAT_09	# NetBSD 0.9
691.1Sdbjoptions 	COMPAT_10	# NetBSD 1.0
701.1Sdbjoptions 	COMPAT_11	# NetBSD 1.1
711.1Sdbjoptions 	COMPAT_12	# NetBSD 1.2
721.1Sdbjoptions 	COMPAT_13	# NetBSD 1.3
731.17Saugustssoptions 	COMPAT_14	# NetBSD 1.4
741.1Sdbj
751.43Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
761.43Sabs
771.28Sdebergoptions 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
781.3Sdbjoptions 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
791.3Sdbjoptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
801.15Skleink#options 	COMPAT_SVR4	# can run SVR4 executables
811.7Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
821.40Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
831.40Schsoptions 	EXEC_AOUT	# support for a.out executables
841.1Sdbj
851.1Sdbj# File systems
861.13Sdbj#file-system 	FFS		# UFS
871.13Sdbj#file-system 	EXT2FS		# second extended file system (linux)
881.13Sdbj#file-system 	LFS		# log-structured file system
891.1Sdbjfile-system 	MFS		# memory file system
901.1Sdbjfile-system 	NFS		# Network File System client
911.13Sdbj#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
921.13Sdbj#file-system 	MSDOSFS		# MS-DOS file system
931.1Sdbjfile-system 	FDESC		# /dev/fd
941.1Sdbjfile-system 	KERNFS		# /kern
951.1Sdbjfile-system 	NULLFS		# loopback file system
961.23Swrstudenfile-system 	OVERLAY		# overlay file system
971.1Sdbjfile-system 	PORTAL		# portal filesystem (still experimental)
981.1Sdbjfile-system 	PROCFS		# /proc
991.1Sdbjfile-system 	UMAPFS		# NULLFS + uid and gid remapping
1001.1Sdbjfile-system 	UNION		# union file system
1011.1Sdbj
1021.1Sdbjoptions 	NFSSERVER	# nfs server support
1031.1Sdbjoptions 	QUOTA		# FFS quotas
1041.48Slukemoptions 	SOFTDEP		# FFS soft updates support.
1051.1Sdbj#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1061.1Sdbj				# immutable) behave as system flags.
1071.21Sitojun
1081.1Sdbj# Networking options
1091.1Sdbjoptions 	GATEWAY		# packet forwarding
1101.1Sdbjoptions 	INET		# IP + ICMP + TCP + UDP
1111.21Sitojunoptions 	INET6		# IPV6
1121.21Sitojun#options 	IPSEC		# IP security
1131.21Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1141.21Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1151.1Sdbj#options 	MROUTING	# IP multicast routing
1161.1Sdbj#options 	NS		# XNS
1171.1Sdbj#options 	NSIP		# XNS tunneling over IP
1181.1Sdbj#options 	ISO,TPIP	# OSI
1191.1Sdbj#options 	EON		# OSI tunneling over IP
1201.1Sdbj#options 	CCITT,LLC,HDLC	# X.25
1211.1Sdbj#options 	NETATALK	# AppleTalk networking protocols
1221.16Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1231.16Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1241.16Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1251.16Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1261.43Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1271.1Sdbj
1281.1Sdbj# NeXT specific options
1291.1Sdbjoptions 	M68040
1301.39Sdbj#options 	M68030
1311.1Sdbjoptions 	FPSP
1321.1Sdbj#options 	FPU_EMULATE
1331.1Sdbj
1341.27Sdebergoptions 	ZS_CONSOLE_ABORT	# drop to debugger on break
1351.27Sdeberg#options 	SERCONSOLE		# use serial console
1361.1Sdbj
1371.1Sdbjoptions 	NFS_BOOT_BOOTP
1381.1Sdbjoptions 	NFS_BOOT_DHCP
1391.3Sdbj
1401.9Sdbj# wscons options
1411.48Slukemoptions 	RCONS_2BPP		# necessary for nextdisplay
1421.48Slukemoptions 	RCONS_16BPP		# necessary for color nextdisplay
1431.10Sdbj#options 	WSEMUL_SUN		# sun terminal emulation
1441.10Sdbjoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1451.9Sdbjoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1461.9Sdbjoptions 	WSDISPLAY_COMPAT_USL		# VT handling
1471.9Sdbjoptions 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
1481.12Sdbj# see dev/wskbdmap_next.h for implemented layouts
1491.9Sdbj#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1501.9Sdbj
1511.1Sdbjconfig		netbsd root on ? type ?
1521.1Sdbj
1531.8Sdbj#
1541.8Sdbj# Device configuration
1551.8Sdbj#
1561.8Sdbj
1571.8Sdbj# The root node:
1581.8Sdbjmainbus0 at root
1591.8Sdbj
1601.8Sdbj#fpu0 at mainbus?
1611.8Sdbj
1621.8Sdbj# device space
1631.48Slukemintio0	at mainbus?
1641.9Sdbj
1651.48Slukemnextkbd0	at intio? ipl 3
1661.48Slukemnextdisplay0	at mainbus?
1671.9Sdbj
1681.48Slukemwsdisplay*	at nextdisplay? console ?
1691.48Slukemwskbd*		at nextkbd? console ?
1701.8Sdbj
1711.8Sdbj# INTIO
1721.48Slukemzsc0	at intio? ipl 5
1731.48Slukem#zsc1	at intio? ipl 5
1741.8Sdbj
1751.48Slukemxe*	at intio? ipl 3			# ethernet
1761.8Sdbj
1771.48Slukem#esp0	at intio? ipl 3	flags 0xff00	# Turn off sync negotiation
1781.8Sdbj
1791.8Sdbj#
1801.8Sdbj# Serial ports
1811.8Sdbj#
1821.8Sdbjzstty0	at zsc0 channel 0	# ttya
1831.8Sdbjzstty1	at zsc0 channel 1	# ttyb
1841.8Sdbj
1851.8Sdbj# SCSI bus support
1861.13Sdbj#scsibus* at scsi?
1871.8Sdbj
1881.8Sdbj# SCSI devices
1891.13Sdbj#sd*	at scsibus? target ? lun ?	# SCSI disk drives
1901.13Sdbj#st*	at scsibus? target ? lun ?	# SCSI tape drives
1911.13Sdbj#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1921.13Sdbj#ch*	at scsibus? target ? lun ?	# SCSI autochangers
1931.13Sdbj#se*	at scsibus? target ? lun ?	# SCSI ethernet
1941.13Sdbj#ss*	at scsibus? target ? lun ?	# SCSI scanners
1951.13Sdbj#uk*	at scsibus? target ? lun ?	# SCSI unknown
1961.8Sdbj
1971.8Sdbj
1981.1Sdbj# Memory-disk drivers
1991.1Sdbjpseudo-device	md		2
2001.1Sdbj
2011.1Sdbj# Misc.
2021.1Sdbjpseudo-device	loop		1	# network loopback
2031.1Sdbjpseudo-device	bpfilter	8	# packet filter
2041.1Sdbjpseudo-device	sl		2	# CSLIP
2051.1Sdbjpseudo-device	ppp		2	# PPP
2061.51Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2071.1Sdbjpseudo-device	tun		2	# network tunneling over tty
2081.6Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2091.1Sdbjpseudo-device	ipfilter		# ip filter
2101.21Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2111.21Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2121.29Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2131.37Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2141.49Satatatpseudo-device	bridge			# simple inter-network bridging
2151.36Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2161.46Saugustss#pseudo-device	wsmux			# mouse & keyboard multiplexor
2171.1Sdbj
2181.34Sjdolecekpseudo-device	pty			# pseudo-terminals
2191.1Sdbjpseudo-device	vnd		4	# paging to files
2201.52Soster#pseudo-device	raid		8	# RAIDframe disk driver
2211.26Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2221.52Soster# Options to enable various other RAIDframe RAID types.
2231.52Soster# options	RF_INCLUDE_EVENODD=1
2241.52Soster# options	RF_INCLUDE_RAID5_RS=1
2251.52Soster# options	RF_INCLUDE_PARITYLOGGING=1
2261.52Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2271.52Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2281.52Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2291.52Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2301.1Sdbjpseudo-device	ccd		4	# concatenated disks
231