GENERIC revision 1.63
11.63Stsutsui# 	$NetBSD: GENERIC,v 1.63 2005/12/07 09:10:11 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.63Stsutsui#ident		"GENERIC-$Revision: 1.63 $"
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.61Sjmmv#file-system	TMPFS		# experimental - Efficient memory file-system
691.1Sreinoud
701.1Sreinoud# File system options
711.1Sreinoudoptions 	QUOTA		# UFS quotas
721.1Sreinoud#options 	FFS_EI		# FFS Endian Independant support
731.2Slukemoptions 	SOFTDEP		# FFS soft updates support.
741.48Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
751.1Sreinoudoptions 	NFSSERVER
761.63Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
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_ESP	# IP security (encryption part; define w/IPSEC)
851.55Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
861.1Sreinoud#options 	IPSEC_DEBUG	# debug for IP security
871.1Sreinoud#options 	MROUTING	# IP multicast routing
881.44Smanu#options 	PIM		# Protocol Independent Multicast
891.1Sreinoudoptions 	NS		# XNS
901.1Sreinoud#options 	NSIP		# XNS tunneling over IP
911.1Sreinoudoptions 	ISO,TPIP	# OSI
921.1Sreinoud#options 	EON		# OSI tunneling over IP
931.1Sreinoudoptions 	CCITT,LLC,HDLC	# X.25
941.1Sreinoudoptions 	NETATALK	# AppleTalk networking
951.1Sreinoudoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
961.1Sreinoudoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
971.1Sreinoudoptions 	PPP_DEFLATE	# Deflate compression support for PPP
981.1Sreinoudoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
991.1Sreinoud#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1001.1Sreinoud
1011.41Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1021.41Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1031.41Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1041.41Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1051.41Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1061.41Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1071.41Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1081.41Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1091.41Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1101.41Sabs#options 	ALTQ_RED	# Random Early Detection
1111.41Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1121.41Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1131.41Sabs
1141.1Sreinoud# Compatibility options
1151.1Sreinoud
1161.1Sreinoudoptions 	COMPAT_43	# 4.3BSD 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.2Slukem#options 	SEMMNI=10	# number of semaphore identifiers
1351.2Slukem#options 	SEMMNS=60	# number of semaphores in system
1361.2Slukem#options 	SEMUME=10	# max number of undo entries per process
1371.2Slukem#options 	SEMMNU=30	# number of undo structures in system
1381.1Sreinoudoptions 	SYSVSHM		# System V-like memory sharing
1391.1Sreinoudoptions 	SHMMAXPGS=1024	# 1024 pages is the default
1401.42Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
1411.1Sreinoud
1421.1Sreinoud# Device options
1431.1Sreinoud
1441.1Sreinoudoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1451.13Slukem#options 	MEMORY_DISK_ROOT_SIZE=4100	# Size in blocks
1461.1Sreinoud#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1471.1Sreinoud
1481.1Sreinoud# Miscellaneous kernel options
1491.1Sreinoudoptions 	KTRACE		# system call tracing, a la ktrace(1)
1501.20Sprovosoptions 	SYSTRACE	# system call vetting via systrace(1)
1511.1Sreinoudoptions 	IRQSTATS	# manage IRQ statistics
1521.1Sreinoudoptions 	LKM		# loadable kernel modules
1531.1Sreinoudoptions 	KMEMSTATS	# kernel memory statistics
1541.1Sreinoud#options 	SCSIVERBOSE	# Verbose SCSI errors
1551.19Slukemoptions 	USERCONF	# userconf(4) support
1561.9Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1571.43Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1581.23Sjunyoung
1591.24Swiz# Enable experimental buffer queue strategy for better responsiveness under 
1601.23Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
1611.53Stsutsui#options 	BUFQ_READPRIO
1621.53Stsutsui#options 	BUFQ_PRIOCSCAN
1631.1Sreinoud
1641.1Sreinoud# Development and Debugging options
1651.1Sreinoud
1661.1Sreinoud#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1671.1Sreinoud#options 	PORTMASTER	# Enable PortMaster only options
1681.62Schs#options 	DIAGNOSTIC	# internal consistency checks
1691.2Slukem#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1701.1Sreinoud#options 	IPKDB		# remote kernel debugging
1711.1Sreinoudoptions 	DDB		# in-kernel debugger
1721.1Sreinoud#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1731.1Sreinoud#makeoptions	DEBUG="-g"	# compile full symbol table
1741.1Sreinoud
1751.1Sreinoudconfig		netbsd	root on ? type ?
1761.1Sreinoud
1771.1Sreinoud# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
1781.1Sreinoud# this really be fixed some day
1791.2Slukem#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
1801.1Sreinoud
1811.1Sreinoud# The main bus device
1821.1Sreinoudmainbus0 at root
1831.1Sreinoud
1841.35Swiz# The boot CPU
1851.1Sreinoudcpu0 at mainbus?
1861.1Sreinoud
1871.1Sreinoud# The IOMD
1881.1Sreinoudiomd0	at mainbus?
1891.1Sreinoud
1901.1Sreinoud# system clock via IOMD
1911.1Sreinoudclock*	at iomd?
1921.1Sreinoud
1931.1Sreinoud# IIC bus device
1941.28Sthorpejiomdiic* at iomd?
1951.28Sthorpejiic0 at iomdiic?
1961.1Sreinoud
1971.1Sreinoud# RTC device via IIC bus
1981.28Sthorpejpcfrtc*	at iic? addr 0x50
1991.1Sreinoud
2001.1Sreinoud# VIDC device
2011.1Sreinoudvidc0		at mainbus?
2021.1Sreinoud
2031.10Sreinoud# WSCONS
2041.10Sreinoud# ws console uses DUMB, SUN or VT100 terminal emulation
2051.10Sreinoud#options 	WSEMUL_NODUMB
2061.10Sreinoud#options 	WSEMUL_SUN
2071.10Sreinoud#options 	WSEMUL_VT100
2081.10Sreinoud
2091.10Sreinoud#options 	WSDISPLAY_COMPAT_RAWKBD
2101.10Sreinoud
2111.10Sreinoud#options 	FONT_BOLD8x16
2121.10Sreinoud#options 	FONT_GALLANT12x22	# Very nice font
2131.10Sreinoud#options 	FONT_LUCIDA16x29
2141.10Sreinoud#options 	FONT_OMRON12x20		# looks funny
2151.10Sreinoud#options 	FONT_QVSS8x15		# broken ?
2161.10Sreinoud#options 	FONT_SONY12x25		# looks like VT220 font
2171.10Sreinoud#options 	FONT_SONY8x16		# not tested
2181.10Sreinoud#options 	FONT_VT220L8x8		# 8x8 font as in Arch. cons
2191.10Sreinoud#options 	FONT_VT220L8x16		# 8x(2x8) font as in Arch. cons
2201.10Sreinoud#options 	FONT_VT220L8x10		# not tested
2211.10Sreinoud#options 	FONT_VT220L8x20		# not tested
2221.10Sreinoud
2231.10Sreinoud#vidcvideo0	at vidc?		# wscons driver for VIDC
2241.10Sreinoud#wsdisplay*	at vidcvideo? console ?	# display itself
2251.10Sreinoud
2261.36Sbjh21iomdkbc*	at iomd?		# IOMD keyboard/mouse interface
2271.36Sbjh21
2281.36Sbjh21#pckbd*		at iomdkbc? slot ?	# PS/2 keyboard
2291.36Sbjh21#options 	PCKBD_LAYOUT=KB_UK
2301.36Sbjh21#wskbd*		at pckbd?
2311.36Sbjh21
2321.36Sbjh21pms*		at iomdkbc? slot ?	# PS/2 mouse
2331.36Sbjh21wsmouse*	at pms?
2341.36Sbjh21
2351.10Sreinoud#rpckbd*	at iomd?		# based on old `kbd' driver
2361.10Sreinoud#wskbd*		at rpckbd?		# wskbd on RiscPC keyboard
2371.10Sreinoud
2381.37Sbjh21qms*		at iomd?		# ws quadmouse driver
2391.37Sbjh21wsmouse*	at qms?			# wsmouse on ws quadmouse
2401.10Sreinoud
2411.36Sbjh21pseudo-device	wsmux
2421.10Sreinoud
2431.10Sreinoud# The origional vidcconsole :
2441.10Sreinoud# vidcconsole kbd at IOMD
2451.10Sreinoud# vidcconsole PS2 mouse at IOMD
2461.10Sreinoudvidcconsole0	at vidc?		# display + vt100 emulation
2471.10Sreinoudkbd*		at iomd?		# PS/2 keyboard for vidcconsole
2481.1Sreinoud
2491.1Sreinoud# generic VT console device
2501.2Slukemvt0	at vidc?
2511.2Slukemvt1	at vidc?
2521.2Slukemvt2	at vidc?
2531.2Slukemvt3	at vidc?
2541.2Slukemvt4	at vidc?
2551.2Slukemvt5	at vidc?
2561.1Sreinoud
2571.1Sreinoud# Peripheral IO Controller
2581.1Sreinoudpioc0	at mainbus? base 0x00210000
2591.1Sreinoud
2601.1Sreinoud# IDE disk controller
2611.1Sreinoudwdc0	at pioc? offset 0x01f0 irq 9
2621.31Slukem
2631.31Slukem# ATA (IDE) bus support
2641.31Slukematabus* at ata?
2651.29Sbouyer
2661.30Schristoswd*	at atabus? drive ?
2671.31Slukematapibus* at atapi?
2681.1Sreinoudcd*	at atapibus? drive ?
2691.1Sreinoudsd*	at atapibus? drive ?
2701.1Sreinoud
2711.1Sreinoud# Floppy disk controller
2721.2Slukemfdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
2731.2Slukemfd0	at fdc? drive ?
2741.1Sreinoud
2751.1Sreinoud# Serial ports
2761.2Slukemcom*	at pioc? offset 0x03f8 irq 10
2771.1Sreinoud
2781.1Sreinoud# Parallel ports
2791.33Sbjh21lpt*	at pioc? offset 0x0278 irq 0	# Old driver
2801.33Sbjh21#atppc*	at pioc? offset 0x0278 irq 0	# New driver
2811.33Sbjh21#ppbus*	at atppc?
2821.33Sbjh21#lpt*	at ppbus?		# Parallel printer
2831.33Sbjh21#plip*	at ppbus?		# Parallel line IP
2841.1Sreinoud
2851.1Sreinoud# Audio device
2861.1Sreinoudvidcaudio0	at vidc?
2871.1Sreinoudaudio*		at vidcaudio0
2881.1Sreinoud
2891.1Sreinoud# Podule bus device
2901.1Sreinoudpodulebus0	at root
2911.1Sreinoud
2921.1Sreinoudasc*	at podulebus?			# Acorn SCSI card
2931.1Sreinoudscsibus* at asc?
2941.1Sreinoud
2951.1Sreinoudcosc*	at podulebus?			# MCS Connect32 SCSI II card
2961.1Sreinoudscsibus* at cosc?
2971.1Sreinoud
2981.1Sreinoudptsc*	at podulebus?			# Power-Tec SCSI II card
2991.1Sreinoudscsibus* at ptsc?
3001.1Sreinoud
3011.18Sbjh21csc*	at podulebus?			# Cumana SCSI II card
3021.18Sbjh21scsibus* at csc?
3031.1Sreinoud
3041.1Sreinoudoak*	at podulebus?			# Oak SCSI I card
3051.1Sreinoudscsibus* at oak?
3061.1Sreinoud
3071.1Sreinoudcsa*	at podulebus?			# Cumana SCSI I adpater
3081.1Sreinoudscsibus* at csa?
3091.1Sreinoud
3101.8Sreinoudhcsc*	at podulebus0 slot ?		# HCCS 8-bit SCSI interface
3111.1Sreinoudscsibus* at hcsc?
3121.1Sreinoud
3131.1Sreinoudsd*	at scsibus? target ? lun ?	# SCSI disk drives
3141.1Sreinoudst*	at scsibus? target ? lun ?	# SCSI tape drives
3151.1Sreinoudcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3161.1Sreinoudch*	at scsibus? target ? lun ?	# SCSI auto-changers
3171.1Sreinouduk*	at scsibus? target ? lun ?	# SCSI unknown device
3181.1Sreinoudss*	at scsibus? target ? lun ?	# SCSI scanner
3191.1Sreinoud
3201.1Sreinouddtide*	at podulebus?			# D.T. Software IDE card
3211.1Sreinoud
3221.1Sreinoudhcide*	at podulebus?			# HCCS IDE card
3231.1Sreinoud
3241.1Sreinoudicside*	at podulebus?			# ICS IDE card
3251.1Sreinoud
3261.1Sreinoudrapide*	at podulebus?			# Yellowstone RapIDE card
3271.1Sreinoud
3281.1Sreinoudsimide*	at podulebus?			# Simtec IDE card
3291.1Sreinoud
3301.1Sreinoudamps*	at podulebus?			# Atomwide Multi-Port Serial card
3311.1Sreinoudcom*	at amps?
3321.1Sreinoud
3331.1Sreinoudie*	at podulebus?			# Ether1 podules
3341.1Sreinoudea*	at podulebus?			# Ether3 podules
3351.1Sreinoudeb0	at podulebus?			# EtherB network slot cards
3361.1Sreinoudne*	at podulebus?			# NE2000 clone cards
3371.1Sreinoud
3381.2Slukempseudo-device	loop	1		# network loopback
3391.2Slukempseudo-device	bpfilter 8		# packet filter
3401.2Slukempseudo-device	sl	2		# CSLIP
3411.1Sreinoudpseudo-device	ppp	2		# PPP
3421.6Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3431.1Sreinoudpseudo-device	tun	2		# network tunneling over tty
3441.47Scubepseudo-device	tap			# virtual Ethernet
3451.8Sreinoud#pseudo-device	gre	2		# generic L3 over IP tunnel
3461.1Sreinoud#pseudo-device	ipfilter 1		# ip filter
3471.1Sreinoudpseudo-device	gif	4		# IPv[46] over IPv[46] tunnel (RFC1933)
3481.1Sreinoud#pseudo-device	faith	1		# IPv[46] tcp relay translation i/f
3491.1Sreinoud#pseudo-device	stf	1		# 6to4 IPv6 over IPv4 encapsulation
3501.1Sreinoud#pseudo-device	strip	4		# STarmode Radio IP (Metricon Ricochet)
3511.1Sreinoudpseudo-device	vlan			# IEEE 802.1q encapsulation
3521.3Satatatpseudo-device	bridge			# simple inter-network bridging
3531.25Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3541.1Sreinoudpseudo-device	pty			# pseudo-terminals
3551.1Sreinoudpseudo-device	tb	1		# tablet line discipline
3561.2Slukempseudo-device	vnd	4		# disk-like interface to files
3571.56Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3581.1Sreinoudpseudo-device	ccd	2		# concatenated disk devices
3591.21Selric#pseudo-device	cgd	4		# cryptographic disk devices
3601.7Sosterpseudo-device	raid	8		# RAIDframe disk driver
3611.7Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
3621.7Soster# Options to enable various other RAIDframe RAID types.
3631.7Soster# options	RF_INCLUDE_EVENODD=1
3641.7Soster# options	RF_INCLUDE_RAID5_RS=1
3651.7Soster# options	RF_INCLUDE_PARITYLOGGING=1
3661.7Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
3671.7Soster# options	RF_INCLUDE_INTERDECLUSTER=1
3681.7Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3691.7Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3701.49Shannkenpseudo-device	fss	4		# file system snapshot device
3711.1Sreinoudpseudo-device	md	1		# Ramdisk driver
3721.1Sreinoudpseudo-device	rnd			# /dev/random and in-kernel generator
3731.17Slukempseudo-device	clockctl		# user control of clock subsystem
3741.1Sreinoud
3751.2Slukemmakeoptions	MONITOR="Taxan875+LR"
3761.2Slukem#makeoptions	MONITOR="AKF60"
3771.2Slukemmakeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
3781.26Sraggepseudo-device	ksyms			# /dev/ksyms
3791.40Sitojun#pseudo-device	pf			# PF packet filter
3801.40Sitojun#pseudo-device	pflog			# PF log if
381