11.137Sabs# 	$NetBSD: GENERIC,v 1.137 2023/02/12 14:50:37 abs 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.123Smrginclude 	"arch/acorn32/conf/std.acorn32"
221.1Sreinoud
231.16Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.16Satatat
251.137Sabs#ident		"GENERIC-$Revision: 1.137 $"
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.133Smrg#makeoptions	COPTS="-O2 -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.135Ssimonb#options 	FFS_EI		# FFS Endian Independent support
701.135Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
711.98Sbouyeroptions 	QUOTA		# legacy UFS quotas
721.98Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
731.135Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
741.135Ssimonboptions 	UFS_EXTATTR	# Extended attribute support for UFS1
751.101Sdhollandoptions 	WAPBL		# File system journaling support
761.135Ssimonboptions 	NFSSERVER	# Network File System server
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.123Smrginclude 	"conf/compat_netbsd12.config"
1091.123Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
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.1Sreinoudoptions 	SYSVSHM		# System V-like memory sharing
1161.1Sreinoud
1171.1Sreinoud# Device options
1181.1Sreinoud
1191.1Sreinoudoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1201.13Slukem#options 	MEMORY_DISK_ROOT_SIZE=4100	# Size in blocks
1211.1Sreinoud#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1221.1Sreinoud
1231.1Sreinoud# Miscellaneous kernel options
1241.1Sreinoudoptions 	KTRACE		# system call tracing, a la ktrace(1)
1251.1Sreinoudoptions 	IRQSTATS	# manage IRQ statistics
1261.1Sreinoud#options 	SCSIVERBOSE	# Verbose SCSI errors
1271.19Slukemoptions 	USERCONF	# userconf(4) support
1281.9Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1291.43Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1301.23Sjunyoung
1311.124Ssevan# Alternate buffer queue strategies for better responsiveness under high
1321.124Ssevan# disk I/O load.
1331.53Stsutsui#options 	BUFQ_READPRIO
1341.129Ssevanoptions 	BUFQ_PRIOCSCAN
1351.1Sreinoud
1361.1Sreinoud# Development and Debugging options
1371.1Sreinoud
1381.1Sreinoud#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1391.1Sreinoud#options 	PORTMASTER	# Enable PortMaster only options
1401.62Schs#options 	DIAGNOSTIC	# internal consistency checks
1411.131Sskrll#options 	UVMHIST		#
1421.1Sreinoudoptions 	DDB		# in-kernel debugger
1431.1Sreinoud#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1441.1Sreinoud#makeoptions	DEBUG="-g"	# compile full symbol table
1451.1Sreinoud
1461.1Sreinoudconfig		netbsd	root on ? type ?
1471.1Sreinoud
1481.1Sreinoud# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
1491.1Sreinoud# this really be fixed some day
1501.2Slukem#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600
1511.1Sreinoud
1521.1Sreinoud# The main bus device
1531.1Sreinoudmainbus0 at root
1541.1Sreinoud
1551.35Swiz# The boot CPU
1561.1Sreinoudcpu0 at mainbus?
1571.1Sreinoud
1581.1Sreinoud# The IOMD
1591.1Sreinoudiomd0	at mainbus?
1601.1Sreinoud
1611.1Sreinoud# system clock via IOMD
1621.1Sreinoudclock*	at iomd?
1631.1Sreinoud
1641.1Sreinoud# IIC bus device
1651.28Sthorpejiomdiic* at iomd?
1661.28Sthorpejiic0 at iomdiic?
1671.1Sreinoud
1681.1Sreinoud# RTC device via IIC bus
1691.126Sthorpejpcfrtc*	at iic? addr 0x50
1701.1Sreinoud
1711.1Sreinoud# VIDC device
1721.1Sreinoudvidc0		at mainbus?
1731.1Sreinoud
1741.10Sreinoud# WSCONS
1751.10Sreinoud# ws console uses DUMB, SUN or VT100 terminal emulation
1761.10Sreinoud#options 	WSEMUL_NODUMB
1771.10Sreinoud#options 	WSEMUL_SUN
1781.73Sbjh21options 	WSEMUL_VT100
1791.10Sreinoud
1801.85Schrisoptions         WS_KERNEL_FG=WSCOL_GREEN
1811.85Schris
1821.10Sreinoud#options 	WSDISPLAY_COMPAT_RAWKBD
1831.103Sabsoptions		WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1841.85Schrisoptions		WSDISPLAY_SCROLLSUPPORT
1851.10Sreinoud
1861.73Sbjh21vidcvideo0	at vidc?		# wscons driver for VIDC
1871.73Sbjh21wsdisplay*	at vidcvideo? console ?	# display itself
1881.10Sreinoud
1891.36Sbjh21iomdkbc*	at iomd?		# IOMD keyboard/mouse interface
1901.36Sbjh21
1911.73Sbjh21pckbd*		at iomdkbc? slot ?	# PS/2 keyboard
1921.73Sbjh21options 	PCKBD_LAYOUT=KB_UK
1931.73Sbjh21wskbd*		at pckbd?
1941.36Sbjh21
1951.36Sbjh21pms*		at iomdkbc? slot ?	# PS/2 mouse
1961.36Sbjh21wsmouse*	at pms?
1971.36Sbjh21
1981.37Sbjh21qms*		at iomd?		# ws quadmouse driver
1991.37Sbjh21wsmouse*	at qms?			# wsmouse on ws quadmouse
2001.10Sreinoud
2011.36Sbjh21pseudo-device	wsmux
2021.10Sreinoud
2031.1Sreinoud# Peripheral IO Controller
2041.1Sreinoudpioc0	at mainbus? base 0x00210000
2051.1Sreinoud
2061.1Sreinoud# IDE disk controller
2071.1Sreinoudwdc0	at pioc? offset 0x01f0 irq 9
2081.31Slukem
2091.31Slukem# ATA (IDE) bus support
2101.31Slukematabus* at ata?
2111.29Sbouyer
2121.30Schristoswd*	at atabus? drive ?
2131.31Slukematapibus* at atapi?
2141.1Sreinoudcd*	at atapibus? drive ?
2151.1Sreinoudsd*	at atapibus? drive ?
2161.1Sreinoud
2171.1Sreinoud# Floppy disk controller
2181.2Slukemfdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
2191.2Slukemfd0	at fdc? drive ?
2201.1Sreinoud
2211.1Sreinoud# Serial ports
2221.2Slukemcom*	at pioc? offset 0x03f8 irq 10
2231.1Sreinoud
2241.1Sreinoud# Parallel ports
2251.33Sbjh21lpt*	at pioc? offset 0x0278 irq 0	# Old driver
2261.33Sbjh21#atppc*	at pioc? offset 0x0278 irq 0	# New driver
2271.33Sbjh21#ppbus*	at atppc?
2281.33Sbjh21#lpt*	at ppbus?		# Parallel printer
2291.33Sbjh21#plip*	at ppbus?		# Parallel line IP
2301.1Sreinoud
2311.1Sreinoud# Audio device
2321.1Sreinoudvidcaudio0	at vidc?
2331.1Sreinoudaudio*		at vidcaudio0
2341.1Sreinoud
2351.120Schristosspkr*	at audio?			# PC speaker (synthesized)
2361.118Snat
2371.1Sreinoud# Podule bus device
2381.1Sreinoudpodulebus0	at root
2391.1Sreinoud
2401.77Sbjh21sec*	at podulebus?			# Acorn SCSI card
2411.77Sbjh21scsibus* at sec?
2421.1Sreinoud
2431.1Sreinoudcosc*	at podulebus?			# MCS Connect32 SCSI II card
2441.1Sreinoudscsibus* at cosc?
2451.1Sreinoud
2461.1Sreinoudptsc*	at podulebus?			# Power-Tec SCSI II card
2471.1Sreinoudscsibus* at ptsc?
2481.1Sreinoud
2491.18Sbjh21csc*	at podulebus?			# Cumana SCSI II card
2501.18Sbjh21scsibus* at csc?
2511.1Sreinoud
2521.1Sreinoudoak*	at podulebus?			# Oak SCSI I card
2531.1Sreinoudscsibus* at oak?
2541.1Sreinoud
2551.72Sskrllcsa*	at podulebus?			# Cumana SCSI I adapter
2561.1Sreinoudscsibus* at csa?
2571.1Sreinoud
2581.8Sreinoudhcsc*	at podulebus0 slot ?		# HCCS 8-bit SCSI interface
2591.1Sreinoudscsibus* at hcsc?
2601.1Sreinoud
2611.1Sreinoudsd*	at scsibus? target ? lun ?	# SCSI disk drives
2621.1Sreinoudst*	at scsibus? target ? lun ?	# SCSI tape drives
2631.1Sreinoudcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2641.1Sreinoudch*	at scsibus? target ? lun ?	# SCSI auto-changers
2651.1Sreinouduk*	at scsibus? target ? lun ?	# SCSI unknown device
2661.1Sreinoudss*	at scsibus? target ? lun ?	# SCSI scanner
2671.1Sreinoud
2681.1Sreinouddtide*	at podulebus?			# D.T. Software IDE card
2691.1Sreinoud
2701.1Sreinoudhcide*	at podulebus?			# HCCS IDE card
2711.1Sreinoud
2721.1Sreinoudicside*	at podulebus?			# ICS IDE card
2731.1Sreinoud
2741.1Sreinoudrapide*	at podulebus?			# Yellowstone RapIDE card
2751.1Sreinoud
2761.1Sreinoudsimide*	at podulebus?			# Simtec IDE card
2771.1Sreinoud
2781.1Sreinoudamps*	at podulebus?			# Atomwide Multi-Port Serial card
2791.1Sreinoudcom*	at amps?
2801.1Sreinoud
2811.77Sbjh21ei*	at podulebus?			# Ether1 podules
2821.1Sreinoudea*	at podulebus?			# Ether3 podules
2831.1Sreinoudeb0	at podulebus?			# EtherB network slot cards
2841.1Sreinoudne*	at podulebus?			# NE2000 clone cards
2851.1Sreinoud
2861.93Stsutsuipseudo-device	loop			# network loopback
2871.67Srpaulopseudo-device	bpfilter		# packet filter
2881.129Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2891.68Scubepseudo-device	sl			# CSLIP
2901.68Scubepseudo-device	ppp			# PPP
2911.6Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2921.68Scubepseudo-device	tun			# network tunneling over tty
2931.47Scubepseudo-device	tap			# virtual Ethernet
2941.68Scube#pseudo-device	gre			# generic L3 over IP tunnel
2951.127Smaxv#pseudo-device	npf			# NPF packet filter
2961.68Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2971.68Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2981.69Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2991.1Sreinoudpseudo-device	vlan			# IEEE 802.1q encapsulation
3001.3Satatatpseudo-device	bridge			# simple inter-network bridging
3011.134Sroypseudo-device	vether			# Virtual Ethernet for bridge
3021.79Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3031.1Sreinoudpseudo-device	pty			# pseudo-terminals
3041.68Scubepseudo-device	vnd			# disk-like interface to files
3051.56Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3061.108Schristospseudo-device	ccd			# concatenated disk devices
3071.108Schristos#pseudo-device	cgd			# cryptographic disk devices
3081.109Schristospseudo-device	raid			# RAIDframe disk driver
3091.7Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
3101.7Soster# Options to enable various other RAIDframe RAID types.
3111.7Soster# options	RF_INCLUDE_EVENODD=1
3121.7Soster# options	RF_INCLUDE_RAID5_RS=1
3131.7Soster# options	RF_INCLUDE_PARITYLOGGING=1
3141.7Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
3151.7Soster# options	RF_INCLUDE_INTERDECLUSTER=1
3161.7Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3171.7Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3181.95Spookapseudo-device	fss			# file system snapshot device
3191.97Shannkenpseudo-device	md			# Ramdisk driver
3201.17Slukempseudo-device	clockctl		# user control of clock subsystem
3211.128Sisakipseudo-device	drvctl			# user control of drive subsystem
3221.26Sraggepseudo-device	ksyms			# /dev/ksyms
3231.94Spookapseudo-device	putter			# for puffs and pud
3241.136Sriastradpseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
3251.64Selad
3261.88Stls#
3271.88Stls# accept filters
3281.88Stlspseudo-device   accf_data		# "dataready" accept filter
3291.88Stlspseudo-device   accf_http		# "httpready" accept filter
3301.88Stls
3311.129Ssevaninclude "dev/veriexec.config"
3321.74Sbjh21
3331.74Sbjh21# If the standard modes don't work for your monitor, you can specify
3341.74Sbjh21# a RISC-OS-format monitor definition file and a list of modes here.
3351.74Sbjh21
3361.74Sbjh21#makeoptions	MONITOR="Taxan875+LR"
3371.74Sbjh21#makeoptions	MONITOR="AKF60"
3381.74Sbjh21#makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
3391.137Sabs
3401.137Sabs# Pull in optional local configuration - always at end
3411.137Sabscinclude "arch/acorn32/conf/GENERIC.local"
342