GENERIC revision 1.108
11.108Schristos# 	$NetBSD: GENERIC,v 1.108 2013/04/27 18:19:20 christos 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.108Schristos#ident		"GENERIC-$Revision: 1.108 $"
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.55Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
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 	PFIL_HOOKS	# pfil(9) packet filter hooks
891.1Sreinoudoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
901.1Sreinoudoptions 	PPP_DEFLATE	# Deflate compression support for PPP
911.1Sreinoudoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
921.1Sreinoud#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
931.1Sreinoud
941.41Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
951.41Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
961.41Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
971.41Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
981.41Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
991.41Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1001.41Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1011.41Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1021.41Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1031.41Sabs#options 	ALTQ_RED	# Random Early Detection
1041.41Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1051.41Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1061.41Sabs
1071.1Sreinoud# Compatibility options
1081.1Sreinoud
1091.1Sreinoudoptions 	COMPAT_43	# 4.3BSD compatibility.
1101.104Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
1111.91Smrgoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
1121.86Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
1131.59Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1141.50Scubeoptions		COMPAT_20	# NetBSD 2.0 compatibility.
1151.27Schrisoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
1161.8Sreinoudoptions		COMPAT_15	# NetBSD 1.5 compatibility.
1171.1Sreinoudoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
1181.1Sreinoudoptions 	COMPAT_13	# NetBSD 1.3 compatibility.
1191.1Sreinoudoptions 	COMPAT_12	# NetBSD 1.2 compatibility.
1201.1Sreinoud#options 	COMPAT_11	# NetBSD 1.1 compatibility.
1211.1Sreinoud#options 	COMPAT_10	# NetBSD 1.0 compatibility.
1221.1Sreinoud#options 	COMPAT_09	# NetBSD 0.9 compatibility.
1231.8Sreinoud#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1241.45Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1251.1Sreinoud
1261.1Sreinoud# Shared memory options
1271.1Sreinoud
1281.1Sreinoudoptions 	SYSVMSG		# System V-like message queues
1291.1Sreinoudoptions 	SYSVSEM		# System V-like semaphores
1301.1Sreinoudoptions 	SYSVSHM		# System V-like memory sharing
1311.1Sreinoud
1321.1Sreinoud# Device options
1331.1Sreinoud
1341.1Sreinoudoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1351.13Slukem#options 	MEMORY_DISK_ROOT_SIZE=4100	# Size in blocks
1361.1Sreinoud#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1371.1Sreinoud
1381.1Sreinoud# Miscellaneous kernel options
1391.1Sreinoudoptions 	KTRACE		# system call tracing, a la ktrace(1)
1401.1Sreinoudoptions 	IRQSTATS	# manage IRQ statistics
1411.1Sreinoudoptions 	KMEMSTATS	# kernel memory 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.1Sreinoud# Podule bus device
2521.1Sreinoudpodulebus0	at root
2531.1Sreinoud
2541.77Sbjh21sec*	at podulebus?			# Acorn SCSI card
2551.77Sbjh21scsibus* at sec?
2561.1Sreinoud
2571.1Sreinoudcosc*	at podulebus?			# MCS Connect32 SCSI II card
2581.1Sreinoudscsibus* at cosc?
2591.1Sreinoud
2601.1Sreinoudptsc*	at podulebus?			# Power-Tec SCSI II card
2611.1Sreinoudscsibus* at ptsc?
2621.1Sreinoud
2631.18Sbjh21csc*	at podulebus?			# Cumana SCSI II card
2641.18Sbjh21scsibus* at csc?
2651.1Sreinoud
2661.1Sreinoudoak*	at podulebus?			# Oak SCSI I card
2671.1Sreinoudscsibus* at oak?
2681.1Sreinoud
2691.72Sskrllcsa*	at podulebus?			# Cumana SCSI I adapter
2701.1Sreinoudscsibus* at csa?
2711.1Sreinoud
2721.8Sreinoudhcsc*	at podulebus0 slot ?		# HCCS 8-bit SCSI interface
2731.1Sreinoudscsibus* at hcsc?
2741.1Sreinoud
2751.1Sreinoudsd*	at scsibus? target ? lun ?	# SCSI disk drives
2761.1Sreinoudst*	at scsibus? target ? lun ?	# SCSI tape drives
2771.1Sreinoudcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2781.1Sreinoudch*	at scsibus? target ? lun ?	# SCSI auto-changers
2791.1Sreinouduk*	at scsibus? target ? lun ?	# SCSI unknown device
2801.1Sreinoudss*	at scsibus? target ? lun ?	# SCSI scanner
2811.1Sreinoud
2821.1Sreinouddtide*	at podulebus?			# D.T. Software IDE card
2831.1Sreinoud
2841.1Sreinoudhcide*	at podulebus?			# HCCS IDE card
2851.1Sreinoud
2861.1Sreinoudicside*	at podulebus?			# ICS IDE card
2871.1Sreinoud
2881.1Sreinoudrapide*	at podulebus?			# Yellowstone RapIDE card
2891.1Sreinoud
2901.1Sreinoudsimide*	at podulebus?			# Simtec IDE card
2911.1Sreinoud
2921.1Sreinoudamps*	at podulebus?			# Atomwide Multi-Port Serial card
2931.1Sreinoudcom*	at amps?
2941.1Sreinoud
2951.77Sbjh21ei*	at podulebus?			# Ether1 podules
2961.1Sreinoudea*	at podulebus?			# Ether3 podules
2971.1Sreinoudeb0	at podulebus?			# EtherB network slot cards
2981.1Sreinoudne*	at podulebus?			# NE2000 clone cards
2991.1Sreinoud
3001.93Stsutsuipseudo-device	loop			# network loopback
3011.67Srpaulopseudo-device	bpfilter		# packet filter
3021.70Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
3031.68Scubepseudo-device	sl			# CSLIP
3041.68Scubepseudo-device	ppp			# PPP
3051.6Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3061.68Scubepseudo-device	tun			# network tunneling over tty
3071.47Scubepseudo-device	tap			# virtual Ethernet
3081.68Scube#pseudo-device	gre			# generic L3 over IP tunnel
3091.93Stsutsui#pseudo-device	ipfilter		# ip filter
3101.68Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3111.68Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3121.69Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3131.68Scube#pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)
3141.1Sreinoudpseudo-device	vlan			# IEEE 802.1q encapsulation
3151.3Satatatpseudo-device	bridge			# simple inter-network bridging
3161.25Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3171.79Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3181.1Sreinoudpseudo-device	pty			# pseudo-terminals
3191.68Scubepseudo-device	vnd			# disk-like interface to files
3201.56Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3211.108Schristospseudo-device	ccd			# concatenated disk devices
3221.108Schristos#pseudo-device	cgd			# cryptographic disk devices
3231.7Sosterpseudo-device	raid	8		# RAIDframe disk driver
3241.7Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
3251.7Soster# Options to enable various other RAIDframe RAID types.
3261.7Soster# options	RF_INCLUDE_EVENODD=1
3271.7Soster# options	RF_INCLUDE_RAID5_RS=1
3281.7Soster# options	RF_INCLUDE_PARITYLOGGING=1
3291.7Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
3301.7Soster# options	RF_INCLUDE_INTERDECLUSTER=1
3311.7Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3321.7Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3331.95Spookapseudo-device	fss			# file system snapshot device
3341.97Shannkenpseudo-device	md			# Ramdisk driver
3351.17Slukempseudo-device	clockctl		# user control of clock subsystem
3361.26Sraggepseudo-device	ksyms			# /dev/ksyms
3371.40Sitojun#pseudo-device	pf			# PF packet filter
3381.40Sitojun#pseudo-device	pflog			# PF log if
3391.94Spookapseudo-device	putter			# for puffs and pud
3401.64Selad
3411.88Stls#
3421.88Stls# accept filters
3431.88Stlspseudo-device   accf_data		# "dataready" accept filter
3441.88Stlspseudo-device   accf_http		# "httpready" accept filter
3451.88Stls
3461.64Selad# Veriexec
3471.64Selad#
3481.64Selad# a pseudo device needed for veriexec
3491.64Selad#pseudo-device	veriexec		1
3501.64Selad#
3511.64Selad# Uncomment the fingerprint methods below that are desired. Note that
3521.64Selad# removing fingerprint methods will have almost no impact on the kernel
3531.64Selad# code size.
3541.64Selad#
3551.64Selad#options VERIFIED_EXEC_FP_RMD160
3561.64Selad#options VERIFIED_EXEC_FP_SHA256
3571.64Selad#options VERIFIED_EXEC_FP_SHA384
3581.64Selad#options VERIFIED_EXEC_FP_SHA512
3591.64Selad#options VERIFIED_EXEC_FP_SHA1
3601.64Selad#options VERIFIED_EXEC_FP_MD5
3611.74Sbjh21
3621.74Sbjh21# If the standard modes don't work for your monitor, you can specify
3631.74Sbjh21# a RISC-OS-format monitor definition file and a list of modes here.
3641.74Sbjh21
3651.74Sbjh21#makeoptions	MONITOR="Taxan875+LR"
3661.74Sbjh21#makeoptions	MONITOR="AKF60"
3671.74Sbjh21#makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
368