GENERIC revision 1.147
11.147Satatat# $NetBSD: GENERIC,v 1.147 2004/07/15 03:53:49 atatat Exp $
21.21Scgd#
31.117Sgmcgarry# GENERIC machine description file
41.117Sgmcgarry# 
51.117Sgmcgarry# This machine description file is used to generate the default NetBSD
61.117Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.117Sgmcgarry# and device drivers, but should be useful for most applications.
81.117Sgmcgarry#
91.117Sgmcgarry# The machine description file can be customised for your specific
101.117Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.117Sgmcgarry#
121.117Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.117Sgmcgarry# man page.
141.117Sgmcgarry#
151.117Sgmcgarry# For further information on hardware support for this architecture, see
161.117Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.117Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.117Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.117Sgmcgarry# device.
201.1Sbriggs
211.117Sgmcgarryinclude		"arch/mac68k/conf/std.mac68k"
221.95Shubertf
231.125Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.125Satatat
251.147Satatat#ident 		"GENERIC-$Revision: 1.147 $"
261.2Sbriggs
271.74Sscottrmaxusers	16		# estimated number of users
281.71Sscottr
291.71Sscottr# CPU support.  At least one is REQUIRED.
301.71Sscottroptions 	M68040
311.71Sscottroptions 	M68030
321.71Sscottroptions 	M68020		# Note:  must have 68851 PMMU
331.71Sscottr
341.71Sscottr# CPU-related options.
351.71Sscottroptions 	FPSP
361.71Sscottroptions 	FPU_EMULATE
371.2Sbriggs
381.2Sbriggs# Standard system options
391.71Sscottr
401.71Sscottroptions 	INSECURE	# disable kernel security levels
411.71Sscottr
421.71Sscottroptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
431.71Sscottr#options 	NTP		# NTP phase/frequency locked loop
441.71Sscottr
451.71Sscottroptions 	KTRACE		# system call tracing via ktrace(1)
461.132Sprovosoptions 	SYSTRACE	# system call vetting via systrace(1)
471.71Sscottr
481.71Sscottroptions 	SYSVMSG		# System V-like message queues
491.71Sscottroptions 	SYSVSEM		# System V-like semaphores
501.115Slukem#options 	SEMMNI=10	# number of semaphore identifiers
511.115Slukem#options 	SEMMNS=60	# number of semaphores in system
521.115Slukem#options 	SEMUME=10	# max number of undo entries per process
531.115Slukem#options 	SEMMNU=30	# number of undo structures in system
541.71Sscottroptions 	SYSVSHM		# System V-like memory sharing
551.54Sscottr#options 	SHMMAXPGS=1024	# 1024 pages is the default
561.146Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
571.71Sscottr
581.54Sscottroptions 	LKM		# loadable kernel modules
591.120Sjdolecek
601.129Slukemoptions 	USERCONF	# userconf(4) support
611.120Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
621.147Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
631.134Sjunyoung
641.135Swiz# Enable experimental buffer queue strategy for better responsiveness under 
651.134Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
661.134Sjunyoung#options 	NEW_BUFQ_STRATEGY
671.54Sscottr
681.71Sscottr# Diagnostic/debugging support options
691.121Sfredb#options 	DIAGNOSTIC	# cheap kernel consistency checks
701.71Sscottr#options 	DEBUG		# expensive debugging checks/support
711.71Sscottroptions 	KMEMSTATS	# kernel memory statistics (vmstat -m)
721.114Slukemoptions 	DDB			# in-kernel debugger
731.70Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
741.114Slukem#options 	KGDB			# remote debugger
751.114Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
761.114Slukem#options 	KGDB_DEVRATE=38400	# baud rate
771.71Sscottr#makeoptions	DEBUG="-g"	# compile full symbol table
781.54Sscottr
791.54Sscottr# Compatibility options
801.71Sscottr#options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
811.71Sscottr#options 	COMPAT_09	# NetBSD 0.9,
821.71Sscottroptions 	COMPAT_10	# NetBSD 1.0,
831.71Sscottroptions 	COMPAT_11	# NetBSD 1.1,
841.71Sscottroptions 	COMPAT_12	# NetBSD 1.2,
851.72Skleinkoptions 	COMPAT_13	# NetBSD 1.3,
861.89Saugustssoptions 	COMPAT_14	# NetBSD 1.4,
871.122Sfredboptions 	COMPAT_15	# NetBSD 1.5,
881.139Scloptions 	COMPAT_16	# NetBSD 1.6,
891.71Sscottroptions 	COMPAT_43	# and 4.3BSD
901.111Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
911.71Sscottr
921.121Sfredb# The following is needed to run pre-NetBSD 1.6 binaries under ELF.
931.123Sshibaoptions 	COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
941.123Sshibaoptions 	EXEC_AOUT	# support for exec'ing a.out
951.121Sfredb
961.121Sfredb#options 	COMPAT_LINUX	# compatibility with Linux/m68k binaries
971.121Sfredb#options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
981.121Sfredb#options 	COMPAT_SUNOS	# compatibility with SunOS 4.x binaries
991.86Skleink#options 	COMPAT_SVR4	# compatibility with SVR4 binaries
1001.2Sbriggs
1011.65Sscottr# File systems
1021.71Sscottrfile-system 	FFS		# UFS
1031.71Sscottrfile-system 	EXT2FS		# second extended file system (linux)
1041.71Sscottrfile-system 	LFS		# log-structured file system
1051.71Sscottrfile-system 	MFS		# memory file system
1061.71Sscottrfile-system 	NFS		# Network File System client
1071.71Sscottrfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
1081.71Sscottrfile-system 	MSDOSFS		# MS-DOS file system
1091.71Sscottrfile-system 	FDESC		# /dev/fd
1101.71Sscottrfile-system 	KERNFS		# /kern
1111.71Sscottrfile-system 	NULLFS		# loopback file system
1121.94Swrstudenfile-system 	OVERLAY		# overlay file system
1131.71Sscottrfile-system 	PORTAL		# portal filesystem (still experimental)
1141.71Sscottrfile-system 	PROCFS		# /proc
1151.71Sscottrfile-system 	UMAPFS		# NULLFS + uid and gid remapping
1161.71Sscottrfile-system 	UNION		# union file system
1171.90Sfredbfile-system 	CODA		# Venus/Coda distributed file system
1181.55Sthorpej
1191.65Sscottr# File system options
1201.71Sscottroptions 	QUOTA		# UFS quotas
1211.75Sbouyer#options 	FFS_EI		# FFS Endian Independant support
1221.103Sfvdloptions 	SOFTDEP		# FFS soft updates support.
1231.71Sscottroptions 	NFSSERVER	# Network File System server
1241.71Sscottr#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1251.71Sscottr				# immutable) behave as system flags.
1261.92Sitojun
1271.7Sbriggs# Networking options
1281.71Sscottroptions 	GATEWAY		# packet forwarding
1291.71Sscottroptions 	INET		# IP + ICMP + TCP + UDP
1301.92Sitojunoptions 	INET6		# IPV6
1311.92Sitojun#options 	IPSEC		# IP security
1321.92Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1331.92Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1341.71Sscottr#options 	MROUTING	# IP multicast routing
1351.71Sscottroptions 	NS		# XNS
1361.71Sscottr#options 	NSIP		# XNS tunneling over IP
1371.71Sscottroptions 	ISO,TPIP	# OSI
1381.105Ssommerfe#options 	EON		# OSI tunneling over IP
1391.71Sscottroptions 	CCITT,LLC,HDLC	# X.25
1401.71Sscottroptions 	NETATALK	# AppleTalk networking protocols
1411.88Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1421.88Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1431.88Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1441.88Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1451.121Sfredboptions 	IPFILTER_LOG	# ipmon(8) log support
1461.131Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1471.111Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1481.71Sscottr
1491.145Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1501.145Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1511.145Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1521.145Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1531.145Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1541.145Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1551.145Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1561.145Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1571.145Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1581.145Sabs#options 	ALTQ_RED	# Random Early Detection
1591.145Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1601.145Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1611.145Sabs
1621.71Sscottr# These options enable verbose messages for several subsystems.
1631.71Sscottr# Warning, these may compile large string tables into the kernel!
1641.71Sscottroptions 	SCSIVERBOSE	# human readable SCSI error messages
1651.1Sbriggs
1661.96Sscottr# wscons options
1671.96Sscottr#options 	WSEMUL_SUN		# sun terminal emulation
1681.96Sscottroptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1691.96Sscottroptions 	WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
1701.96Sscottr
1711.96Sscottr# rcons options; note that 1-bit and 8-bit displays are supported by default.
1721.96Sscottroptions 	RCONS_2BPP		# Support for 2-bit display
1731.96Sscottroptions 	RCONS_4BPP		# Support for 4-bit display
1741.96Sscottroptions 	RCONS_16BPP		# Support for 16-bit display
1751.96Sscottr
1761.9Sbriggs# Mac-specific options
1771.79Sscottr#options 	ALTXBUTTONS	# Map Opt-{1,2,3} to mouse buttons
1781.87Sbriggs#options 	DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
1791.79Sscottroptions 	GRF_COMPAT	# Include grf compatibility code
1801.77Sscottr#options 	MRG_ADB		# Use ROM-based ADB driver
1811.79Sscottroptions 	ZS_CONSOLE_ABORT
1821.84Sscottr
1831.93Sscottroptions 	NFS_BOOT_DHCP
1841.71Sscottr
1851.71Sscottr# Kernel root file system and dump configuration.
1861.55Sthorpejconfig		netbsd	root on ? type ?
1871.1Sbriggs
1881.71Sscottr#
1891.71Sscottr# Device configuration
1901.71Sscottr#
1911.71Sscottr
1921.71Sscottrmainbus0 at root
1931.71Sscottr
1941.71Sscottrfpu0 at mainbus?			# Floating-Point Coprocessor support
1951.71Sscottr
1961.71Sscottr
1971.71Sscottr# Basic Bus Support
1981.71Sscottr
1991.71Sscottr# On-board I/O bus support
2001.71Sscottrobio0 at mainbus?
2011.71Sscottr
2021.71Sscottr# NuBus support
2031.71Sscottrnubus0 at mainbus?
2041.71Sscottr
2051.71Sscottr
2061.71Sscottr# Console Devices
2071.71Sscottr
2081.71Sscottr# Apple Desktop Bus interface
2091.80Senderadb0	at obio?
2101.80Senderaed*	at adb?				# ADB event device
2111.96Sscottrakbd*	at adb?				# ADB keyboard
2121.96Sscottrams*	at adb?				# ADB mouse
2131.71Sscottr
2141.71Sscottr# Basic frame buffer support
2151.71Sscottrintvid0	at obio?			# Internal video hardware
2161.71Sscottrmacvid*	at nubus?			# NuBus video card
2171.71Sscottr
2181.71Sscottr# Device-independent frame buffer interface
2191.96Sscottrmacfb*	at intvid?
2201.96Sscottrmacfb*	at macvid?
2211.71Sscottr
2221.96Sscottr# Workstation Console devices
2231.99Sscottrwsdisplay* at macfb? console ?
2241.99Sscottrwskbd*	at akbd? console ?
2251.99Sscottrwsmouse* at ams?
2261.71Sscottr
2271.71Sscottr
2281.71Sscottr# Serial Devices
2291.71Sscottr
2301.71Sscottr# On-board serial interface
2311.71Sscottrzsc0	at obio?
2321.71Sscottrzstty*	at zsc? channel ?
2331.71Sscottr
2341.71Sscottr
2351.71Sscottr# SCSI Controllers and Devices
2361.71Sscottr
2371.71Sscottr# SCSI controllers
2381.71Sscottr# XXX - use only one of ncrscsi or sbc
2391.71Sscottrncrscsi0 at obio?			# SCSI NCR 5380
2401.71Sscottr#sbc0	at obio? flags 0x1		# MI SCSI NCR 5380
2411.71Sscottresp0	at obio?			# SCSI NCR 53C9x
2421.71Sscottresp1	at obio?			# SCSI NCR 53C9x
2431.71Sscottr
2441.71Sscottr# SCSI bus support
2451.71Sscottrscsibus* at scsi?
2461.71Sscottr
2471.71Sscottr# SCSI devices
2481.71Sscottrsd*	at scsibus? target ? lun ?	# SCSI disk drives
2491.71Sscottrst*	at scsibus? target ? lun ?	# SCSI tape drives
2501.71Sscottrcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2511.71Sscottrch*	at scsibus? target ? lun ?	# SCSI autochangers
2521.71Sscottrse*	at scsibus? target ? lun ?	# SCSI ethernet
2531.71Sscottrss*	at scsibus? target ? lun ?	# SCSI scanners
2541.71Sscottruk*	at scsibus? target ? lun ?	# SCSI unknown
2551.126Sshiba
2561.126Sshiba# IDE controller and devices
2571.126Sshibawdc*	at obio? flags 0x1000
2581.141Slukematabus* at ata?
2591.140Sbouyerwd*	at atabus? drive ?
2601.84Sscottr
2611.84Sscottr
2621.84Sscottr# Miscellaneous mass storage devices
2631.84Sscottr
2641.84Sscottr# IWM floppy disk controller
2651.84Sscottriwm0	at obio?			# Sony driver (800K GCR)
2661.84Sscottrfd*	at iwm? drive ?
2671.71Sscottr
2681.71Sscottr
2691.71Sscottr# Network Interfaces
2701.71Sscottr
2711.71Sscottr# On-board Ethernet controllers
2721.71Sscottrsn*	at obio?			# SONIC-based (DP83932, DP83916)
2731.71Sscottrmc*	at obio?			# MACE-based
2741.71Sscottr
2751.71Sscottr# NuBus Ethernet controllers
2761.71Sscottrae*	at nubus?			# DP8390-based
2771.71Sscottrsn*	at nubus?			# SONIC-based (DP83932, DP83916)
2781.106Sbriggssm*	at nubus?			# SMC 91cxx-based
2791.128Sitojunnetdock*	at nubus?		# Asante NetDock, Newer Ether MicroDock
2801.71Sscottr
2811.106Sbriggsnsphy*	at mii? phy ?
2821.106Sbriggsukphy*	at mii? phy ?
2831.71Sscottr
2841.71Sscottr# Audio Devices
2851.71Sscottr
2861.71Sscottr# On-board audio hardware
2871.71Sscottrasc0	at obio?			# ASC/EASC audio
2881.71Sscottr
2891.71Sscottr# Pseudo-Devices
2901.71Sscottr
2911.71Sscottr# disk/mass storage pseudo-devices
2921.71Sscottrpseudo-device	ccd		4	# concatenated/striped disk devices
2931.133Selric#pseudo-device	cgd		4	# cryptographic disk devices
2941.119Soster#pseudo-device	raid		8	# RAIDframe disk driver
2951.98Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2961.119Soster# Options to enable various other RAIDframe RAID types.
2971.119Soster# options	RF_INCLUDE_EVENODD=1
2981.119Soster# options	RF_INCLUDE_RAID5_RS=1
2991.119Soster# options	RF_INCLUDE_PARITYLOGGING=1
3001.119Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
3011.119Soster# options	RF_INCLUDE_INTERDECLUSTER=1
3021.119Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3031.119Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3041.71Sscottrpseudo-device	md		1	# memory disk device (ramdisk)
3051.90Sfredbpseudo-device	vcoda		1	# Venus/Coda distributed file system
3061.71Sscottrpseudo-device	vnd		4	# disk-like interface to files
3071.71Sscottr
3081.71Sscottr# network pseudo-devices
3091.71Sscottrpseudo-device	bpfilter	12	# Berkeley packet filter
3101.71Sscottrpseudo-device	ipfilter		# IP filter (firewall) and NAT
3111.71Sscottrpseudo-device	loop			# network loopback
3121.71Sscottrpseudo-device	ppp		2	# Point-to-Point Protocol
3131.118Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3141.71Sscottrpseudo-device	sl		2	# Serial Line IP
3151.71Sscottr#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
3161.71Sscottrpseudo-device	tun		2	# network tunneling over tty
3171.82Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
3181.92Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
3191.92Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
3201.100Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
3211.109Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
3221.116Satatatpseudo-device	bridge			# simple inter-network bridging
3231.136Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3241.71Sscottr
3251.71Sscottr# miscellaneous pseudo-devices
3261.96Sscottrpseudo-device	grf		2	# grf emulation for wscons
3271.96Sscottrpseudo-device	ite		1	# ite emulation for wscons
3281.108Sjdolecekpseudo-device	pty			# pseudo-terminals
3291.71Sscottr#pseudo-device	tb		1	# tablet line discipline
3301.127Slukempseudo-device	clockctl		# user control of clock subsystem
3311.71Sscottr
3321.101Sfredb# random number generator pseudo-device
3331.101Sfredbpseudo-device	rnd			# /dev/random and in-kernel generator
3341.71Sscottr#options 	RND_COM			# use "com" randomness as well (BROKEN)
3351.138Sraggepseudo-device	ksyms			# /dev/ksyms
3361.144Sitojun#pseudo-device	pf			# PF packet filter
3371.144Sitojun#pseudo-device	pflog			# PF log if
338