GENERIC revision 1.226
11.226Smaxv# $NetBSD: GENERIC,v 1.226 2018/08/01 20:04:12 maxv 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.224Smrginclude 	"arch/mac68k/conf/std.mac68k"
221.95Shubertf
231.125Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.125Satatat
251.226Smaxv#ident 		"GENERIC-$Revision: 1.226 $"
261.216Stsutsui
271.216Stsutsuimakeoptions	COPTS="-O2 -fno-reorder-blocks"	# see share/mk/sys.mk
281.2Sbriggs
291.74Sscottrmaxusers	16		# estimated number of users
301.71Sscottr
311.71Sscottr# CPU support.  At least one is REQUIRED.
321.71Sscottroptions 	M68040
331.71Sscottroptions 	M68030
341.71Sscottroptions 	M68020		# Note:  must have 68851 PMMU
351.71Sscottr
361.71Sscottr# CPU-related options.
371.71Sscottroptions 	FPSP
381.71Sscottroptions 	FPU_EMULATE
391.2Sbriggs
401.215Sjklos# Support for 128 meg SIMMs in Centris / Quadra 610, 650 and 800 machines.
411.215Sjklos# You need to set the total memory in the MacOS Booter.
421.215Sjklos#options 	DJMEMCMAX
431.215Sjklos
441.2Sbriggs# Standard system options
451.71Sscottr
461.71Sscottroptions 	INSECURE	# disable kernel security levels
471.71Sscottr
481.71Sscottroptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
491.71Sscottr#options 	NTP		# NTP phase/frequency locked loop
501.71Sscottr
511.71Sscottroptions 	KTRACE		# system call tracing via ktrace(1)
521.71Sscottr
531.71Sscottroptions 	SYSVMSG		# System V-like message queues
541.71Sscottroptions 	SYSVSEM		# System V-like semaphores
551.71Sscottroptions 	SYSVSHM		# System V-like memory sharing
561.120Sjdolecek
571.129Slukemoptions 	USERCONF	# userconf(4) support
581.120Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
591.147Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
601.134Sjunyoung
611.225Ssevan# Alternate buffer queue strategies for better responsiveness under high
621.225Ssevan# disk I/O load.
631.157Stsutsui#options 	BUFQ_READPRIO
641.157Stsutsui#options 	BUFQ_PRIOCSCAN
651.54Sscottr
661.71Sscottr# Diagnostic/debugging support options
671.121Sfredb#options 	DIAGNOSTIC	# cheap kernel consistency checks
681.71Sscottr#options 	DEBUG		# expensive debugging checks/support
691.188Shauke#options 	LOCKDEBUG	# kernel lock debugging
701.114Slukemoptions 	DDB			# in-kernel debugger
711.70Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
721.114Slukem#options 	KGDB			# remote debugger
731.114Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
741.114Slukem#options 	KGDB_DEVRATE=38400	# baud rate
751.71Sscottr#makeoptions	DEBUG="-g"	# compile full symbol table
761.54Sscottr
771.54Sscottr# Compatibility options
781.224Smrginclude 	"conf/compat_netbsd10.config"
791.71Sscottr#options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
801.71Sscottr
811.121Sfredb# The following is needed to run pre-NetBSD 1.6 binaries under ELF.
821.123Sshibaoptions 	COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
831.123Sshibaoptions 	EXEC_AOUT	# support for exec'ing a.out
841.121Sfredb
851.121Sfredb#options 	COMPAT_LINUX	# compatibility with Linux/m68k binaries
861.121Sfredb#options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
871.121Sfredb#options 	COMPAT_SUNOS	# compatibility with SunOS 4.x binaries
881.86Skleink#options 	COMPAT_SVR4	# compatibility with SVR4 binaries
891.2Sbriggs
901.65Sscottr# File systems
911.71Sscottrfile-system 	FFS		# UFS
921.71Sscottrfile-system 	EXT2FS		# second extended file system (linux)
931.71Sscottrfile-system 	LFS		# log-structured file system
941.71Sscottrfile-system 	MFS		# memory file system
951.71Sscottrfile-system 	NFS		# Network File System client
961.71Sscottrfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
971.71Sscottrfile-system 	MSDOSFS		# MS-DOS file system
981.71Sscottrfile-system 	FDESC		# /dev/fd
991.71Sscottrfile-system 	KERNFS		# /kern
1001.71Sscottrfile-system 	NULLFS		# loopback file system
1011.94Swrstudenfile-system 	OVERLAY		# overlay file system
1021.195Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
1031.71Sscottrfile-system 	PROCFS		# /proc
1041.71Sscottrfile-system 	UMAPFS		# NULLFS + uid and gid remapping
1051.71Sscottrfile-system 	UNION		# union file system
1061.90Sfredbfile-system 	CODA		# Venus/Coda distributed file system
1071.164Schristosfile-system	PTYFS		# /dev/pts/N support
1081.183Sjmmvfile-system	TMPFS		# Efficient memory file-system
1091.169Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1101.179Sdillo#file-system	HFS		# experimental - Apple HFS+ (read-only)
1111.55Sthorpej
1121.65Sscottr# File system options
1131.200Sbouyeroptions 	QUOTA		# legacy UFS quotas
1141.200Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1151.201Swiz#options 	FFS_EI		# FFS Endian Independent support
1161.204Sdhollandoptions 	WAPBL		# File system journaling support
1171.152Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1181.71Sscottroptions 	NFSSERVER	# Network File System server
1191.166Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1201.219Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1211.71Sscottr#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1221.71Sscottr				# immutable) behave as system flags.
1231.92Sitojun
1241.7Sbriggs# Networking options
1251.71Sscottroptions 	GATEWAY		# packet forwarding
1261.71Sscottroptions 	INET		# IP + ICMP + TCP + UDP
1271.92Sitojunoptions 	INET6		# IPV6
1281.92Sitojun#options 	IPSEC		# IP security
1291.92Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1301.71Sscottr#options 	MROUTING	# IP multicast routing
1311.148Smanu#options 	PIM		# Protocol Independent Multicast
1321.71Sscottroptions 	NETATALK	# AppleTalk networking protocols
1331.88Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1341.88Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1351.88Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1361.111Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1371.71Sscottr
1381.145Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1391.145Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1401.145Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1411.145Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1421.145Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1431.145Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1441.145Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1451.145Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1461.145Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1471.145Sabs#options 	ALTQ_RED	# Random Early Detection
1481.145Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1491.145Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1501.145Sabs
1511.71Sscottr# These options enable verbose messages for several subsystems.
1521.71Sscottr# Warning, these may compile large string tables into the kernel!
1531.71Sscottroptions 	SCSIVERBOSE	# human readable SCSI error messages
1541.1Sbriggs
1551.96Sscottr# wscons options
1561.96Sscottr#options 	WSEMUL_SUN		# sun terminal emulation
1571.96Sscottroptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1581.207Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1591.96Sscottroptions 	WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
1601.96Sscottr
1611.96Sscottr# rcons options; note that 1-bit and 8-bit displays are supported by default.
1621.96Sscottroptions 	RCONS_2BPP		# Support for 2-bit display
1631.96Sscottroptions 	RCONS_4BPP		# Support for 4-bit display
1641.96Sscottroptions 	RCONS_16BPP		# Support for 16-bit display
1651.96Sscottr
1661.9Sbriggs# Mac-specific options
1671.79Sscottr#options 	ALTXBUTTONS	# Map Opt-{1,2,3} to mouse buttons
1681.87Sbriggs#options 	DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
1691.79Sscottroptions 	GRF_COMPAT	# Include grf compatibility code
1701.77Sscottr#options 	MRG_ADB		# Use ROM-based ADB driver
1711.79Sscottroptions 	ZS_CONSOLE_ABORT
1721.84Sscottr
1731.93Sscottroptions 	NFS_BOOT_DHCP
1741.71Sscottr
1751.71Sscottr# Kernel root file system and dump configuration.
1761.55Sthorpejconfig		netbsd	root on ? type ?
1771.1Sbriggs
1781.71Sscottr#
1791.71Sscottr# Device configuration
1801.71Sscottr#
1811.71Sscottr
1821.71Sscottrmainbus0 at root
1831.71Sscottr
1841.71Sscottr
1851.71Sscottr# Basic Bus Support
1861.71Sscottr
1871.71Sscottr# On-board I/O bus support
1881.71Sscottrobio0 at mainbus?
1891.71Sscottr
1901.71Sscottr# NuBus support
1911.71Sscottrnubus0 at mainbus?
1921.71Sscottr
1931.71Sscottr
1941.71Sscottr# Console Devices
1951.71Sscottr
1961.71Sscottr# Apple Desktop Bus interface
1971.80Senderadb0	at obio?
1981.80Senderaed*	at adb?				# ADB event device
1991.96Sscottrakbd*	at adb?				# ADB keyboard
2001.96Sscottrams*	at adb?				# ADB mouse
2011.71Sscottr
2021.71Sscottr# Basic frame buffer support
2031.71Sscottrintvid0	at obio?			# Internal video hardware
2041.71Sscottrmacvid*	at nubus?			# NuBus video card
2051.71Sscottr
2061.71Sscottr# Device-independent frame buffer interface
2071.96Sscottrmacfb*	at intvid?
2081.96Sscottrmacfb*	at macvid?
2091.71Sscottr
2101.96Sscottr# Workstation Console devices
2111.99Sscottrwsdisplay* at macfb? console ?
2121.99Sscottrwskbd*	at akbd? console ?
2131.99Sscottrwsmouse* at ams?
2141.71Sscottr
2151.71Sscottr
2161.187Shauke# Centronics printer port
2171.187Shauke
2181.187Shauke# CSI Hurdler Centronics Parallel Interface
2191.205Shauke# CPI_CTC12_IS_TIMECOUNTER	0x01	Run counters 1+2 as timecounter	
2201.205Shaukecpi*	at nubus? flags 0x1
2211.187Shauke
2221.187Shauke
2231.71Sscottr# Serial Devices
2241.71Sscottr
2251.71Sscottr# On-board serial interface
2261.71Sscottrzsc0	at obio?
2271.71Sscottrzstty*	at zsc? channel ?
2281.71Sscottr
2291.71Sscottr
2301.71Sscottr# SCSI Controllers and Devices
2311.71Sscottr
2321.71Sscottr# SCSI controllers
2331.71Sscottr# XXX - use only one of ncrscsi or sbc
2341.151Schsncrscsi0 at obio? addr 0		# SCSI NCR 5380
2351.151Schs#sbc0	at obio? addr 0 flags 0x1	# MI SCSI NCR 5380
2361.151Schsesp0	at obio? addr 0			# SCSI NCR 53C9x
2371.151Schsesp1	at obio? addr 1			# SCSI NCR 53C9x
2381.71Sscottr
2391.71Sscottr# SCSI bus support
2401.71Sscottrscsibus* at scsi?
2411.71Sscottr
2421.71Sscottr# SCSI devices
2431.71Sscottrsd*	at scsibus? target ? lun ?	# SCSI disk drives
2441.71Sscottrst*	at scsibus? target ? lun ?	# SCSI tape drives
2451.71Sscottrcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2461.71Sscottrch*	at scsibus? target ? lun ?	# SCSI autochangers
2471.71Sscottrse*	at scsibus? target ? lun ?	# SCSI ethernet
2481.71Sscottrss*	at scsibus? target ? lun ?	# SCSI scanners
2491.71Sscottruk*	at scsibus? target ? lun ?	# SCSI unknown
2501.126Sshiba
2511.126Sshiba# IDE controller and devices
2521.126Sshibawdc*	at obio? flags 0x1000
2531.141Slukematabus* at ata?
2541.140Sbouyerwd*	at atabus? drive ?
2551.84Sscottr
2561.84Sscottr
2571.84Sscottr# Miscellaneous mass storage devices
2581.84Sscottr
2591.84Sscottr# IWM floppy disk controller
2601.84Sscottriwm0	at obio?			# Sony driver (800K GCR)
2611.84Sscottrfd*	at iwm? drive ?
2621.71Sscottr
2631.71Sscottr
2641.71Sscottr# Network Interfaces
2651.71Sscottr
2661.71Sscottr# On-board Ethernet controllers
2671.71Sscottrsn*	at obio?			# SONIC-based (DP83932, DP83916)
2681.71Sscottrmc*	at obio?			# MACE-based
2691.71Sscottr
2701.71Sscottr# NuBus Ethernet controllers
2711.71Sscottrae*	at nubus?			# DP8390-based
2721.71Sscottrsn*	at nubus?			# SONIC-based (DP83932, DP83916)
2731.106Sbriggssm*	at nubus?			# SMC 91cxx-based
2741.128Sitojunnetdock*	at nubus?		# Asante NetDock, Newer Ether MicroDock
2751.71Sscottr
2761.106Sbriggsnsphy*	at mii? phy ?
2771.106Sbriggsukphy*	at mii? phy ?
2781.71Sscottr
2791.71Sscottr# Audio Devices
2801.71Sscottr
2811.71Sscottr# On-board audio hardware
2821.71Sscottrasc0	at obio?			# ASC/EASC audio
2831.71Sscottr
2841.71Sscottr# Pseudo-Devices
2851.71Sscottr
2861.71Sscottr# disk/mass storage pseudo-devices
2871.211Schristospseudo-device	ccd			# concatenated/striped disk devices
2881.211Schristos#pseudo-device	cgd			# cryptographic disk devices
2891.212Schristos#pseudo-device	raid			# RAIDframe disk driver
2901.98Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2911.119Soster# Options to enable various other RAIDframe RAID types.
2921.119Soster# options	RF_INCLUDE_EVENODD=1
2931.119Soster# options	RF_INCLUDE_RAID5_RS=1
2941.119Soster# options	RF_INCLUDE_PARITYLOGGING=1
2951.119Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2961.119Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2971.119Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2981.119Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2991.196Spookapseudo-device	fss			# file system snapshot device
3001.198Shannkenpseudo-device	md			# memory disk device (ramdisk)
3011.212Schristospseudo-device	vcoda			# Venus/Coda distributed file system
3021.171Scubepseudo-device	vnd			# disk-like interface to files
3031.160Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3041.71Sscottr
3051.71Sscottr# network pseudo-devices
3061.170Srpaulopseudo-device	bpfilter		# Berkeley packet filter
3071.173Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
3081.226Smaxvpseudo-device	npf			# NPF packet filter
3091.71Sscottrpseudo-device	loop			# network loopback
3101.171Scubepseudo-device	ppp			# Point-to-Point Protocol
3111.118Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3121.171Scubepseudo-device	sl			# Serial Line IP
3131.171Scube#pseudo-device	strip			# Starmode Radio IP (Metricom)
3141.171Scubepseudo-device	tun			# network tunneling over tty
3151.150Scubepseudo-device	tap			# virtual Ethernet
3161.171Scube#pseudo-device	gre			# generic L3 over IP tunnel
3171.171Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3181.171Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3191.172Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3201.109Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
3211.116Satatatpseudo-device	bridge			# simple inter-network bridging
3221.136Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3231.181Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3241.71Sscottr
3251.191Stls#
3261.191Stls# accept filters
3271.191Stlspseudo-device   accf_data		# "dataready" accept filter
3281.191Stlspseudo-device   accf_http		# "httpready" accept filter
3291.191Stls
3301.71Sscottr# miscellaneous pseudo-devices
3311.96Sscottrpseudo-device	grf		2	# grf emulation for wscons
3321.96Sscottrpseudo-device	ite		1	# ite emulation for wscons
3331.108Sjdolecekpseudo-device	pty			# pseudo-terminals
3341.127Slukempseudo-device	clockctl		# user control of clock subsystem
3351.195Spookapseudo-device	putter			# for puffs and pud
3361.202Shaukepseudo-device	swwdog			# software watchdog driver
3371.71Sscottr
3381.101Sfredb# random number generator pseudo-device
3391.71Sscottr#options 	RND_COM			# use "com" randomness as well (BROKEN)
3401.138Sraggepseudo-device	ksyms			# /dev/ksyms
3411.167Selad
3421.167Selad# Veriexec
3431.167Selad#
3441.167Selad# a pseudo device needed for veriexec
3451.212Schristos#pseudo-device	veriexec
3461.167Selad#
3471.167Selad# Uncomment the fingerprint methods below that are desired. Note that
3481.167Selad# removing fingerprint methods will have almost no impact on the kernel
3491.167Selad# code size.
3501.167Selad#
3511.167Selad#options VERIFIED_EXEC_FP_SHA256
3521.167Selad#options VERIFIED_EXEC_FP_SHA384
3531.167Selad#options VERIFIED_EXEC_FP_SHA512
354