GENERIC revision 1.22
11.22Sjunyoung# 	$NetBSD: GENERIC,v 1.22 2002/10/18 15:11:09 junyoung 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.22Sjunyoung#ident		"GENERIC-$Revision: 1.22 $"
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.22Sjunyoung# Enable experimental buffer queue strategy for better responsiness under 
361.22Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
371.22Sjunyoung#options 	NEW_BUFQ_STRATEGY
381.1Sreinoud
391.1Sreinoud# CPU options
401.1Sreinoudoptions 	CPU_SA110	# Support the SA110 core
411.1Sreinoudoptions 	CPU_ARM6	# Support the ARM6 core
421.1Sreinoudoptions 	CPU_ARM7	# Support the ARM7 core
431.10Sreinoud#options 	CPU_ARM8	# Support the ARM8 core
441.1Sreinoud#options 	ARM6_LATE_ABORT	# ARM6XX late abort support
451.1Sreinoud
461.10Sreinoud# For StrongARM only kernels
471.10Sreinoud#makeoptions	COPTS="-O2 -march=armv3m -mtune=strongarm"
481.1Sreinoud
491.1Sreinoud# FPA options
501.1Sreinoud#options 	ARMFPE		# ARM Ltd FPE
511.1Sreinoud
521.1Sreinoud# File systems
531.1Sreinoud
541.1Sreinoudfile-system	FFS		# UFS
551.1Sreinoud#file-system	LFS		# log-structured file system
561.1Sreinoudfile-system	MFS		# memory file system
571.1Sreinoudfile-system	NFS		# Network file system
581.1Sreinoudfile-system 	ADOSFS		# AmigaDOS-compatible file system
591.1Sreinoudfile-system 	EXT2FS		# second extended file system (linux)
601.1Sreinoudfile-system	CD9660		# ISO 9660 + Rock Ridge file system
611.1Sreinoudfile-system	MSDOSFS		# MS-DOS file system
621.1Sreinoudfile-system	FDESC		# /dev/fd
631.1Sreinoudfile-system	FILECORE	# Acorn filecore file system
641.1Sreinoudfile-system	KERNFS		# /kern
651.1Sreinoudfile-system	NULLFS		# loopback file system
661.1Sreinoudfile-system 	OVERLAY		# overlay filesystem
671.1Sreinoudfile-system	PORTAL		# portal filesystem (still experimental)
681.1Sreinoudfile-system	PROCFS		# /proc
691.1Sreinoudfile-system	UMAPFS		# NULLFS + uid and gid remapping
701.1Sreinoudfile-system	UNION		# union file system
711.1Sreinoud
721.1Sreinoud# File system options
731.1Sreinoudoptions 	QUOTA		# UFS quotas
741.1Sreinoud#options 	FFS_EI		# FFS Endian Independant support
751.2Slukemoptions 	SOFTDEP		# FFS soft updates support.
761.1Sreinoudoptions 	NFSSERVER
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.1Sreinoud#options 	IPSEC_DEBUG	# debug for IP security
861.1Sreinoud#options 	MROUTING	# IP multicast routing
871.1Sreinoudoptions 	NS		# XNS
881.1Sreinoud#options 	NSIP		# XNS tunneling over IP
891.1Sreinoudoptions 	ISO,TPIP	# OSI
901.1Sreinoud#options 	EON		# OSI tunneling over IP
911.1Sreinoudoptions 	CCITT,LLC,HDLC	# X.25
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.1Sreinoud# Compatibility options
1001.1Sreinoud
1011.1Sreinoudoptions 	COMPAT_43	# 4.3BSD compatibility.
1021.8Sreinoudoptions		COMPAT_15	# NetBSD 1.5 compatibility.
1031.1Sreinoudoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
1041.1Sreinoudoptions 	COMPAT_13	# NetBSD 1.3 compatibility.
1051.1Sreinoudoptions 	COMPAT_12	# NetBSD 1.2 compatibility.
1061.1Sreinoud#options 	COMPAT_11	# NetBSD 1.1 compatibility.
1071.1Sreinoud#options 	COMPAT_10	# NetBSD 1.0 compatibility.
1081.1Sreinoud#options 	COMPAT_09	# NetBSD 0.9 compatibility.
1091.8Sreinoud#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1101.1Sreinoud
1111.1Sreinoud# Shared memory options
1121.1Sreinoud
1131.1Sreinoudoptions 	SYSVMSG		# System V-like message queues
1141.1Sreinoudoptions 	SYSVSEM		# System V-like semaphores
1151.2Slukem#options 	SEMMNI=10	# number of semaphore identifiers
1161.2Slukem#options 	SEMMNS=60	# number of semaphores in system
1171.2Slukem#options 	SEMUME=10	# max number of undo entries per process
1181.2Slukem#options 	SEMMNU=30	# number of undo structures in system
1191.1Sreinoudoptions 	SYSVSHM		# System V-like memory sharing
1201.1Sreinoudoptions 	SHMMAXPGS=1024	# 1024 pages is the default
1211.1Sreinoud
1221.1Sreinoud# Device options
1231.1Sreinoud
1241.1Sreinoudoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1251.13Slukem#options 	MEMORY_DISK_ROOT_SIZE=4100	# Size in blocks
1261.1Sreinoud#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1271.1Sreinoud
1281.1Sreinoud# Miscellaneous kernel options
1291.1Sreinoudoptions 	KTRACE		# system call tracing, a la ktrace(1)
1301.20Sprovosoptions 	SYSTRACE	# system call vetting via systrace(1)
1311.1Sreinoudoptions 	IRQSTATS	# manage IRQ statistics
1321.1Sreinoudoptions 	LKM		# loadable kernel modules
1331.1Sreinoudoptions 	KMEMSTATS	# kernel memory statistics
1341.1Sreinoud#options 	SCSIVERBOSE	# Verbose SCSI errors
1351.19Slukemoptions 	USERCONF	# userconf(4) support
1361.9Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1371.1Sreinoud
1381.1Sreinoud# Development and Debugging options
1391.1Sreinoud
1401.1Sreinoud#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1411.1Sreinoud#options 	PORTMASTER	# Enable PortMaster only options
1421.1Sreinoudoptions 	DIAGNOSTIC	# internal consistency checks
1431.2Slukem#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1441.1Sreinoud#options 	IPKDB		# remote kernel debugging
1451.1Sreinoudoptions 	DDB		# in-kernel debugger
1461.1Sreinoud#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1471.1Sreinoud#makeoptions	DEBUG="-g"	# compile full symbol table
1481.1Sreinoud
1491.1Sreinoudconfig		netbsd	root on ? type ?
1501.1Sreinoud
1511.1Sreinoud# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
1521.1Sreinoud# this really be fixed some day
1531.2Slukem#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
1541.1Sreinoud
1551.1Sreinoud# The main bus device
1561.1Sreinoudmainbus0 at root
1571.1Sreinoud
1581.1Sreinoud# The boot cpu
1591.1Sreinoudcpu0 at mainbus?
1601.1Sreinoud
1611.1Sreinoud# The IOMD
1621.1Sreinoudiomd0	at mainbus?
1631.1Sreinoud
1641.1Sreinoud# system clock via IOMD
1651.1Sreinoudclock*	at iomd?
1661.1Sreinoud
1671.1Sreinoud# IIC bus device
1681.1Sreinoudiic*	at iomd?
1691.1Sreinoud
1701.1Sreinoud# RTC device via IIC bus
1711.1Sreinoudrtc*	at iic? addr 0xa0
1721.1Sreinoud
1731.1Sreinoud# time-of-day device via rtc device
1741.1Sreinoudtodclock0	at rtc?
1751.1Sreinoud
1761.1Sreinoud# VIDC device
1771.1Sreinoudvidc0		at mainbus?
1781.1Sreinoud
1791.10Sreinoud# WSCONS
1801.10Sreinoud# ws console uses DUMB, SUN or VT100 terminal emulation
1811.10Sreinoud#options 	WSEMUL_NODUMB
1821.10Sreinoud#options 	WSEMUL_SUN
1831.10Sreinoud#options 	WSEMUL_VT100
1841.10Sreinoud
1851.10Sreinoud#options 	WSDISPLAY_COMPAT_RAWKBD
1861.10Sreinoud
1871.10Sreinoud#options 	FONT_BOLD8x16
1881.10Sreinoud#options 	FONT_GALLANT12x22	# Very nice font
1891.10Sreinoud#options 	FONT_LUCIDA16x29
1901.10Sreinoud#options 	FONT_OMRON12x20		# looks funny
1911.10Sreinoud#options 	FONT_QVSS8x15		# broken ?
1921.10Sreinoud#options 	FONT_SONY12x25		# looks like VT220 font
1931.10Sreinoud#options 	FONT_SONY8x16		# not tested
1941.10Sreinoud#options 	FONT_VT220L8x8		# 8x8 font as in Arch. cons
1951.10Sreinoud#options 	FONT_VT220L8x16		# 8x(2x8) font as in Arch. cons
1961.10Sreinoud#options 	FONT_VT220L8x10		# not tested
1971.10Sreinoud#options 	FONT_VT220L8x20		# not tested
1981.10Sreinoud
1991.10Sreinoud#vidcvideo0	at vidc?		# wscons driver for VIDC
2001.10Sreinoud#wsdisplay*	at vidcvideo? console ?	# display itself
2011.10Sreinoud
2021.10Sreinoud#rpckbd*	at iomd?		# based on old `kbd' driver
2031.10Sreinoud#wskbd*		at rpckbd?		# wskbd on RiscPC keyboard
2041.10Sreinoud
2051.10Sreinoud#wsqms*		at iomd?		# ws quadmouse driver
2061.10Sreinoud#wsmouse*	at wsqms?		# wsmouse on ws quadmouse
2071.10Sreinoud
2081.10Sreinoud#pseudo-device	wsmux
2091.10Sreinoud
2101.10Sreinoud# The origional vidcconsole :
2111.10Sreinoud# vidcconsole kbd at IOMD
2121.10Sreinoud# vidcconsole PS2 mouse at IOMD
2131.10Sreinoudvidcconsole0	at vidc?		# display + vt100 emulation
2141.10Sreinoudkbd*		at iomd?		# PS/2 keyboard for vidcconsole
2151.10Sreinoudqms*		at iomd?		# RiscPC mouse for vidcconsole
2161.10Sreinoudopms*		at iomd?		# A7000/NC? mouse for vidcconsole
2171.1Sreinoud
2181.1Sreinoud# generic VT console device
2191.2Slukemvt0	at vidc?
2201.2Slukemvt1	at vidc?
2211.2Slukemvt2	at vidc?
2221.2Slukemvt3	at vidc?
2231.2Slukemvt4	at vidc?
2241.2Slukemvt5	at vidc?
2251.1Sreinoud
2261.1Sreinoud# Peripheral IO Controller
2271.1Sreinoudpioc0	at mainbus? base 0x00210000
2281.1Sreinoud
2291.1Sreinoud# IDE disk controller
2301.1Sreinoudwdc0	at pioc? offset 0x01f0 irq 9
2311.1Sreinoud#wdc*	at pioc? offset 0x0170 irq -1
2321.1Sreinoudwd*	at wdc? channel ? drive ?
2331.1Sreinoudatapibus* at wdc? channel ?
2341.1Sreinoudcd*	at atapibus? drive ?
2351.1Sreinoudsd*	at atapibus? drive ?
2361.1Sreinoud
2371.1Sreinoud# Floppy disk controller
2381.2Slukemfdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
2391.2Slukemfdc*	at pioc? offset 0x0370 irq -1 dack 0x2000
2401.2Slukemfd0	at fdc? drive ?
2411.1Sreinoud
2421.1Sreinoud# Serial ports
2431.2Slukemcom*	at pioc? offset 0x03f8 irq 10
2441.2Slukem#com*	at pioc? offset 0x02f8 irq -1
2451.2Slukem#com*	at pioc? offset 0x0338 irq -1
2461.2Slukem#com*	at pioc? offset 0x0238 irq -1
2471.1Sreinoud
2481.1Sreinoud# Parallel ports
2491.2Slukemlpt*	at pioc? offset 0x0278 irq 0
2501.2Slukem#lpt*	at pioc? offset 0x0378 irq -1
2511.2Slukem#lpt*	at pioc? offset 0x03bc irq -1
2521.1Sreinoud
2531.1Sreinoud# Crude sound device
2541.1Sreinoudbeep0	at vidc?
2551.1Sreinoud
2561.1Sreinoud# Audio device
2571.1Sreinoudvidcaudio0	at vidc?
2581.1Sreinoudaudio*		at vidcaudio0
2591.1Sreinoud
2601.1Sreinoud# System beep
2611.1Sreinoudsysbeep0	at vidc?
2621.1Sreinoud
2631.1Sreinoud# Podule bus device
2641.1Sreinoudpodulebus0	at root
2651.1Sreinoud
2661.1Sreinoudasc*	at podulebus?			# Acorn SCSI card
2671.1Sreinoudscsibus* at asc?
2681.1Sreinoud
2691.1Sreinoudcosc*	at podulebus?			# MCS Connect32 SCSI II card
2701.1Sreinoudscsibus* at cosc?
2711.1Sreinoud
2721.1Sreinoudptsc*	at podulebus?			# Power-Tec SCSI II card
2731.1Sreinoudscsibus* at ptsc?
2741.1Sreinoud
2751.18Sbjh21csc*	at podulebus?			# Cumana SCSI II card
2761.18Sbjh21scsibus* at csc?
2771.1Sreinoud
2781.1Sreinoudoak*	at podulebus?			# Oak SCSI I card
2791.1Sreinoudscsibus* at oak?
2801.1Sreinoud
2811.1Sreinoudcsa*	at podulebus?			# Cumana SCSI I adpater
2821.1Sreinoudscsibus* at csa?
2831.1Sreinoud
2841.8Sreinoudhcsc*	at podulebus0 slot ?		# HCCS 8-bit SCSI interface
2851.1Sreinoudscsibus* at hcsc?
2861.1Sreinoud
2871.1Sreinoudsd*	at scsibus? target ? lun ?	# SCSI disk drives
2881.1Sreinoudst*	at scsibus? target ? lun ?	# SCSI tape drives
2891.1Sreinoudcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2901.1Sreinoudch*	at scsibus? target ? lun ?	# SCSI auto-changers
2911.1Sreinouduk*	at scsibus? target ? lun ?	# SCSI unknown device
2921.1Sreinoudss*	at scsibus? target ? lun ?	# SCSI scanner
2931.1Sreinoud
2941.1Sreinouddtide*	at podulebus?			# D.T. Software IDE card
2951.1Sreinoudwd*	at dtide? channel ? drive ?
2961.1Sreinoudatapibus* at dtide? channel ?
2971.1Sreinoud
2981.1Sreinoudhcide*	at podulebus?			# HCCS IDE card
2991.1Sreinoudwd*	at hcide? channel ? drive ?
3001.1Sreinoudatapibus* at hcide? channel ?
3011.1Sreinoud
3021.1Sreinoudicside*	at podulebus?			# ICS IDE card
3031.1Sreinoudwd*	at icside? channel ? drive ?
3041.1Sreinoudatapibus* at icside? channel ?
3051.1Sreinoud
3061.1Sreinoudrapide*	at podulebus?			# Yellowstone RapIDE card
3071.1Sreinoudwd*	at rapide? channel ? drive ?
3081.1Sreinoudatapibus* at rapide? channel ?
3091.1Sreinoud
3101.1Sreinoudsimide*	at podulebus?			# Simtec IDE card
3111.1Sreinoudwd*	at simide? channel ? drive ?
3121.1Sreinoudatapibus* at simide? channel ?
3131.1Sreinoud
3141.1Sreinoudamps*	at podulebus?			# Atomwide Multi-Port Serial card
3151.1Sreinoudcom*	at amps?
3161.1Sreinoud
3171.1Sreinoudie*	at podulebus?			# Ether1 podules
3181.1Sreinoudea*	at podulebus?			# Ether3 podules
3191.1Sreinoudeb0	at podulebus?			# EtherB network slot cards
3201.1Sreinoudne*	at podulebus?			# NE2000 clone cards
3211.1Sreinoud
3221.2Slukempseudo-device	loop	1		# network loopback
3231.2Slukempseudo-device	bpfilter 8		# packet filter
3241.2Slukempseudo-device	sl	2		# CSLIP
3251.1Sreinoudpseudo-device	ppp	2		# PPP
3261.6Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3271.1Sreinoudpseudo-device	tun	2		# network tunneling over tty
3281.8Sreinoud#pseudo-device	gre	2		# generic L3 over IP tunnel
3291.1Sreinoud#pseudo-device	ipfilter 1		# ip filter
3301.1Sreinoudpseudo-device	gif	4		# IPv[46] over IPv[46] tunnel (RFC1933)
3311.1Sreinoud#pseudo-device	faith	1		# IPv[46] tcp relay translation i/f
3321.1Sreinoud#pseudo-device	stf	1		# 6to4 IPv6 over IPv4 encapsulation
3331.1Sreinoud#pseudo-device	strip	4		# STarmode Radio IP (Metricon Ricochet)
3341.1Sreinoudpseudo-device	vlan			# IEEE 802.1q encapsulation
3351.3Satatatpseudo-device	bridge			# simple inter-network bridging
3361.1Sreinoudpseudo-device	pty			# pseudo-terminals
3371.1Sreinoudpseudo-device	tb	1		# tablet line discipline
3381.2Slukempseudo-device	vnd	4		# disk-like interface to files
3391.1Sreinoudpseudo-device	ccd	2		# concatenated disk devices
3401.21Selric#pseudo-device	cgd	4		# cryptographic disk devices
3411.7Sosterpseudo-device	raid	8		# RAIDframe disk driver
3421.7Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
3431.7Soster# Options to enable various other RAIDframe RAID types.
3441.7Soster# options	RF_INCLUDE_EVENODD=1
3451.7Soster# options	RF_INCLUDE_RAID5_RS=1
3461.7Soster# options	RF_INCLUDE_PARITYLOGGING=1
3471.7Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
3481.7Soster# options	RF_INCLUDE_INTERDECLUSTER=1
3491.7Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3501.7Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3511.1Sreinoudpseudo-device	md	1		# Ramdisk driver
3521.1Sreinoudpseudo-device	rnd			# /dev/random and in-kernel generator
3531.17Slukempseudo-device	clockctl		# user control of clock subsystem
3541.1Sreinoud
3551.2Slukemmakeoptions	MONITOR="Taxan875+LR"
3561.2Slukem#makeoptions	MONITOR="AKF60"
3571.2Slukemmakeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
358