GENERIC revision 1.118
11.118Snat# 	$NetBSD: GENERIC,v 1.118 2016/12/08 11:31:09 nat 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.118Snat#ident		"GENERIC-$Revision: 1.118 $"
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.115Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
771.1Sreinoud
781.1Sreinoud# Networking options
791.1Sreinoud
801.1Sreinoudoptions 	GATEWAY		# packet forwarding
811.1Sreinoudoptions 	INET		# IP + ICMP + TCP + UDP
821.1Sreinoudoptions 	INET6		# IPV6
831.1Sreinoud#options 	IPSEC		# IP security
841.1Sreinoud#options 	IPSEC_DEBUG	# debug for IP security
851.1Sreinoud#options 	MROUTING	# IP multicast routing
861.44Smanu#options 	PIM		# Protocol Independent Multicast
871.1Sreinoudoptions 	NETATALK	# AppleTalk networking
881.1Sreinoudoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
891.1Sreinoudoptions 	PPP_DEFLATE	# Deflate compression support for PPP
901.1Sreinoudoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
911.1Sreinoud#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
921.1Sreinoud
931.41Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
941.41Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
951.41Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
961.41Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
971.41Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
981.41Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
991.41Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1001.41Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1011.41Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1021.41Sabs#options 	ALTQ_RED	# Random Early Detection
1031.41Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1041.41Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1051.41Sabs
1061.1Sreinoud# Compatibility options
1071.1Sreinoud
1081.112Smartinoptions		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
1091.1Sreinoudoptions 	COMPAT_43	# 4.3BSD compatibility.
1101.114Sdholland#options 	COMPAT_09	# NetBSD 0.9,
1111.114Sdholland#options 	COMPAT_10	# NetBSD 1.0,
1121.114Sdholland#options 	COMPAT_11	# NetBSD 1.1,
1131.114Sdhollandoptions 	COMPAT_12	# NetBSD 1.2,
1141.114Sdhollandoptions 	COMPAT_13	# NetBSD 1.3,
1151.114Sdhollandoptions 	COMPAT_14	# NetBSD 1.4,
1161.114Sdhollandoptions 	COMPAT_15	# NetBSD 1.5,
1171.114Sdhollandoptions 	COMPAT_16	# NetBSD 1.6,
1181.114Sdhollandoptions 	COMPAT_20	# NetBSD 2.0,
1191.114Sdhollandoptions 	COMPAT_30	# NetBSD 3.0,
1201.114Sdhollandoptions 	COMPAT_40	# NetBSD 4.0,
1211.114Sdhollandoptions 	COMPAT_50	# NetBSD 5.0,
1221.114Sdhollandoptions 	COMPAT_60	# NetBSD 6.0, and
1231.114Sdhollandoptions 	COMPAT_70	# NetBSD 7.0 binary compatibility.
1241.8Sreinoud#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1251.45Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1261.1Sreinoud
1271.1Sreinoud# Shared memory options
1281.1Sreinoud
1291.1Sreinoudoptions 	SYSVMSG		# System V-like message queues
1301.1Sreinoudoptions 	SYSVSEM		# System V-like semaphores
1311.1Sreinoudoptions 	SYSVSHM		# System V-like memory sharing
1321.1Sreinoud
1331.1Sreinoud# Device options
1341.1Sreinoud
1351.1Sreinoudoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1361.13Slukem#options 	MEMORY_DISK_ROOT_SIZE=4100	# Size in blocks
1371.1Sreinoud#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1381.1Sreinoud
1391.1Sreinoud# Miscellaneous kernel options
1401.1Sreinoudoptions 	KTRACE		# system call tracing, a la ktrace(1)
1411.1Sreinoudoptions 	IRQSTATS	# manage IRQ statistics
1421.1Sreinoud#options 	SCSIVERBOSE	# Verbose SCSI errors
1431.19Slukemoptions 	USERCONF	# userconf(4) support
1441.9Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1451.43Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1461.23Sjunyoung
1471.24Swiz# Enable experimental buffer queue strategy for better responsiveness under 
1481.23Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
1491.53Stsutsui#options 	BUFQ_READPRIO
1501.53Stsutsui#options 	BUFQ_PRIOCSCAN
1511.1Sreinoud
1521.1Sreinoud# Development and Debugging options
1531.1Sreinoud
1541.1Sreinoud#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1551.1Sreinoud#options 	PORTMASTER	# Enable PortMaster only options
1561.62Schs#options 	DIAGNOSTIC	# internal consistency checks
1571.2Slukem#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1581.1Sreinoudoptions 	DDB		# in-kernel debugger
1591.1Sreinoud#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1601.1Sreinoud#makeoptions	DEBUG="-g"	# compile full symbol table
1611.1Sreinoud
1621.1Sreinoudconfig		netbsd	root on ? type ?
1631.1Sreinoud
1641.1Sreinoud# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
1651.1Sreinoud# this really be fixed some day
1661.2Slukem#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
1671.1Sreinoud
1681.1Sreinoud# The main bus device
1691.1Sreinoudmainbus0 at root
1701.1Sreinoud
1711.35Swiz# The boot CPU
1721.1Sreinoudcpu0 at mainbus?
1731.1Sreinoud
1741.1Sreinoud# The IOMD
1751.1Sreinoudiomd0	at mainbus?
1761.1Sreinoud
1771.1Sreinoud# system clock via IOMD
1781.1Sreinoudclock*	at iomd?
1791.1Sreinoud
1801.1Sreinoud# IIC bus device
1811.28Sthorpejiomdiic* at iomd?
1821.28Sthorpejiic0 at iomdiic?
1831.1Sreinoud
1841.1Sreinoud# RTC device via IIC bus
1851.28Sthorpejpcfrtc*	at iic? addr 0x50
1861.1Sreinoud
1871.1Sreinoud# VIDC device
1881.1Sreinoudvidc0		at mainbus?
1891.1Sreinoud
1901.10Sreinoud# WSCONS
1911.10Sreinoud# ws console uses DUMB, SUN or VT100 terminal emulation
1921.10Sreinoud#options 	WSEMUL_NODUMB
1931.10Sreinoud#options 	WSEMUL_SUN
1941.73Sbjh21options 	WSEMUL_VT100
1951.10Sreinoud
1961.85Schrisoptions         WS_KERNEL_FG=WSCOL_GREEN
1971.85Schris
1981.10Sreinoud#options 	WSDISPLAY_COMPAT_RAWKBD
1991.103Sabsoptions		WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
2001.85Schrisoptions		WSDISPLAY_SCROLLSUPPORT
2011.10Sreinoud
2021.73Sbjh21vidcvideo0	at vidc?		# wscons driver for VIDC
2031.73Sbjh21wsdisplay*	at vidcvideo? console ?	# display itself
2041.10Sreinoud
2051.36Sbjh21iomdkbc*	at iomd?		# IOMD keyboard/mouse interface
2061.36Sbjh21
2071.73Sbjh21pckbd*		at iomdkbc? slot ?	# PS/2 keyboard
2081.73Sbjh21options 	PCKBD_LAYOUT=KB_UK
2091.73Sbjh21wskbd*		at pckbd?
2101.36Sbjh21
2111.36Sbjh21pms*		at iomdkbc? slot ?	# PS/2 mouse
2121.36Sbjh21wsmouse*	at pms?
2131.36Sbjh21
2141.37Sbjh21qms*		at iomd?		# ws quadmouse driver
2151.37Sbjh21wsmouse*	at qms?			# wsmouse on ws quadmouse
2161.10Sreinoud
2171.36Sbjh21pseudo-device	wsmux
2181.10Sreinoud
2191.1Sreinoud# Peripheral IO Controller
2201.1Sreinoudpioc0	at mainbus? base 0x00210000
2211.1Sreinoud
2221.1Sreinoud# IDE disk controller
2231.1Sreinoudwdc0	at pioc? offset 0x01f0 irq 9
2241.31Slukem
2251.31Slukem# ATA (IDE) bus support
2261.31Slukematabus* at ata?
2271.29Sbouyer
2281.30Schristoswd*	at atabus? drive ?
2291.31Slukematapibus* at atapi?
2301.1Sreinoudcd*	at atapibus? drive ?
2311.1Sreinoudsd*	at atapibus? drive ?
2321.1Sreinoud
2331.1Sreinoud# Floppy disk controller
2341.2Slukemfdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
2351.2Slukemfd0	at fdc? drive ?
2361.1Sreinoud
2371.1Sreinoud# Serial ports
2381.2Slukemcom*	at pioc? offset 0x03f8 irq 10
2391.1Sreinoud
2401.1Sreinoud# Parallel ports
2411.33Sbjh21lpt*	at pioc? offset 0x0278 irq 0	# Old driver
2421.33Sbjh21#atppc*	at pioc? offset 0x0278 irq 0	# New driver
2431.33Sbjh21#ppbus*	at atppc?
2441.33Sbjh21#lpt*	at ppbus?		# Parallel printer
2451.33Sbjh21#plip*	at ppbus?		# Parallel line IP
2461.1Sreinoud
2471.1Sreinoud# Audio device
2481.1Sreinoudvidcaudio0	at vidc?
2491.1Sreinoudaudio*		at vidcaudio0
2501.1Sreinoud
2511.118Snatoptions VAUDIOSPEAKER
2521.118Snatspkr0	at audio0		# PC speaker (synthesized)
2531.118Snat
2541.1Sreinoud# Podule bus device
2551.1Sreinoudpodulebus0	at root
2561.1Sreinoud
2571.77Sbjh21sec*	at podulebus?			# Acorn SCSI card
2581.77Sbjh21scsibus* at sec?
2591.1Sreinoud
2601.1Sreinoudcosc*	at podulebus?			# MCS Connect32 SCSI II card
2611.1Sreinoudscsibus* at cosc?
2621.1Sreinoud
2631.1Sreinoudptsc*	at podulebus?			# Power-Tec SCSI II card
2641.1Sreinoudscsibus* at ptsc?
2651.1Sreinoud
2661.18Sbjh21csc*	at podulebus?			# Cumana SCSI II card
2671.18Sbjh21scsibus* at csc?
2681.1Sreinoud
2691.1Sreinoudoak*	at podulebus?			# Oak SCSI I card
2701.1Sreinoudscsibus* at oak?
2711.1Sreinoud
2721.72Sskrllcsa*	at podulebus?			# Cumana SCSI I adapter
2731.1Sreinoudscsibus* at csa?
2741.1Sreinoud
2751.8Sreinoudhcsc*	at podulebus0 slot ?		# HCCS 8-bit SCSI interface
2761.1Sreinoudscsibus* at hcsc?
2771.1Sreinoud
2781.1Sreinoudsd*	at scsibus? target ? lun ?	# SCSI disk drives
2791.1Sreinoudst*	at scsibus? target ? lun ?	# SCSI tape drives
2801.1Sreinoudcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2811.1Sreinoudch*	at scsibus? target ? lun ?	# SCSI auto-changers
2821.1Sreinouduk*	at scsibus? target ? lun ?	# SCSI unknown device
2831.1Sreinoudss*	at scsibus? target ? lun ?	# SCSI scanner
2841.1Sreinoud
2851.1Sreinouddtide*	at podulebus?			# D.T. Software IDE card
2861.1Sreinoud
2871.1Sreinoudhcide*	at podulebus?			# HCCS IDE card
2881.1Sreinoud
2891.1Sreinoudicside*	at podulebus?			# ICS IDE card
2901.1Sreinoud
2911.1Sreinoudrapide*	at podulebus?			# Yellowstone RapIDE card
2921.1Sreinoud
2931.1Sreinoudsimide*	at podulebus?			# Simtec IDE card
2941.1Sreinoud
2951.1Sreinoudamps*	at podulebus?			# Atomwide Multi-Port Serial card
2961.1Sreinoudcom*	at amps?
2971.1Sreinoud
2981.77Sbjh21ei*	at podulebus?			# Ether1 podules
2991.1Sreinoudea*	at podulebus?			# Ether3 podules
3001.1Sreinoudeb0	at podulebus?			# EtherB network slot cards
3011.1Sreinoudne*	at podulebus?			# NE2000 clone cards
3021.1Sreinoud
3031.93Stsutsuipseudo-device	loop			# network loopback
3041.67Srpaulopseudo-device	bpfilter		# packet filter
3051.70Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
3061.68Scubepseudo-device	sl			# CSLIP
3071.68Scubepseudo-device	ppp			# PPP
3081.6Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3091.68Scubepseudo-device	tun			# network tunneling over tty
3101.47Scubepseudo-device	tap			# virtual Ethernet
3111.68Scube#pseudo-device	gre			# generic L3 over IP tunnel
3121.93Stsutsui#pseudo-device	ipfilter		# ip filter
3131.68Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3141.68Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3151.69Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3161.68Scube#pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)
3171.1Sreinoudpseudo-device	vlan			# IEEE 802.1q encapsulation
3181.3Satatatpseudo-device	bridge			# simple inter-network bridging
3191.25Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3201.79Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3211.1Sreinoudpseudo-device	pty			# pseudo-terminals
3221.68Scubepseudo-device	vnd			# disk-like interface to files
3231.56Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3241.108Schristospseudo-device	ccd			# concatenated disk devices
3251.108Schristos#pseudo-device	cgd			# cryptographic disk devices
3261.109Schristospseudo-device	raid			# RAIDframe disk driver
3271.7Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
3281.7Soster# Options to enable various other RAIDframe RAID types.
3291.7Soster# options	RF_INCLUDE_EVENODD=1
3301.7Soster# options	RF_INCLUDE_RAID5_RS=1
3311.7Soster# options	RF_INCLUDE_PARITYLOGGING=1
3321.7Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
3331.7Soster# options	RF_INCLUDE_INTERDECLUSTER=1
3341.7Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3351.7Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3361.95Spookapseudo-device	fss			# file system snapshot device
3371.97Shannkenpseudo-device	md			# Ramdisk driver
3381.17Slukempseudo-device	clockctl		# user control of clock subsystem
3391.26Sraggepseudo-device	ksyms			# /dev/ksyms
3401.40Sitojun#pseudo-device	pf			# PF packet filter
3411.40Sitojun#pseudo-device	pflog			# PF log if
3421.94Spookapseudo-device	putter			# for puffs and pud
3431.64Selad
3441.88Stls#
3451.88Stls# accept filters
3461.88Stlspseudo-device   accf_data		# "dataready" accept filter
3471.88Stlspseudo-device   accf_http		# "httpready" accept filter
3481.88Stls
3491.64Selad# Veriexec
3501.64Selad#
3511.64Selad# a pseudo device needed for veriexec
3521.109Schristos#pseudo-device	veriexec
3531.64Selad#
3541.64Selad# Uncomment the fingerprint methods below that are desired. Note that
3551.64Selad# removing fingerprint methods will have almost no impact on the kernel
3561.64Selad# code size.
3571.64Selad#
3581.64Selad#options VERIFIED_EXEC_FP_RMD160
3591.64Selad#options VERIFIED_EXEC_FP_SHA256
3601.64Selad#options VERIFIED_EXEC_FP_SHA384
3611.64Selad#options VERIFIED_EXEC_FP_SHA512
3621.64Selad#options VERIFIED_EXEC_FP_SHA1
3631.64Selad#options VERIFIED_EXEC_FP_MD5
3641.74Sbjh21
3651.74Sbjh21# If the standard modes don't work for your monitor, you can specify
3661.74Sbjh21# a RISC-OS-format monitor definition file and a list of modes here.
3671.74Sbjh21
3681.74Sbjh21#makeoptions	MONITOR="Taxan875+LR"
3691.74Sbjh21#makeoptions	MONITOR="AKF60"
3701.74Sbjh21#makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
371