GENERIC revision 1.109
11.109Sdholland# $NetBSD: GENERIC,v 1.109 2011/12/18 05:49:30 dholland 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.1Stsutsuiinclude		"arch/news68k/conf/std.news68k"
221.3Shubertf
231.33Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.33Satatat
251.109Sdholland#ident 		"GENERIC-$Revision: 1.109 $"
261.1Stsutsui
271.1Stsutsuimaxusers	8
281.1Stsutsui
291.24Slukemoptions 	news1200		# news1200 support
301.4Stsutsuioptions 	news1700		# news1[4567]00 support
311.1Stsutsuioptions 	CPU_SINGLE		# Will IOP be supported eventually?
321.1Stsutsui#options 	FPU_EMULATE
331.1Stsutsui
341.1Stsutsui# Standard system options
351.1Stsutsuioptions 	NTP			# NTP phase/frequency locked loop
361.1Stsutsuioptions 	KTRACE			# system call tracing support
371.1Stsutsuioptions 	SYSVMSG			# System V message queues
381.1Stsutsuioptions 	SYSVSEM			# System V semaphores
391.1Stsutsuioptions 	SYSVSHM			# System V shared memory
401.52Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
411.102Stsutsui
421.104Stsutsui#options 	MODULAR			# new style module(7) framework
431.102Stsutsui
441.35Slukemoptions 	USERCONF		# userconf(4) support
451.57Stsutsui#options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
461.53Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
471.40Sjunyoung
481.42Stsutsui# Enable experimental buffer queue strategy for better responsiveness under
491.40Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
501.63Stsutsui#options 	BUFQ_READPRIO
511.63Stsutsui#options 	BUFQ_PRIOCSCAN
521.1Stsutsui
531.1Stsutsui# Debugging options
541.45Stsutsui#options 	DIAGNOSTIC		# extra kernel sanity checking
551.1Stsutsui#options 	DEBUG			# extra kernel debugging support
561.1Stsutsui#options 	KMEMSTATS		# kernel memory statistics (vmstat -m)
571.1Stsutsuioptions 	DDB			# kernel dynamic debugger
581.1Stsutsui#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
591.1Stsutsui#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
601.1Stsutsuioptions 	SCSIVERBOSE		# Verbose SCSI errors
611.1Stsutsui#options 	SCSIDEBUG		# extra SCSI debugging support
621.1Stsutsui#makeoptions	DEBUG="-g"		# compile full symbol table
631.1Stsutsui
641.1Stsutsui# Compatibility options
651.1Stsutsuioptions 	COMPAT_43		# compatibility with 4.3BSD binaries
661.1Stsutsuioptions 	COMPAT_12		# NetBSD 1.2 binary compatibility
671.1Stsutsuioptions 	COMPAT_13		# NetBSD 1.3 binary compatibility
681.1Stsutsuioptions 	COMPAT_14		# NetBSD 1.4 binary compatibility
691.47Scloptions 	COMPAT_15		# NetBSD 1.5 binary compatibility
701.47Scloptions 	COMPAT_16		# NetBSD 1.6 binary compatibility
711.54Stsutsuioptions 	COMPAT_20		# NetBSD 2.0 binary compatibility
721.89Stsutsuioptions 	COMPAT_30		# NetBSD 3.0 binary compatibility
731.89Stsutsuioptions 	COMPAT_40		# NetBSD 4.0 binary compatibility
741.97Stsutsuioptions 	COMPAT_50		# NetBSD 5.0 binary compatibility
751.18Stsutsuioptions 	COMPAT_AOUT_M68K	# compatibility with NetBSD/m68k a.out
761.1Stsutsui
771.1Stsutsui#options 	COMPAT_SVR4		# binary compatibility with SVR4
781.15Stsutsuioptions 	COMPAT_SUNOS		# binary compatibility with SunOS
791.1Stsutsui#options 	COMPAT_LINUX		# binary compatibllity with Linux/m68k
801.57Stsutsuioptions 	COMPAT_BSDPTY		# /dev/[pt]ty?? ptys.
811.1Stsutsui
821.21Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
831.1Stsutsui
841.1Stsutsui# Filesystem options
851.1Stsutsuifile-system	FFS		# Berkeley Fast Filesystem
861.1Stsutsuifile-system	LFS		# log-structured file system
871.1Stsutsuifile-system	NFS		# Sun NFS-compatible filesystem client
881.1Stsutsuifile-system	MFS		# memory-based filesystem
891.1Stsutsuifile-system	CD9660		# ISO 9660 + Rock Ridge file system
901.1Stsutsuifile-system	MSDOSFS		# MS-DOS FAT file system
911.1Stsutsuifile-system	KERNFS		# /kern
921.1Stsutsuifile-system	PROCFS		# /proc
931.1Stsutsuifile-system	FDESC		# /dev/fd/*
941.1Stsutsuifile-system	NULLFS		# loopback file system
951.2Swrstudenfile-system 	OVERLAY		# overlay file system
961.98Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
971.1Stsutsuifile-system	UMAPFS		# NULLFS + uid and gid remapping
981.24Slukemfile-system	UNION		# union file system
991.1Stsutsui#file-system	CODA		# Coda File System; also needs vcode (below)
1001.70Schristosfile-system	PTYFS		# /dev/pts/N support
1011.100Schsfile-system	TMPFS		# Efficient memory file-system
1021.75Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1031.1Stsutsui
1041.1Stsutsuioptions 	NFSSERVER	# nfs server support
1051.106Sbouyeroptions 	QUOTA		# legacy UFS quotas
1061.106Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1071.86Swiz#options 	FFS_EI		# ffs endian independent support
1081.109Sdhollandoptions 	WAPBL		# File system journaling support
1091.73Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1101.71Stsutsui#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1111.1Stsutsui
1121.1Stsutsui# Networking options
1131.1Stsutsuioptions 	INET		# Internet protocols
1141.1Stsutsuioptions 	INET6		# IPV6
1151.1Stsutsui#options 	IPSEC		# IP security
1161.31Swiz#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1171.65Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1181.1Stsutsui#options 	IPSEC_DEBUG	# debug for IP security
1191.1Stsutsui#options 	GATEWAY		# IP packet forwarding
1201.1Stsutsui#options 	MROUTING	# IP multicast routing
1211.55Smanu#options 	PIM		# Protocol Independent Multicast
1221.1Stsutsui#options 	ISO,TPIP	# OSI
1231.1Stsutsui#options 	EON		# OSI tunneling over IP
1241.1Stsutsui#options 	NETATALK	# AppleTalk networking protocols
1251.1Stsutsuioptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1261.1Stsutsuioptions 	PPP_DEFLATE	# Deflate compression support for PPP
1271.1Stsutsuioptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1281.1Stsutsuioptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1291.1Stsutsuioptions 	IPFILTER_LOG	# ipmon(8) log support
1301.84Schristosoptions 	IPFILTER_LOOKUP	# ippool(8) support
1311.101Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1321.37Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1331.21Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1341.1Stsutsui
1351.51Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1361.51Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1371.51Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1381.51Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1391.51Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1401.51Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1411.51Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1421.51Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1431.51Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1441.51Sabs#options 	ALTQ_RED	# Random Early Detection
1451.51Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1461.51Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1471.51Sabs
1481.1Stsutsuioptions 	NFS_BOOT_BOOTPARAM
1491.1Stsutsuioptions 	NFS_BOOT_DHCP
1501.1Stsutsui
1511.1Stsutsuiconfig	netbsd root on ? type ?
1521.1Stsutsui#config	netbsd root on ? type nfs
1531.1Stsutsui
1541.1Stsutsui#
1551.1Stsutsui# device declarations
1561.1Stsutsui#
1571.1Stsutsui
1581.1Stsutsuimainbus0 at root
1591.1Stsutsui
1601.1Stsutsui# NEWS HYPER-BUS
1611.4Stsutsuihb0	at mainbus0 systype NEWS1700
1621.4Stsutsuihb1	at mainbus0 systype NEWS1200
1631.1Stsutsui
1641.20Stsutsui# interval timer
1651.20Stsutsuitimer0	at hb0 addr 0xe1000000 ipl 6			# news1700
1661.20Stsutsuitimer0	at hb1 addr 0xe1140000 ipl 6			# news1200
1671.20Stsutsui
1681.20Stsutsui# MK48T02 TOD clock
1691.20Stsutsuimkclock0 at hb0 addr 0xe0d80000				# news1700
1701.20Stsutsuimkclock0 at hb1 addr 0xe1420000				# news1200
1711.1Stsutsui
1721.1Stsutsui# onboard LANCE ethernet
1731.4Stsutsuile0	at hb0 addr 0xe0f00000 ipl 4			# news1700
1741.4Stsutsuile0	at hb1 addr 0xe1a40000 ipl 4			# news1200
1751.1Stsutsui
1761.17Stsutsui# keyboard/mouse
1771.17Stsutsuikbc0	at hb0 addr 0xe0d00000 ipl 5			# news1700
1781.17Stsutsuikb0	at kbc0						# news1700
1791.17Stsutsuims0	at kbc0						# news1700
1801.17Stsutsui
1811.17Stsutsuikb0	at hb1 addr 0xe1240000 ipl 5			# news1200
1821.17Stsutsuims0	at hb1 addr 0xe1280000 ipl 5			# news1200
1831.17Stsutsui
1841.17Stsutsuiwskbd*	at kb?
1851.17Stsutsuiwsmouse* at ms?
1861.1Stsutsui
1871.1Stsutsui# onboard z8530 SCC
1881.4Stsutsuizsc0	at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0	# news1700
1891.4Stsutsuizsc0	at hb1 addr 0xe1780000 ipl 5 vect 64 flags 0x1	# news1200
1901.1Stsutsuizstty0	at zsc0 channel 0
1911.24Slukemzstty1	at zsc0 channel 1
1921.1Stsutsui
1931.1Stsutsui# Frame buffer devices; not yet
1941.1Stsutsui#fb0	at hb0 addr 0xf0700000			# NWB225
1951.1Stsutsui#fb1	at hb0 addr 0xf0f00000			# NWB512
1961.1Stsutsui
1971.1Stsutsui# onboard uPD72067 FDC; not yet
1981.1Stsutsui#fdc0	at hb0 addr 0xe0c80000 ipl 3
1991.1Stsutsui#fd*	at fdc0
2001.1Stsutsui
2011.1Stsutsui# onboard CXD1180 SCSI controller
2021.1Stsutsui#
2031.1Stsutsui# This driver has several flags which may be enabled using
2041.1Stsutsui# the "flags" directive.  Valid flags are:
2051.1Stsutsui#
2061.1Stsutsui# 0x000ff	Set (1<<target) to disable disconnect/reselect
2071.1Stsutsui# 0x0ff00	Set (1<<(target+8)) to disable parity checking
2081.1Stsutsui# 0x10000	Set this bit to disable DMA interrupts (poll)
2091.1Stsutsui# 0x20000	Set this bit to disable DMA entirely (use PIO)
2101.1Stsutsui#
2111.1Stsutsui# For example: "flags 0x1000f" would disable DMA interrupts,
2121.1Stsutsui# and disable disconnect/reselect for targets 0-3
2131.1Stsutsui#
2141.87Stsutsuisi0	at hb0 addr 0xe0cc0000 ipl 4 flags 0x0
2151.24Slukemscsibus* at si0
2161.1Stsutsui
2171.1Stsutsuisd*	at scsibus? target ? lun ?		# SCSI disks
2181.1Stsutsuist*	at scsibus? target ? lun ?		# SCSI tapes
2191.1Stsutsuicd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
2201.1Stsutsuich*	at scsibus? target ? lun ?		# SCSI changer devices
2211.1Stsutsuiss*	at scsibus? target ? lun ?		# SCSI scanners
2221.1Stsutsuiuk*	at scsibus? target ? lun ?		# unknown SCSI devices
2231.1Stsutsui
2241.107Stsutsui# PROM console support
2251.107Stsutsui#romcons0 at mainbus0
2261.107Stsutsui
2271.94Stls#
2281.94Stls# accept filters
2291.94Stlspseudo-device   accf_data		# "dataready" accept filter
2301.94Stlspseudo-device   accf_http		# "httpready" accept filter
2311.94Stls
2321.1Stsutsui# Misc.
2331.1Stsutsuipseudo-device	loop			# loopback interface; required
2341.13Sjdolecekpseudo-device	pty			# pseudo-terminals
2351.103Shannkenpseudo-device	md			# memory disk device
2361.77Scubepseudo-device	vnd			# disk-like interface to files
2371.66Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2381.1Stsutsuipseudo-device	ccd		4	# concatenated and striped disks
2391.39Selric#pseudo-device	cgd		4	# cryptographic disk devices
2401.28Sosterpseudo-device	raid		8	# RAIDframe disk driver
2411.42Stsutsui#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2421.28Soster# Options to enable various other RAIDframe RAID types.
2431.57Stsutsui#options 	RF_INCLUDE_EVENODD=1
2441.57Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2451.57Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2461.57Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
2471.57Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
2481.57Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2491.57Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2501.99Spookapseudo-device	fss			# file system snapshot device
2511.77Scubepseudo-device	sl			# SLIP interfaces
2521.77Scubepseudo-device	ppp			# PPP interfaces
2531.27Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2541.77Scubepseudo-device	tun			# Network "tunnel" device
2551.58Scubepseudo-device	tap			# virtual Ethernet
2561.77Scubepseudo-device	gre			# generic L3 over IP tunnel
2571.76Srpaulopseudo-device	bpfilter		# Berkeley Packet Filter
2581.79Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
2591.1Stsutsuipseudo-device	ipfilter		# ip filter
2601.77Scubepseudo-device	strip			# Starmode Radio IP (Metricom)
2611.77Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2621.77Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2631.78Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2641.16Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2651.25Satatatpseudo-device	bridge			# simple inter-network bridging
2661.57Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2671.88Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2681.1Stsutsui#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
2691.34Slukempseudo-device	clockctl		# user control of clock subsystem
2701.46Sraggepseudo-device	ksyms			# /dev/ksyms
2711.50Sitojun#pseudo-device	pf			# PF packet filter
2721.50Sitojun#pseudo-device	pflog			# PF log if
2731.98Spookapseudo-device	putter			# for puffs and pud
2741.74Selad
2751.74Selad# Veriexec
2761.74Selad#
2771.74Selad# a pseudo device needed for veriexec
2781.74Selad#pseudo-device	veriexec		1
2791.74Selad#
2801.74Selad# Uncomment the fingerprint methods below that are desired. Note that
2811.74Selad# removing fingerprint methods will have almost no impact on the kernel
2821.74Selad# code size.
2831.74Selad#
2841.83Stsutsui#options 	VERIFIED_EXEC_FP_RMD160
2851.83Stsutsui#options 	VERIFIED_EXEC_FP_SHA256
2861.83Stsutsui#options 	VERIFIED_EXEC_FP_SHA384
2871.83Stsutsui#options 	VERIFIED_EXEC_FP_SHA512
2881.83Stsutsui#options 	VERIFIED_EXEC_FP_SHA1
2891.83Stsutsui#options 	VERIFIED_EXEC_FP_MD5
290