GENERIC revision 1.93
11.93Stsutsui# 	$NetBSD: GENERIC,v 1.93 2009/04/19 03:07:04 tsutsui 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.93Stsutsui#ident		"GENERIC-$Revision: 1.93 $"
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# FPA options
461.1Sreinoud#options 	ARMFPE		# ARM Ltd FPE
471.1Sreinoud
481.1Sreinoud# File systems
491.1Sreinoud
501.1Sreinoudfile-system	FFS		# UFS
511.1Sreinoud#file-system	LFS		# log-structured file system
521.1Sreinoudfile-system	MFS		# memory file system
531.1Sreinoudfile-system	NFS		# Network file system
541.1Sreinoudfile-system 	ADOSFS		# AmigaDOS-compatible file system
551.1Sreinoudfile-system 	EXT2FS		# second extended file system (linux)
561.1Sreinoudfile-system	CD9660		# ISO 9660 + Rock Ridge file system
571.1Sreinoudfile-system	MSDOSFS		# MS-DOS file system
581.1Sreinoudfile-system	FDESC		# /dev/fd
591.1Sreinoudfile-system	FILECORE	# Acorn filecore file system
601.1Sreinoudfile-system	KERNFS		# /kern
611.1Sreinoudfile-system	NULLFS		# loopback file system
621.1Sreinoudfile-system 	OVERLAY		# overlay filesystem
631.1Sreinoudfile-system	PORTAL		# portal filesystem (still experimental)
641.1Sreinoudfile-system	PROCFS		# /proc
651.1Sreinoudfile-system	UMAPFS		# NULLFS + uid and gid remapping
661.1Sreinoudfile-system	UNION		# union file system
671.60Schristosfile-system	PTYFS		# /dev/pts/N support
681.78Sjmmv#file-system	TMPFS		# Efficient memory file-system
691.66Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
701.1Sreinoud
711.1Sreinoud# File system options
721.1Sreinoudoptions 	QUOTA		# UFS quotas
731.1Sreinoud#options 	FFS_EI		# FFS Endian Independant support
741.87Ssimonboptions 	WAPBL		# File system journaling support - Experimental
751.48Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
761.1Sreinoudoptions 	NFSSERVER
771.63Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
781.1Sreinoud
791.1Sreinoud# Networking options
801.1Sreinoud
811.1Sreinoudoptions 	GATEWAY		# packet forwarding
821.1Sreinoudoptions 	INET		# IP + ICMP + TCP + UDP
831.1Sreinoudoptions 	INET6		# IPV6
841.1Sreinoud#options 	IPSEC		# IP security
851.1Sreinoud#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
861.55Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
871.1Sreinoud#options 	IPSEC_DEBUG	# debug for IP security
881.1Sreinoud#options 	MROUTING	# IP multicast routing
891.44Smanu#options 	PIM		# Protocol Independent Multicast
901.80Sadrianp#options 	ISO,TPIP	# OSI
911.1Sreinoud#options 	EON		# OSI tunneling over IP
921.1Sreinoudoptions 	NETATALK	# AppleTalk networking
931.1Sreinoudoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
941.1Sreinoudoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
951.1Sreinoudoptions 	PPP_DEFLATE	# Deflate compression support for PPP
961.1Sreinoudoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
971.1Sreinoud#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
981.1Sreinoud
991.41Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1001.41Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1011.41Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1021.41Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1031.41Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1041.41Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1051.41Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1061.41Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1071.41Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1081.41Sabs#options 	ALTQ_RED	# Random Early Detection
1091.41Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1101.41Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1111.41Sabs
1121.1Sreinoud# Compatibility options
1131.1Sreinoud
1141.1Sreinoudoptions 	COMPAT_43	# 4.3BSD compatibility.
1151.91Smrgoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
1161.86Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
1171.59Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1181.50Scubeoptions		COMPAT_20	# NetBSD 2.0 compatibility.
1191.27Schrisoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
1201.8Sreinoudoptions		COMPAT_15	# NetBSD 1.5 compatibility.
1211.1Sreinoudoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
1221.1Sreinoudoptions 	COMPAT_13	# NetBSD 1.3 compatibility.
1231.1Sreinoudoptions 	COMPAT_12	# NetBSD 1.2 compatibility.
1241.1Sreinoud#options 	COMPAT_11	# NetBSD 1.1 compatibility.
1251.1Sreinoud#options 	COMPAT_10	# NetBSD 1.0 compatibility.
1261.1Sreinoud#options 	COMPAT_09	# NetBSD 0.9 compatibility.
1271.8Sreinoud#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1281.45Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1291.1Sreinoud
1301.1Sreinoud# Shared memory options
1311.1Sreinoud
1321.1Sreinoudoptions 	SYSVMSG		# System V-like message queues
1331.1Sreinoudoptions 	SYSVSEM		# System V-like semaphores
1341.1Sreinoudoptions 	SYSVSHM		# System V-like memory sharing
1351.42Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
1361.1Sreinoud
1371.1Sreinoud# Device options
1381.1Sreinoud
1391.1Sreinoudoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1401.13Slukem#options 	MEMORY_DISK_ROOT_SIZE=4100	# Size in blocks
1411.1Sreinoud#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1421.1Sreinoud
1431.1Sreinoud# Miscellaneous kernel options
1441.1Sreinoudoptions 	KTRACE		# system call tracing, a la ktrace(1)
1451.1Sreinoudoptions 	IRQSTATS	# manage IRQ statistics
1461.1Sreinoudoptions 	KMEMSTATS	# kernel memory statistics
1471.1Sreinoud#options 	SCSIVERBOSE	# Verbose SCSI errors
1481.19Slukemoptions 	USERCONF	# userconf(4) support
1491.9Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1501.43Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1511.23Sjunyoung
1521.24Swiz# Enable experimental buffer queue strategy for better responsiveness under 
1531.23Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
1541.53Stsutsui#options 	BUFQ_READPRIO
1551.53Stsutsui#options 	BUFQ_PRIOCSCAN
1561.1Sreinoud
1571.1Sreinoud# Development and Debugging options
1581.1Sreinoud
1591.1Sreinoud#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1601.1Sreinoud#options 	PORTMASTER	# Enable PortMaster only options
1611.62Schs#options 	DIAGNOSTIC	# internal consistency checks
1621.2Slukem#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1631.1Sreinoudoptions 	DDB		# in-kernel debugger
1641.1Sreinoud#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1651.1Sreinoud#makeoptions	DEBUG="-g"	# compile full symbol table
1661.1Sreinoud
1671.1Sreinoudconfig		netbsd	root on ? type ?
1681.1Sreinoud
1691.1Sreinoud# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
1701.1Sreinoud# this really be fixed some day
1711.2Slukem#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
1721.1Sreinoud
1731.1Sreinoud# The main bus device
1741.1Sreinoudmainbus0 at root
1751.1Sreinoud
1761.35Swiz# The boot CPU
1771.1Sreinoudcpu0 at mainbus?
1781.1Sreinoud
1791.1Sreinoud# The IOMD
1801.1Sreinoudiomd0	at mainbus?
1811.1Sreinoud
1821.1Sreinoud# system clock via IOMD
1831.1Sreinoudclock*	at iomd?
1841.1Sreinoud
1851.1Sreinoud# IIC bus device
1861.28Sthorpejiomdiic* at iomd?
1871.28Sthorpejiic0 at iomdiic?
1881.1Sreinoud
1891.1Sreinoud# RTC device via IIC bus
1901.28Sthorpejpcfrtc*	at iic? addr 0x50
1911.1Sreinoud
1921.1Sreinoud# VIDC device
1931.1Sreinoudvidc0		at mainbus?
1941.1Sreinoud
1951.10Sreinoud# WSCONS
1961.10Sreinoud# ws console uses DUMB, SUN or VT100 terminal emulation
1971.10Sreinoud#options 	WSEMUL_NODUMB
1981.10Sreinoud#options 	WSEMUL_SUN
1991.73Sbjh21options 	WSEMUL_VT100
2001.10Sreinoud
2011.85Schrisoptions         WS_KERNEL_FG=WSCOL_GREEN
2021.85Schris
2031.10Sreinoud#options 	WSDISPLAY_COMPAT_RAWKBD
2041.85Schrisoptions		WSDISPLAY_COMPAT_USL
2051.85Schrisoptions		WSDISPLAY_SCROLLSUPPORT
2061.10Sreinoud
2071.73Sbjh21vidcvideo0	at vidc?		# wscons driver for VIDC
2081.73Sbjh21wsdisplay*	at vidcvideo? console ?	# display itself
2091.10Sreinoud
2101.36Sbjh21iomdkbc*	at iomd?		# IOMD keyboard/mouse interface
2111.36Sbjh21
2121.73Sbjh21pckbd*		at iomdkbc? slot ?	# PS/2 keyboard
2131.73Sbjh21options 	PCKBD_LAYOUT=KB_UK
2141.73Sbjh21wskbd*		at pckbd?
2151.36Sbjh21
2161.36Sbjh21pms*		at iomdkbc? slot ?	# PS/2 mouse
2171.36Sbjh21wsmouse*	at pms?
2181.36Sbjh21
2191.37Sbjh21qms*		at iomd?		# ws quadmouse driver
2201.37Sbjh21wsmouse*	at qms?			# wsmouse on ws quadmouse
2211.10Sreinoud
2221.36Sbjh21pseudo-device	wsmux
2231.10Sreinoud
2241.1Sreinoud# Peripheral IO Controller
2251.1Sreinoudpioc0	at mainbus? base 0x00210000
2261.1Sreinoud
2271.1Sreinoud# IDE disk controller
2281.1Sreinoudwdc0	at pioc? offset 0x01f0 irq 9
2291.31Slukem
2301.31Slukem# ATA (IDE) bus support
2311.31Slukematabus* at ata?
2321.29Sbouyer
2331.30Schristoswd*	at atabus? drive ?
2341.31Slukematapibus* at atapi?
2351.1Sreinoudcd*	at atapibus? drive ?
2361.1Sreinoudsd*	at atapibus? drive ?
2371.1Sreinoud
2381.1Sreinoud# Floppy disk controller
2391.2Slukemfdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
2401.2Slukemfd0	at fdc? drive ?
2411.1Sreinoud
2421.1Sreinoud# Serial ports
2431.2Slukemcom*	at pioc? offset 0x03f8 irq 10
2441.1Sreinoud
2451.1Sreinoud# Parallel ports
2461.33Sbjh21lpt*	at pioc? offset 0x0278 irq 0	# Old driver
2471.33Sbjh21#atppc*	at pioc? offset 0x0278 irq 0	# New driver
2481.33Sbjh21#ppbus*	at atppc?
2491.33Sbjh21#lpt*	at ppbus?		# Parallel printer
2501.33Sbjh21#plip*	at ppbus?		# Parallel line IP
2511.1Sreinoud
2521.1Sreinoud# Audio device
2531.1Sreinoudvidcaudio0	at vidc?
2541.1Sreinoudaudio*		at vidcaudio0
2551.1Sreinoud
2561.1Sreinoud# Podule bus device
2571.1Sreinoudpodulebus0	at root
2581.1Sreinoud
2591.77Sbjh21sec*	at podulebus?			# Acorn SCSI card
2601.77Sbjh21scsibus* at sec?
2611.1Sreinoud
2621.1Sreinoudcosc*	at podulebus?			# MCS Connect32 SCSI II card
2631.1Sreinoudscsibus* at cosc?
2641.1Sreinoud
2651.1Sreinoudptsc*	at podulebus?			# Power-Tec SCSI II card
2661.1Sreinoudscsibus* at ptsc?
2671.1Sreinoud
2681.18Sbjh21csc*	at podulebus?			# Cumana SCSI II card
2691.18Sbjh21scsibus* at csc?
2701.1Sreinoud
2711.1Sreinoudoak*	at podulebus?			# Oak SCSI I card
2721.1Sreinoudscsibus* at oak?
2731.1Sreinoud
2741.72Sskrllcsa*	at podulebus?			# Cumana SCSI I adapter
2751.1Sreinoudscsibus* at csa?
2761.1Sreinoud
2771.8Sreinoudhcsc*	at podulebus0 slot ?		# HCCS 8-bit SCSI interface
2781.1Sreinoudscsibus* at hcsc?
2791.1Sreinoud
2801.1Sreinoudsd*	at scsibus? target ? lun ?	# SCSI disk drives
2811.1Sreinoudst*	at scsibus? target ? lun ?	# SCSI tape drives
2821.1Sreinoudcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2831.1Sreinoudch*	at scsibus? target ? lun ?	# SCSI auto-changers
2841.1Sreinouduk*	at scsibus? target ? lun ?	# SCSI unknown device
2851.1Sreinoudss*	at scsibus? target ? lun ?	# SCSI scanner
2861.1Sreinoud
2871.1Sreinouddtide*	at podulebus?			# D.T. Software IDE card
2881.1Sreinoud
2891.1Sreinoudhcide*	at podulebus?			# HCCS IDE card
2901.1Sreinoud
2911.1Sreinoudicside*	at podulebus?			# ICS IDE card
2921.1Sreinoud
2931.1Sreinoudrapide*	at podulebus?			# Yellowstone RapIDE card
2941.1Sreinoud
2951.1Sreinoudsimide*	at podulebus?			# Simtec IDE card
2961.1Sreinoud
2971.1Sreinoudamps*	at podulebus?			# Atomwide Multi-Port Serial card
2981.1Sreinoudcom*	at amps?
2991.1Sreinoud
3001.77Sbjh21ei*	at podulebus?			# Ether1 podules
3011.1Sreinoudea*	at podulebus?			# Ether3 podules
3021.1Sreinoudeb0	at podulebus?			# EtherB network slot cards
3031.1Sreinoudne*	at podulebus?			# NE2000 clone cards
3041.1Sreinoud
3051.93Stsutsuipseudo-device	loop			# network loopback
3061.67Srpaulopseudo-device	bpfilter		# packet filter
3071.70Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
3081.68Scubepseudo-device	sl			# CSLIP
3091.68Scubepseudo-device	ppp			# PPP
3101.6Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3111.68Scubepseudo-device	tun			# network tunneling over tty
3121.47Scubepseudo-device	tap			# virtual Ethernet
3131.68Scube#pseudo-device	gre			# generic L3 over IP tunnel
3141.93Stsutsui#pseudo-device	ipfilter		# ip filter
3151.68Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3161.68Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3171.69Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3181.68Scube#pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)
3191.1Sreinoudpseudo-device	vlan			# IEEE 802.1q encapsulation
3201.3Satatatpseudo-device	bridge			# simple inter-network bridging
3211.25Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3221.79Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3231.1Sreinoudpseudo-device	pty			# pseudo-terminals
3241.68Scubepseudo-device	vnd			# disk-like interface to files
3251.56Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3261.1Sreinoudpseudo-device	ccd	2		# concatenated disk devices
3271.21Selric#pseudo-device	cgd	4		# cryptographic disk devices
3281.7Sosterpseudo-device	raid	8		# RAIDframe disk driver
3291.7Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
3301.7Soster# Options to enable various other RAIDframe RAID types.
3311.7Soster# options	RF_INCLUDE_EVENODD=1
3321.7Soster# options	RF_INCLUDE_RAID5_RS=1
3331.7Soster# options	RF_INCLUDE_PARITYLOGGING=1
3341.7Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
3351.7Soster# options	RF_INCLUDE_INTERDECLUSTER=1
3361.7Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3371.7Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3381.49Shannkenpseudo-device	fss	4		# file system snapshot device
3391.1Sreinoudpseudo-device	md	1		# Ramdisk driver
3401.1Sreinoudpseudo-device	rnd			# /dev/random and in-kernel generator
3411.17Slukempseudo-device	clockctl		# user control of clock subsystem
3421.26Sraggepseudo-device	ksyms			# /dev/ksyms
3431.40Sitojun#pseudo-device	pf			# PF packet filter
3441.40Sitojun#pseudo-device	pflog			# PF log if
3451.64Selad
3461.88Stls#
3471.88Stls# accept filters
3481.88Stlspseudo-device   accf_data		# "dataready" accept filter
3491.88Stlspseudo-device   accf_http		# "httpready" accept filter
3501.88Stls
3511.64Selad# Veriexec
3521.64Selad#
3531.64Selad# a pseudo device needed for veriexec
3541.64Selad#pseudo-device	veriexec		1
3551.64Selad#
3561.64Selad# Uncomment the fingerprint methods below that are desired. Note that
3571.64Selad# removing fingerprint methods will have almost no impact on the kernel
3581.64Selad# code size.
3591.64Selad#
3601.64Selad#options VERIFIED_EXEC_FP_RMD160
3611.64Selad#options VERIFIED_EXEC_FP_SHA256
3621.64Selad#options VERIFIED_EXEC_FP_SHA384
3631.64Selad#options VERIFIED_EXEC_FP_SHA512
3641.64Selad#options VERIFIED_EXEC_FP_SHA1
3651.64Selad#options VERIFIED_EXEC_FP_MD5
3661.74Sbjh21
3671.74Sbjh21# If the standard modes don't work for your monitor, you can specify
3681.74Sbjh21# a RISC-OS-format monitor definition file and a list of modes here.
3691.74Sbjh21
3701.74Sbjh21#makeoptions	MONITOR="Taxan875+LR"
3711.74Sbjh21#makeoptions	MONITOR="AKF60"
3721.74Sbjh21#makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
373