GENERIC revision 1.129
11.129Smrg# $NetBSD: GENERIC,v 1.129 2017/09/14 07:58:42 mrg Exp $
21.26Sgmcgarry#
31.26Sgmcgarry# GENERIC machine description file
41.105Stsutsui#
51.26Sgmcgarry# This machine description file is used to generate the default NetBSD
61.26Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.26Sgmcgarry# and device drivers, but should be useful for most applications.
81.26Sgmcgarry#
91.26Sgmcgarry# The machine description file can be customised for your specific
101.26Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.26Sgmcgarry#
121.26Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.26Sgmcgarry# man page.
141.26Sgmcgarry#
151.26Sgmcgarry# For further information on hardware support for this architecture, see
161.26Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.26Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.26Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.26Sgmcgarry# device.
201.1Stsutsui
211.129Smrginclude 	"arch/news68k/conf/std.news68k"
221.3Shubertf
231.33Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.33Satatat
251.129Smrg#ident 		"GENERIC-$Revision: 1.129 $"
261.119Stsutsui
271.119Stsutsuimakeoptions	COPTS="-O2 -fno-reorder-blocks"	# see share/mk/sys.mk
281.1Stsutsui
291.1Stsutsuimaxusers	8
301.1Stsutsui
311.24Slukemoptions 	news1200		# news1200 support
321.4Stsutsuioptions 	news1700		# news1[4567]00 support
331.1Stsutsuioptions 	CPU_SINGLE		# Will IOP be supported eventually?
341.1Stsutsui#options 	FPU_EMULATE
351.1Stsutsui
361.1Stsutsui# Standard system options
371.1Stsutsuioptions 	NTP			# NTP phase/frequency locked loop
381.1Stsutsuioptions 	KTRACE			# system call tracing support
391.1Stsutsuioptions 	SYSVMSG			# System V message queues
401.1Stsutsuioptions 	SYSVSEM			# System V semaphores
411.1Stsutsuioptions 	SYSVSHM			# System V shared memory
421.102Stsutsui
431.120Stsutsuioptions 	MODULAR			# new style module(7) framework
441.123Sjnemethoptions 	MODULAR_DEFAULT_AUTOLOAD
451.102Stsutsui
461.35Slukemoptions 	USERCONF		# userconf(4) support
471.57Stsutsui#options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
481.53Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
491.40Sjunyoung
501.42Stsutsui# Enable experimental buffer queue strategy for better responsiveness under
511.40Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
521.63Stsutsui#options 	BUFQ_READPRIO
531.63Stsutsui#options 	BUFQ_PRIOCSCAN
541.1Stsutsui
551.1Stsutsui# Debugging options
561.45Stsutsui#options 	DIAGNOSTIC		# extra kernel sanity checking
571.1Stsutsui#options 	DEBUG			# extra kernel debugging support
581.1Stsutsuioptions 	DDB			# kernel dynamic debugger
591.1Stsutsui#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
601.118Sszptvlfn#options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
611.1Stsutsuioptions 	SCSIVERBOSE		# Verbose SCSI errors
621.1Stsutsui#options 	SCSIDEBUG		# extra SCSI debugging support
631.1Stsutsui#makeoptions	DEBUG="-g"		# compile full symbol table
641.1Stsutsui
651.1Stsutsui# Compatibility options
661.129Smrginclude 	"conf/compat_netbsd12.config"
671.18Stsutsuioptions 	COMPAT_AOUT_M68K	# compatibility with NetBSD/m68k a.out
681.1Stsutsui
691.1Stsutsui#options 	COMPAT_SVR4		# binary compatibility with SVR4
701.15Stsutsuioptions 	COMPAT_SUNOS		# binary compatibility with SunOS
711.1Stsutsui#options 	COMPAT_LINUX		# binary compatibllity with Linux/m68k
721.1Stsutsui
731.1Stsutsui# Filesystem options
741.1Stsutsuifile-system	FFS		# Berkeley Fast Filesystem
751.120Stsutsui#file-system	LFS		# log-structured file system
761.1Stsutsuifile-system	NFS		# Sun NFS-compatible filesystem client
771.1Stsutsuifile-system	MFS		# memory-based filesystem
781.1Stsutsuifile-system	CD9660		# ISO 9660 + Rock Ridge file system
791.1Stsutsuifile-system	MSDOSFS		# MS-DOS FAT file system
801.1Stsutsuifile-system	KERNFS		# /kern
811.1Stsutsuifile-system	PROCFS		# /proc
821.1Stsutsuifile-system	FDESC		# /dev/fd/*
831.1Stsutsuifile-system	NULLFS		# loopback file system
841.120Stsutsui#file-system 	OVERLAY		# overlay file system
851.120Stsutsui#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
861.120Stsutsui#file-system	UMAPFS		# NULLFS + uid and gid remapping
871.120Stsutsui#file-system	UNION		# union file system
881.1Stsutsui#file-system	CODA		# Coda File System; also needs vcode (below)
891.70Schristosfile-system	PTYFS		# /dev/pts/N support
901.100Schsfile-system	TMPFS		# Efficient memory file-system
911.75Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
921.1Stsutsui
931.1Stsutsuioptions 	NFSSERVER	# nfs server support
941.106Sbouyeroptions 	QUOTA		# legacy UFS quotas
951.106Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
961.86Swiz#options 	FFS_EI		# ffs endian independent support
971.109Sdhollandoptions 	WAPBL		# File system journaling support
981.120Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
991.124Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1001.71Stsutsui#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1011.1Stsutsui
1021.1Stsutsui# Networking options
1031.1Stsutsuioptions 	INET		# Internet protocols
1041.1Stsutsuioptions 	INET6		# IPV6
1051.1Stsutsui#options 	IPSEC		# IP security
1061.1Stsutsui#options 	IPSEC_DEBUG	# debug for IP security
1071.1Stsutsui#options 	GATEWAY		# IP packet forwarding
1081.1Stsutsui#options 	MROUTING	# IP multicast routing
1091.55Smanu#options 	PIM		# Protocol Independent Multicast
1101.1Stsutsui#options 	NETATALK	# AppleTalk networking protocols
1111.120Stsutsui#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1121.120Stsutsui#options 	PPP_DEFLATE	# Deflate compression support for PPP
1131.1Stsutsuioptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1141.1Stsutsuioptions 	IPFILTER_LOG	# ipmon(8) log support
1151.84Schristosoptions 	IPFILTER_LOOKUP	# ippool(8) support
1161.101Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1171.37Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1181.21Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1191.1Stsutsui
1201.51Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1211.51Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1221.51Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1231.51Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1241.51Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1251.51Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1261.51Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1271.51Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1281.51Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1291.51Sabs#options 	ALTQ_RED	# Random Early Detection
1301.51Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1311.51Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1321.51Sabs
1331.1Stsutsuioptions 	NFS_BOOT_BOOTPARAM
1341.1Stsutsuioptions 	NFS_BOOT_DHCP
1351.1Stsutsui
1361.1Stsutsuiconfig	netbsd root on ? type ?
1371.1Stsutsui#config	netbsd root on ? type nfs
1381.1Stsutsui
1391.1Stsutsui#
1401.1Stsutsui# device declarations
1411.1Stsutsui#
1421.1Stsutsui
1431.1Stsutsuimainbus0 at root
1441.1Stsutsui
1451.1Stsutsui# NEWS HYPER-BUS
1461.4Stsutsuihb0	at mainbus0 systype NEWS1700
1471.4Stsutsuihb1	at mainbus0 systype NEWS1200
1481.1Stsutsui
1491.20Stsutsui# interval timer
1501.20Stsutsuitimer0	at hb0 addr 0xe1000000 ipl 6			# news1700
1511.20Stsutsuitimer0	at hb1 addr 0xe1140000 ipl 6			# news1200
1521.20Stsutsui
1531.20Stsutsui# MK48T02 TOD clock
1541.20Stsutsuimkclock0 at hb0 addr 0xe0d80000				# news1700
1551.20Stsutsuimkclock0 at hb1 addr 0xe1420000				# news1200
1561.1Stsutsui
1571.1Stsutsui# onboard LANCE ethernet
1581.4Stsutsuile0	at hb0 addr 0xe0f00000 ipl 4			# news1700
1591.4Stsutsuile0	at hb1 addr 0xe1a40000 ipl 4			# news1200
1601.1Stsutsui
1611.17Stsutsui# keyboard/mouse
1621.17Stsutsuikbc0	at hb0 addr 0xe0d00000 ipl 5			# news1700
1631.17Stsutsuikb0	at kbc0						# news1700
1641.17Stsutsuims0	at kbc0						# news1700
1651.17Stsutsui
1661.17Stsutsuikb0	at hb1 addr 0xe1240000 ipl 5			# news1200
1671.17Stsutsuims0	at hb1 addr 0xe1280000 ipl 5			# news1200
1681.17Stsutsui
1691.17Stsutsuiwskbd*	at kb?
1701.17Stsutsuiwsmouse* at ms?
1711.1Stsutsui
1721.1Stsutsui# onboard z8530 SCC
1731.4Stsutsuizsc0	at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0	# news1700
1741.4Stsutsuizsc0	at hb1 addr 0xe1780000 ipl 5 vect 64 flags 0x1	# news1200
1751.1Stsutsuizstty0	at zsc0 channel 0
1761.24Slukemzstty1	at zsc0 channel 1
1771.1Stsutsui
1781.1Stsutsui# Frame buffer devices; not yet
1791.1Stsutsui#fb0	at hb0 addr 0xf0700000			# NWB225
1801.1Stsutsui#fb1	at hb0 addr 0xf0f00000			# NWB512
1811.1Stsutsui
1821.1Stsutsui# onboard uPD72067 FDC; not yet
1831.1Stsutsui#fdc0	at hb0 addr 0xe0c80000 ipl 3
1841.1Stsutsui#fd*	at fdc0
1851.1Stsutsui
1861.1Stsutsui# onboard CXD1180 SCSI controller
1871.1Stsutsui#
1881.1Stsutsui# This driver has several flags which may be enabled using
1891.1Stsutsui# the "flags" directive.  Valid flags are:
1901.1Stsutsui#
1911.1Stsutsui# 0x000ff	Set (1<<target) to disable disconnect/reselect
1921.1Stsutsui# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1931.1Stsutsui# 0x10000	Set this bit to disable DMA interrupts (poll)
1941.1Stsutsui# 0x20000	Set this bit to disable DMA entirely (use PIO)
1951.1Stsutsui#
1961.1Stsutsui# For example: "flags 0x1000f" would disable DMA interrupts,
1971.1Stsutsui# and disable disconnect/reselect for targets 0-3
1981.1Stsutsui#
1991.87Stsutsuisi0	at hb0 addr 0xe0cc0000 ipl 4 flags 0x0
2001.24Slukemscsibus* at si0
2011.1Stsutsui
2021.1Stsutsuisd*	at scsibus? target ? lun ?		# SCSI disks
2031.1Stsutsuist*	at scsibus? target ? lun ?		# SCSI tapes
2041.1Stsutsuicd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
2051.1Stsutsuich*	at scsibus? target ? lun ?		# SCSI changer devices
2061.1Stsutsuiss*	at scsibus? target ? lun ?		# SCSI scanners
2071.1Stsutsuiuk*	at scsibus? target ? lun ?		# unknown SCSI devices
2081.1Stsutsui
2091.107Stsutsui# PROM console support
2101.107Stsutsui#romcons0 at mainbus0
2111.107Stsutsui
2121.94Stls#
2131.94Stls# accept filters
2141.120Stsutsui#pseudo-device   accf_data		# "dataready" accept filter
2151.120Stsutsui#pseudo-device   accf_http		# "httpready" accept filter
2161.94Stls
2171.1Stsutsui# Misc.
2181.1Stsutsuipseudo-device	loop			# loopback interface; required
2191.13Sjdolecekpseudo-device	pty			# pseudo-terminals
2201.103Shannkenpseudo-device	md			# memory disk device
2211.77Scubepseudo-device	vnd			# disk-like interface to files
2221.66Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2231.114Schristospseudo-device	ccd			# concatenated and striped disks
2241.114Schristos#pseudo-device	cgd			# cryptographic disk devices
2251.115Schristospseudo-device	raid			# RAIDframe disk driver
2261.42Stsutsui#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2271.28Soster# Options to enable various other RAIDframe RAID types.
2281.57Stsutsui#options 	RF_INCLUDE_EVENODD=1
2291.57Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2301.57Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2311.57Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
2321.57Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
2331.57Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2341.57Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2351.120Stsutsui#pseudo-device	fss			# file system snapshot device
2361.77Scubepseudo-device	sl			# SLIP interfaces
2371.77Scubepseudo-device	ppp			# PPP interfaces
2381.27Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2391.77Scubepseudo-device	tun			# Network "tunnel" device
2401.58Scubepseudo-device	tap			# virtual Ethernet
2411.77Scubepseudo-device	gre			# generic L3 over IP tunnel
2421.76Srpaulopseudo-device	bpfilter		# Berkeley Packet Filter
2431.79Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
2441.1Stsutsuipseudo-device	ipfilter		# ip filter
2451.77Scubepseudo-device	strip			# Starmode Radio IP (Metricom)
2461.77Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2471.77Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2481.78Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2491.16Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2501.25Satatatpseudo-device	bridge			# simple inter-network bridging
2511.57Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2521.88Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2531.115Schristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
2541.34Slukempseudo-device	clockctl		# user control of clock subsystem
2551.46Sraggepseudo-device	ksyms			# /dev/ksyms
2561.50Sitojun#pseudo-device	pf			# PF packet filter
2571.50Sitojun#pseudo-device	pflog			# PF log if
2581.98Spookapseudo-device	putter			# for puffs and pud
2591.74Selad
2601.74Selad# Veriexec
2611.74Selad#
2621.74Selad# a pseudo device needed for veriexec
2631.115Schristos#pseudo-device	veriexec
2641.74Selad#
2651.74Selad# Uncomment the fingerprint methods below that are desired. Note that
2661.74Selad# removing fingerprint methods will have almost no impact on the kernel
2671.74Selad# code size.
2681.74Selad#
2691.83Stsutsui#options 	VERIFIED_EXEC_FP_SHA256
2701.83Stsutsui#options 	VERIFIED_EXEC_FP_SHA384
2711.83Stsutsui#options 	VERIFIED_EXEC_FP_SHA512
272