GENERIC revision 1.112
11.112Smartin# 	$NetBSD: GENERIC,v 1.112 2014/08/03 08:53:56 martin Exp $
21.8Sreinoud#
31.8Sreinoud#	GENERIC --- NetBSD/acorn32 complete configuration
41.1Sreinoud#
51.4Sgmcgarry# This machine description file is used to generate the default NetBSD
61.4Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.4Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Sreinoud#
91.4Sgmcgarry# The machine description file can be customised for your specific
101.4Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.4Sgmcgarry#
121.4Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.4Sgmcgarry# man page.
141.4Sgmcgarry#
151.4Sgmcgarry# For further information on hardware support for this architecture, see
161.4Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.4Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.4Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.4Sgmcgarry# device.
201.1Sreinoud
211.8Sreinoudinclude		"arch/acorn32/conf/std.acorn32"
221.1Sreinoud
231.16Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.16Satatat
251.112Smartin#ident		"GENERIC-$Revision: 1.112 $"
261.1Sreinoud
271.1Sreinoud# estimated number of users
281.1Sreinoudmaxusers	32
291.1Sreinoud
301.1Sreinoud# Standard system options
311.1Sreinoud
321.1Sreinoudoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
331.1Sreinoud#options 	NTP		# NTP phase/frequency locked loop
341.22Sjunyoung
351.1Sreinoud# CPU options
361.1Sreinoudoptions 	CPU_SA110	# Support the SA110 core
371.1Sreinoudoptions 	CPU_ARM6	# Support the ARM6 core
381.1Sreinoudoptions 	CPU_ARM7	# Support the ARM7 core
391.10Sreinoud#options 	CPU_ARM8	# Support the ARM8 core
401.1Sreinoud#options 	ARM6_LATE_ABORT	# ARM6XX late abort support
411.1Sreinoud
421.10Sreinoud# For StrongARM only kernels
431.10Sreinoud#makeoptions	COPTS="-O2 -march=armv3m -mtune=strongarm"
441.1Sreinoud
451.1Sreinoud# File systems
461.1Sreinoud
471.1Sreinoudfile-system	FFS		# UFS
481.1Sreinoud#file-system	LFS		# log-structured file system
491.1Sreinoudfile-system	MFS		# memory file system
501.1Sreinoudfile-system	NFS		# Network file system
511.1Sreinoudfile-system 	ADOSFS		# AmigaDOS-compatible file system
521.1Sreinoudfile-system 	EXT2FS		# second extended file system (linux)
531.1Sreinoudfile-system	CD9660		# ISO 9660 + Rock Ridge file system
541.1Sreinoudfile-system	MSDOSFS		# MS-DOS file system
551.1Sreinoudfile-system	FDESC		# /dev/fd
561.1Sreinoudfile-system	FILECORE	# Acorn filecore file system
571.1Sreinoudfile-system	KERNFS		# /kern
581.1Sreinoudfile-system	NULLFS		# loopback file system
591.1Sreinoudfile-system 	OVERLAY		# overlay filesystem
601.94Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
611.1Sreinoudfile-system	PROCFS		# /proc
621.1Sreinoudfile-system	UMAPFS		# NULLFS + uid and gid remapping
631.1Sreinoudfile-system	UNION		# union file system
641.60Schristosfile-system	PTYFS		# /dev/pts/N support
651.96Schsfile-system	TMPFS		# Efficient memory file-system
661.66Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
671.1Sreinoud
681.1Sreinoud# File system options
691.98Sbouyeroptions 	QUOTA		# legacy UFS quotas
701.98Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
711.99Swiz#options 	FFS_EI		# FFS Endian Independent support
721.101Sdhollandoptions 	WAPBL		# File system journaling support
731.48Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
741.1Sreinoudoptions 	NFSSERVER
751.63Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
761.1Sreinoud
771.1Sreinoud# Networking options
781.1Sreinoud
791.1Sreinoudoptions 	GATEWAY		# packet forwarding
801.1Sreinoudoptions 	INET		# IP + ICMP + TCP + UDP
811.1Sreinoudoptions 	INET6		# IPV6
821.1Sreinoud#options 	IPSEC		# IP security
831.1Sreinoud#options 	IPSEC_DEBUG	# debug for IP security
841.1Sreinoud#options 	MROUTING	# IP multicast routing
851.44Smanu#options 	PIM		# Protocol Independent Multicast
861.1Sreinoudoptions 	NETATALK	# AppleTalk networking
871.1Sreinoudoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
881.1Sreinoudoptions 	PPP_DEFLATE	# Deflate compression support for PPP
891.1Sreinoudoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
901.1Sreinoud#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
911.1Sreinoud
921.41Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
931.41Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
941.41Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
951.41Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
961.41Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
971.41Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
981.41Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
991.41Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1001.41Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1011.41Sabs#options 	ALTQ_RED	# Random Early Detection
1021.41Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1031.41Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1041.41Sabs
1051.1Sreinoud# Compatibility options
1061.1Sreinoud
1071.112Smartinoptions		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
1081.1Sreinoudoptions 	COMPAT_43	# 4.3BSD compatibility.
1091.104Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
1101.91Smrgoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
1111.86Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
1121.59Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1131.50Scubeoptions		COMPAT_20	# NetBSD 2.0 compatibility.
1141.27Schrisoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
1151.8Sreinoudoptions		COMPAT_15	# NetBSD 1.5 compatibility.
1161.1Sreinoudoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
1171.1Sreinoudoptions 	COMPAT_13	# NetBSD 1.3 compatibility.
1181.1Sreinoudoptions 	COMPAT_12	# NetBSD 1.2 compatibility.
1191.1Sreinoud#options 	COMPAT_11	# NetBSD 1.1 compatibility.
1201.1Sreinoud#options 	COMPAT_10	# NetBSD 1.0 compatibility.
1211.1Sreinoud#options 	COMPAT_09	# NetBSD 0.9 compatibility.
1221.8Sreinoud#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1231.45Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1241.1Sreinoud
1251.1Sreinoud# Shared memory options
1261.1Sreinoud
1271.1Sreinoudoptions 	SYSVMSG		# System V-like message queues
1281.1Sreinoudoptions 	SYSVSEM		# System V-like semaphores
1291.1Sreinoudoptions 	SYSVSHM		# System V-like memory sharing
1301.1Sreinoud
1311.1Sreinoud# Device options
1321.1Sreinoud
1331.1Sreinoudoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1341.13Slukem#options 	MEMORY_DISK_ROOT_SIZE=4100	# Size in blocks
1351.1Sreinoud#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1361.1Sreinoud
1371.1Sreinoud# Miscellaneous kernel options
1381.1Sreinoudoptions 	KTRACE		# system call tracing, a la ktrace(1)
1391.1Sreinoudoptions 	IRQSTATS	# manage IRQ statistics
1401.1Sreinoudoptions 	KMEMSTATS	# kernel memory statistics
1411.1Sreinoud#options 	SCSIVERBOSE	# Verbose SCSI errors
1421.19Slukemoptions 	USERCONF	# userconf(4) support
1431.9Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1441.43Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1451.23Sjunyoung
1461.24Swiz# Enable experimental buffer queue strategy for better responsiveness under 
1471.23Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
1481.53Stsutsui#options 	BUFQ_READPRIO
1491.53Stsutsui#options 	BUFQ_PRIOCSCAN
1501.1Sreinoud
1511.1Sreinoud# Development and Debugging options
1521.1Sreinoud
1531.1Sreinoud#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1541.1Sreinoud#options 	PORTMASTER	# Enable PortMaster only options
1551.62Schs#options 	DIAGNOSTIC	# internal consistency checks
1561.2Slukem#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1571.1Sreinoudoptions 	DDB		# in-kernel debugger
1581.1Sreinoud#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1591.1Sreinoud#makeoptions	DEBUG="-g"	# compile full symbol table
1601.1Sreinoud
1611.1Sreinoudconfig		netbsd	root on ? type ?
1621.1Sreinoud
1631.1Sreinoud# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
1641.1Sreinoud# this really be fixed some day
1651.2Slukem#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
1661.1Sreinoud
1671.1Sreinoud# The main bus device
1681.1Sreinoudmainbus0 at root
1691.1Sreinoud
1701.35Swiz# The boot CPU
1711.1Sreinoudcpu0 at mainbus?
1721.1Sreinoud
1731.1Sreinoud# The IOMD
1741.1Sreinoudiomd0	at mainbus?
1751.1Sreinoud
1761.1Sreinoud# system clock via IOMD
1771.1Sreinoudclock*	at iomd?
1781.1Sreinoud
1791.1Sreinoud# IIC bus device
1801.28Sthorpejiomdiic* at iomd?
1811.28Sthorpejiic0 at iomdiic?
1821.1Sreinoud
1831.1Sreinoud# RTC device via IIC bus
1841.28Sthorpejpcfrtc*	at iic? addr 0x50
1851.1Sreinoud
1861.1Sreinoud# VIDC device
1871.1Sreinoudvidc0		at mainbus?
1881.1Sreinoud
1891.10Sreinoud# WSCONS
1901.10Sreinoud# ws console uses DUMB, SUN or VT100 terminal emulation
1911.10Sreinoud#options 	WSEMUL_NODUMB
1921.10Sreinoud#options 	WSEMUL_SUN
1931.73Sbjh21options 	WSEMUL_VT100
1941.10Sreinoud
1951.85Schrisoptions         WS_KERNEL_FG=WSCOL_GREEN
1961.85Schris
1971.10Sreinoud#options 	WSDISPLAY_COMPAT_RAWKBD
1981.103Sabsoptions		WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1991.85Schrisoptions		WSDISPLAY_SCROLLSUPPORT
2001.10Sreinoud
2011.73Sbjh21vidcvideo0	at vidc?		# wscons driver for VIDC
2021.73Sbjh21wsdisplay*	at vidcvideo? console ?	# display itself
2031.10Sreinoud
2041.36Sbjh21iomdkbc*	at iomd?		# IOMD keyboard/mouse interface
2051.36Sbjh21
2061.73Sbjh21pckbd*		at iomdkbc? slot ?	# PS/2 keyboard
2071.73Sbjh21options 	PCKBD_LAYOUT=KB_UK
2081.73Sbjh21wskbd*		at pckbd?
2091.36Sbjh21
2101.36Sbjh21pms*		at iomdkbc? slot ?	# PS/2 mouse
2111.36Sbjh21wsmouse*	at pms?
2121.36Sbjh21
2131.37Sbjh21qms*		at iomd?		# ws quadmouse driver
2141.37Sbjh21wsmouse*	at qms?			# wsmouse on ws quadmouse
2151.10Sreinoud
2161.36Sbjh21pseudo-device	wsmux
2171.10Sreinoud
2181.1Sreinoud# Peripheral IO Controller
2191.1Sreinoudpioc0	at mainbus? base 0x00210000
2201.1Sreinoud
2211.1Sreinoud# IDE disk controller
2221.1Sreinoudwdc0	at pioc? offset 0x01f0 irq 9
2231.31Slukem
2241.31Slukem# ATA (IDE) bus support
2251.31Slukematabus* at ata?
2261.29Sbouyer
2271.30Schristoswd*	at atabus? drive ?
2281.31Slukematapibus* at atapi?
2291.1Sreinoudcd*	at atapibus? drive ?
2301.1Sreinoudsd*	at atapibus? drive ?
2311.1Sreinoud
2321.1Sreinoud# Floppy disk controller
2331.2Slukemfdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
2341.2Slukemfd0	at fdc? drive ?
2351.1Sreinoud
2361.1Sreinoud# Serial ports
2371.2Slukemcom*	at pioc? offset 0x03f8 irq 10
2381.1Sreinoud
2391.1Sreinoud# Parallel ports
2401.33Sbjh21lpt*	at pioc? offset 0x0278 irq 0	# Old driver
2411.33Sbjh21#atppc*	at pioc? offset 0x0278 irq 0	# New driver
2421.33Sbjh21#ppbus*	at atppc?
2431.33Sbjh21#lpt*	at ppbus?		# Parallel printer
2441.33Sbjh21#plip*	at ppbus?		# Parallel line IP
2451.1Sreinoud
2461.1Sreinoud# Audio device
2471.1Sreinoudvidcaudio0	at vidc?
2481.1Sreinoudaudio*		at vidcaudio0
2491.1Sreinoud
2501.1Sreinoud# Podule bus device
2511.1Sreinoudpodulebus0	at root
2521.1Sreinoud
2531.77Sbjh21sec*	at podulebus?			# Acorn SCSI card
2541.77Sbjh21scsibus* at sec?
2551.1Sreinoud
2561.1Sreinoudcosc*	at podulebus?			# MCS Connect32 SCSI II card
2571.1Sreinoudscsibus* at cosc?
2581.1Sreinoud
2591.1Sreinoudptsc*	at podulebus?			# Power-Tec SCSI II card
2601.1Sreinoudscsibus* at ptsc?
2611.1Sreinoud
2621.18Sbjh21csc*	at podulebus?			# Cumana SCSI II card
2631.18Sbjh21scsibus* at csc?
2641.1Sreinoud
2651.1Sreinoudoak*	at podulebus?			# Oak SCSI I card
2661.1Sreinoudscsibus* at oak?
2671.1Sreinoud
2681.72Sskrllcsa*	at podulebus?			# Cumana SCSI I adapter
2691.1Sreinoudscsibus* at csa?
2701.1Sreinoud
2711.8Sreinoudhcsc*	at podulebus0 slot ?		# HCCS 8-bit SCSI interface
2721.1Sreinoudscsibus* at hcsc?
2731.1Sreinoud
2741.1Sreinoudsd*	at scsibus? target ? lun ?	# SCSI disk drives
2751.1Sreinoudst*	at scsibus? target ? lun ?	# SCSI tape drives
2761.1Sreinoudcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2771.1Sreinoudch*	at scsibus? target ? lun ?	# SCSI auto-changers
2781.1Sreinouduk*	at scsibus? target ? lun ?	# SCSI unknown device
2791.1Sreinoudss*	at scsibus? target ? lun ?	# SCSI scanner
2801.1Sreinoud
2811.1Sreinouddtide*	at podulebus?			# D.T. Software IDE card
2821.1Sreinoud
2831.1Sreinoudhcide*	at podulebus?			# HCCS IDE card
2841.1Sreinoud
2851.1Sreinoudicside*	at podulebus?			# ICS IDE card
2861.1Sreinoud
2871.1Sreinoudrapide*	at podulebus?			# Yellowstone RapIDE card
2881.1Sreinoud
2891.1Sreinoudsimide*	at podulebus?			# Simtec IDE card
2901.1Sreinoud
2911.1Sreinoudamps*	at podulebus?			# Atomwide Multi-Port Serial card
2921.1Sreinoudcom*	at amps?
2931.1Sreinoud
2941.77Sbjh21ei*	at podulebus?			# Ether1 podules
2951.1Sreinoudea*	at podulebus?			# Ether3 podules
2961.1Sreinoudeb0	at podulebus?			# EtherB network slot cards
2971.1Sreinoudne*	at podulebus?			# NE2000 clone cards
2981.1Sreinoud
2991.93Stsutsuipseudo-device	loop			# network loopback
3001.67Srpaulopseudo-device	bpfilter		# packet filter
3011.70Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
3021.68Scubepseudo-device	sl			# CSLIP
3031.68Scubepseudo-device	ppp			# PPP
3041.6Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3051.68Scubepseudo-device	tun			# network tunneling over tty
3061.47Scubepseudo-device	tap			# virtual Ethernet
3071.68Scube#pseudo-device	gre			# generic L3 over IP tunnel
3081.93Stsutsui#pseudo-device	ipfilter		# ip filter
3091.68Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3101.68Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3111.69Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3121.68Scube#pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)
3131.1Sreinoudpseudo-device	vlan			# IEEE 802.1q encapsulation
3141.3Satatatpseudo-device	bridge			# simple inter-network bridging
3151.25Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3161.79Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3171.1Sreinoudpseudo-device	pty			# pseudo-terminals
3181.68Scubepseudo-device	vnd			# disk-like interface to files
3191.56Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3201.108Schristospseudo-device	ccd			# concatenated disk devices
3211.108Schristos#pseudo-device	cgd			# cryptographic disk devices
3221.109Schristospseudo-device	raid			# RAIDframe disk driver
3231.7Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
3241.7Soster# Options to enable various other RAIDframe RAID types.
3251.7Soster# options	RF_INCLUDE_EVENODD=1
3261.7Soster# options	RF_INCLUDE_RAID5_RS=1
3271.7Soster# options	RF_INCLUDE_PARITYLOGGING=1
3281.7Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
3291.7Soster# options	RF_INCLUDE_INTERDECLUSTER=1
3301.7Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3311.7Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3321.95Spookapseudo-device	fss			# file system snapshot device
3331.97Shannkenpseudo-device	md			# Ramdisk driver
3341.17Slukempseudo-device	clockctl		# user control of clock subsystem
3351.26Sraggepseudo-device	ksyms			# /dev/ksyms
3361.40Sitojun#pseudo-device	pf			# PF packet filter
3371.40Sitojun#pseudo-device	pflog			# PF log if
3381.94Spookapseudo-device	putter			# for puffs and pud
3391.64Selad
3401.88Stls#
3411.88Stls# accept filters
3421.88Stlspseudo-device   accf_data		# "dataready" accept filter
3431.88Stlspseudo-device   accf_http		# "httpready" accept filter
3441.88Stls
3451.64Selad# Veriexec
3461.64Selad#
3471.64Selad# a pseudo device needed for veriexec
3481.109Schristos#pseudo-device	veriexec
3491.64Selad#
3501.64Selad# Uncomment the fingerprint methods below that are desired. Note that
3511.64Selad# removing fingerprint methods will have almost no impact on the kernel
3521.64Selad# code size.
3531.64Selad#
3541.64Selad#options VERIFIED_EXEC_FP_RMD160
3551.64Selad#options VERIFIED_EXEC_FP_SHA256
3561.64Selad#options VERIFIED_EXEC_FP_SHA384
3571.64Selad#options VERIFIED_EXEC_FP_SHA512
3581.64Selad#options VERIFIED_EXEC_FP_SHA1
3591.64Selad#options VERIFIED_EXEC_FP_MD5
3601.74Sbjh21
3611.74Sbjh21# If the standard modes don't work for your monitor, you can specify
3621.74Sbjh21# a RISC-OS-format monitor definition file and a list of modes here.
3631.74Sbjh21
3641.74Sbjh21#makeoptions	MONITOR="Taxan875+LR"
3651.74Sbjh21#makeoptions	MONITOR="AKF60"
3661.74Sbjh21#makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
367