GENERIC revision 1.53
11.53Satatat# $NetBSD: GENERIC,v 1.53 2004/07/15 03:53:50 atatat Exp $
21.26Sgmcgarry#
31.26Sgmcgarry# GENERIC machine description file
41.26Sgmcgarry# 
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.53Satatat#ident 		"GENERIC-$Revision: 1.53 $"
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.38Sprovosoptions 	SYSTRACE		# system call vetting via systrace(1)
381.1Stsutsuioptions 	SYSVMSG			# System V message queues
391.1Stsutsuioptions 	SYSVSEM			# System V semaphores
401.24Slukem#options 	SEMMNI=10		# number of semaphore identifiers
411.24Slukem#options 	SEMMNS=60		# number of semaphores in system
421.24Slukem#options 	SEMUME=10		# max number of undo entries per process
431.24Slukem#options 	SEMMNU=30		# number of undo structures in system
441.1Stsutsuioptions 	SYSVSHM			# System V shared memory
451.6Stsutsui#options 	SHMMAXPGS=1024		# 1024 pages is the default
461.52Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
471.1Stsutsuioptions 	LKM			# loadable kernel modules
481.35Slukemoptions 	USERCONF		# userconf(4) support
491.29Sjdolecek#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
501.53Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
511.40Sjunyoung
521.42Stsutsui# Enable experimental buffer queue strategy for better responsiveness under
531.40Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
541.40Sjunyoung#options 	NEW_BUFQ_STRATEGY
551.1Stsutsui
561.1Stsutsui# Debugging options
571.45Stsutsui#options 	DIAGNOSTIC		# extra kernel sanity checking
581.1Stsutsui#options 	DEBUG			# extra kernel debugging support
591.1Stsutsui#options 	KMEMSTATS		# kernel memory statistics (vmstat -m)
601.1Stsutsuioptions 	DDB			# kernel dynamic debugger
611.1Stsutsui#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
621.1Stsutsui#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
631.1Stsutsuioptions 	SCSIVERBOSE		# Verbose SCSI errors
641.1Stsutsui#options 	SCSIDEBUG		# extra SCSI debugging support
651.1Stsutsui#makeoptions	DEBUG="-g"		# compile full symbol table
661.1Stsutsui
671.1Stsutsui# Compatibility options
681.1Stsutsuioptions 	COMPAT_43		# compatibility with 4.3BSD binaries
691.1Stsutsuioptions 	COMPAT_12		# NetBSD 1.2 binary compatibility
701.1Stsutsuioptions 	COMPAT_13		# NetBSD 1.3 binary compatibility
711.1Stsutsuioptions 	COMPAT_14		# NetBSD 1.4 binary compatibility
721.47Scloptions 	COMPAT_15		# NetBSD 1.5 binary compatibility
731.47Scloptions 	COMPAT_16		# NetBSD 1.6 binary compatibility
741.18Stsutsuioptions 	COMPAT_AOUT_M68K	# compatibility with NetBSD/m68k a.out
751.1Stsutsui
761.1Stsutsui#options 	COMPAT_SVR4		# binary compatibility with SVR4
771.15Stsutsuioptions 	COMPAT_SUNOS		# binary compatibility with SunOS
781.1Stsutsui#options 	COMPAT_LINUX		# binary compatibllity with Linux/m68k
791.1Stsutsui
801.21Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
811.1Stsutsui
821.1Stsutsui# Filesystem options
831.1Stsutsuifile-system	FFS		# Berkeley Fast Filesystem
841.1Stsutsuifile-system	LFS		# log-structured file system
851.1Stsutsuifile-system	NFS		# Sun NFS-compatible filesystem client
861.1Stsutsuifile-system	MFS		# memory-based filesystem
871.1Stsutsuifile-system	CD9660		# ISO 9660 + Rock Ridge file system
881.1Stsutsuifile-system	MSDOSFS		# MS-DOS FAT file system
891.1Stsutsuifile-system	KERNFS		# /kern
901.1Stsutsuifile-system	PROCFS		# /proc
911.1Stsutsuifile-system	FDESC		# /dev/fd/*
921.1Stsutsuifile-system	NULLFS		# loopback file system
931.2Swrstudenfile-system 	OVERLAY		# overlay file system
941.1Stsutsuifile-system	PORTAL		# portal filesystem (still experimental)
951.1Stsutsuifile-system	UMAPFS		# NULLFS + uid and gid remapping
961.24Slukemfile-system	UNION		# union file system
971.1Stsutsui#file-system	CODA		# Coda File System; also needs vcode (below)
981.1Stsutsui
991.1Stsutsuioptions 	NFSSERVER	# nfs server support
1001.1Stsutsuioptions 	QUOTA		# ffs quotas
1011.1Stsutsui#options 	FFS_EI		# ffs endian independant support
1021.15Stsutsuioptions 	SOFTDEP		# ffs soft updates support
1031.1Stsutsui
1041.1Stsutsui# Networking options
1051.1Stsutsuioptions 	INET		# Internet protocols
1061.1Stsutsuioptions 	INET6		# IPV6
1071.1Stsutsui#options 	IPSEC		# IP security
1081.31Swiz#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1091.1Stsutsui#options 	IPSEC_DEBUG	# debug for IP security
1101.1Stsutsui#options 	GATEWAY		# IP packet forwarding
1111.1Stsutsui#options 	MROUTING	# IP multicast routing
1121.1Stsutsui#options 	NS		# XNS
1131.1Stsutsui#options 	NSIP		# XNS tunneling over IP
1141.1Stsutsui#options 	ISO,TPIP	# OSI
1151.1Stsutsui#options 	EON		# OSI tunneling over IP
1161.1Stsutsui#options 	CCITT,LLC,HDLC	# X.25
1171.1Stsutsui#options 	NETATALK	# AppleTalk networking protocols
1181.1Stsutsuioptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1191.1Stsutsuioptions 	PPP_DEFLATE	# Deflate compression support for PPP
1201.1Stsutsuioptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1211.1Stsutsuioptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1221.1Stsutsuioptions 	IPFILTER_LOG	# ipmon(8) log support
1231.37Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1241.21Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1251.1Stsutsui
1261.51Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1271.51Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1281.51Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1291.51Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1301.51Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1311.51Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1321.51Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1331.51Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1341.51Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1351.51Sabs#options 	ALTQ_RED	# Random Early Detection
1361.51Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1371.51Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1381.51Sabs
1391.1Stsutsuioptions 	NFS_BOOT_BOOTPARAM
1401.1Stsutsuioptions 	NFS_BOOT_DHCP
1411.1Stsutsui
1421.1Stsutsuiconfig	netbsd root on ? type ?
1431.1Stsutsui#config	netbsd root on ? type nfs
1441.1Stsutsui
1451.1Stsutsui#
1461.1Stsutsui# device declarations
1471.1Stsutsui#
1481.1Stsutsui
1491.1Stsutsuimainbus0 at root
1501.1Stsutsui
1511.1Stsutsui# NEWS HYPER-BUS
1521.4Stsutsuihb0	at mainbus0 systype NEWS1700
1531.4Stsutsuihb1	at mainbus0 systype NEWS1200
1541.1Stsutsui
1551.20Stsutsui# interval timer
1561.20Stsutsuitimer0	at hb0 addr 0xe1000000 ipl 6			# news1700
1571.20Stsutsuitimer0	at hb1 addr 0xe1140000 ipl 6			# news1200
1581.20Stsutsui
1591.20Stsutsui# MK48T02 TOD clock
1601.20Stsutsuimkclock0 at hb0 addr 0xe0d80000				# news1700
1611.20Stsutsuimkclock0 at hb1 addr 0xe1420000				# news1200
1621.1Stsutsui
1631.1Stsutsui# onboard LANCE ethernet
1641.4Stsutsuile0	at hb0 addr 0xe0f00000 ipl 4			# news1700
1651.4Stsutsuile0	at hb1 addr 0xe1a40000 ipl 4			# news1200
1661.1Stsutsui
1671.17Stsutsui# keyboard/mouse
1681.17Stsutsuikbc0	at hb0 addr 0xe0d00000 ipl 5			# news1700
1691.17Stsutsuikb0	at kbc0						# news1700
1701.17Stsutsuims0	at kbc0						# news1700
1711.17Stsutsui
1721.17Stsutsuikb0	at hb1 addr 0xe1240000 ipl 5			# news1200
1731.17Stsutsuims0	at hb1 addr 0xe1280000 ipl 5			# news1200
1741.17Stsutsui
1751.17Stsutsuiwskbd*	at kb?
1761.17Stsutsuiwsmouse* at ms?
1771.1Stsutsui
1781.1Stsutsui# onboard z8530 SCC
1791.4Stsutsuizsc0	at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0	# news1700
1801.4Stsutsuizsc0	at hb1 addr 0xe1780000 ipl 5 vect 64 flags 0x1	# news1200
1811.1Stsutsuizstty0	at zsc0 channel 0
1821.24Slukemzstty1	at zsc0 channel 1
1831.1Stsutsui
1841.1Stsutsui# Frame buffer devices; not yet
1851.1Stsutsui#fb0	at hb0 addr 0xf0700000			# NWB225
1861.1Stsutsui#fb1	at hb0 addr 0xf0f00000			# NWB512
1871.1Stsutsui
1881.1Stsutsui# onboard uPD72067 FDC; not yet
1891.1Stsutsui#fdc0	at hb0 addr 0xe0c80000 ipl 3
1901.1Stsutsui#fd*	at fdc0
1911.1Stsutsui
1921.1Stsutsui# onboard CXD1180 SCSI controller
1931.1Stsutsui#
1941.1Stsutsui# This driver has several flags which may be enabled using
1951.1Stsutsui# the "flags" directive.  Valid flags are:
1961.1Stsutsui#
1971.1Stsutsui# 0x000ff	Set (1<<target) to disable disconnect/reselect
1981.1Stsutsui# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1991.1Stsutsui# 0x10000	Set this bit to disable DMA interrupts (poll)
2001.1Stsutsui# 0x20000	Set this bit to disable DMA entirely (use PIO)
2011.1Stsutsui#
2021.1Stsutsui# For example: "flags 0x1000f" would disable DMA interrupts,
2031.1Stsutsui# and disable disconnect/reselect for targets 0-3
2041.1Stsutsui#
2051.1Stsutsuisi0	at hb0 addr 0xe0cc0000 ipl 4 flags 0xf
2061.24Slukemscsibus* at si0
2071.1Stsutsui
2081.1Stsutsuisd*	at scsibus? target ? lun ?		# SCSI disks
2091.1Stsutsuist*	at scsibus? target ? lun ?		# SCSI tapes
2101.1Stsutsuicd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
2111.1Stsutsuich*	at scsibus? target ? lun ?		# SCSI changer devices
2121.1Stsutsuiss*	at scsibus? target ? lun ?		# SCSI scanners
2131.1Stsutsuiuk*	at scsibus? target ? lun ?		# unknown SCSI devices
2141.1Stsutsui
2151.1Stsutsui# Misc.
2161.1Stsutsuipseudo-device	loop			# loopback interface; required
2171.13Sjdolecekpseudo-device	pty			# pseudo-terminals
2181.1Stsutsuipseudo-device	md		1	# memory disk device
2191.1Stsutsuipseudo-device	vnd		4	# disk-like interface to files
2201.1Stsutsuipseudo-device	ccd		4	# concatenated and striped disks
2211.39Selric#pseudo-device	cgd		4	# cryptographic disk devices
2221.28Sosterpseudo-device	raid		8	# RAIDframe disk driver
2231.42Stsutsui#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2241.28Soster# Options to enable various other RAIDframe RAID types.
2251.28Soster# options	RF_INCLUDE_EVENODD=1
2261.28Soster# options	RF_INCLUDE_RAID5_RS=1
2271.28Soster# options	RF_INCLUDE_PARITYLOGGING=1
2281.28Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2291.28Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2301.28Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2311.28Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2321.1Stsutsuipseudo-device	sl		2	# SLIP interfaces
2331.1Stsutsuipseudo-device	ppp		2	# PPP interfaces
2341.27Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2351.1Stsutsuipseudo-device	tun		4	# Network "tunnel" device
2361.1Stsutsuipseudo-device	gre		2	# generic L3 over IP tunnel
2371.1Stsutsuipseudo-device	bpfilter	16	# Berkeley Packet Filter
2381.1Stsutsuipseudo-device	ipfilter		# ip filter
2391.1Stsutsuipseudo-device	strip		1	# Starmode Radio IP (Metricom)
2401.1Stsutsuipseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2411.1Stsutsui#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2421.7Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2431.16Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2441.25Satatatpseudo-device	bridge			# simple inter-network bridging
2451.43Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2461.1Stsutsuipseudo-device	rnd			# /dev/random and in-kernle generator
2471.1Stsutsui#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
2481.34Slukempseudo-device	clockctl		# user control of clock subsystem
2491.46Sraggepseudo-device	ksyms			# /dev/ksyms
2501.50Sitojun#pseudo-device	pf			# PF packet filter
2511.50Sitojun#pseudo-device	pflog			# PF log if
252