11.50Sabs#	$NetBSD: OFWGENCFG,v 1.50 2023/02/09 14:09:49 abs Exp $
21.1Sthorpej#
31.1Sthorpej#	OFWGENCFG: 'generic' configuration for Open Firmware boards.
41.1Sthorpej#
51.1Sthorpej#	Uses all 'generic' drivers (except for 'ofrom', which is
61.1Sthorpej#	close enough to generic).
71.1Sthorpej#
81.1Sthorpej
91.48Smrginclude 	"arch/shark/conf/std.shark"
101.48Smrginclude 	"arch/shark/conf/std.ofwgencfg"
111.4Satatat
121.4Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
131.1Sthorpej
141.1Sthorpej# estimated number of users
151.1Sthorpej
161.1Sthorpejmaxusers	32
171.1Sthorpej
181.1Sthorpej# Standard system options
191.1Sthorpej
201.1Sthorpejoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
211.1Sthorpej#options 	NTP		# NTP phase/frequency locked loop
221.1Sthorpej
231.1Sthorpej# CPU options
241.1Sthorpej
251.1Sthorpejoptions 	CPU_SA110	# Support the SA110 core
261.1Sthorpejmakeoptions	COPTS="-O2 -march=armv4 -mtune=strongarm"
271.1Sthorpej
281.1Sthorpej# Architecture options
291.1Sthorpej
301.1Sthorpejoptions 	OFWGENCFG	# Enable Open Firmware bits specific to GENERIC configuration
311.1Sthorpej
321.1Sthorpej# File systems
331.1Sthorpej
341.1Sthorpejfile-system	FFS		# UFS
351.1Sthorpej#file-system	LFS		# log-structured file system
361.1Sthorpejfile-system	MFS		# memory file system
371.1Sthorpejfile-system	NFS
381.1Sthorpej#file-system 	ADOSFS		# AmigaDOS-compatible file system
391.1Sthorpej#file-system 	EXT2FS		# second extended file system (linux)
401.1Sthorpej#file-system	CD9660		# ISO 9660 + Rock Ridge file system
411.1Sthorpej#file-system	MSDOSFS		# MS-DOS file system
421.1Sthorpej#file-system	FDESC		# /dev/fd
431.1Sthorpej#file-system	FILECORE	# Acorn filecore file system
441.1Sthorpejfile-system	KERNFS		# /kern
451.1Sthorpej#file-system	NULLFS		# loopback file system
461.1Sthorpej#file-system	PROCFS		# /proc
471.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
481.1Sthorpej#file-system	UNION		# union file system
491.22Schristos#file-system	PTYFS		# /dev/pts/N support
501.1Sthorpej
511.1Sthorpej# File system options
521.37Sbouyer#options 	QUOTA		# legacy UFS quotas
531.37Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
541.1Sthorpej#options 	NFSSERVER
551.1Sthorpejoptions 	NFS_BOOT_DHCP	# NFS booting via DHCP
561.1Sthorpejoptions 	NFS_BOOT_RWSIZE=1024	# OFW driver can't cope with more
571.23Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
581.1Sthorpej
591.1Sthorpej# Networking options
601.1Sthorpej
611.1Sthorpej#options 	GATEWAY		# packet forwarding
621.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
631.1Sthorpej#options 	MROUTING	# IP multicast routing
641.14Smanu#options 	PIM		# Protocol Independent Multicast
651.1Sthorpej				# if you enable the pseudo-device ipl).
661.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
671.1Sthorpej
681.1Sthorpej# Compatibility options
691.1Sthorpej
701.48Smrginclude 	"conf/compat_netbsd12.config"
711.1Sthorpej
721.1Sthorpej# Shared memory options
731.1Sthorpej
741.1Sthorpejoptions 	SYSVMSG		# System V-like message queues
751.1Sthorpejoptions 	SYSVSEM		# System V-like semaphores
761.1Sthorpejoptions 	SYSVSHM		# System V-like memory sharing
771.1Sthorpej
781.1Sthorpej# Device options
791.1Sthorpej
801.1Sthorpej#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
811.2Slukem#options 	MEMORY_DISK_ROOT_SIZE=0	# Size in KBytes
821.1Sthorpej
831.1Sthorpej# Miscellaneous kernel options
841.1Sthorpejoptions 	KTRACE		# system call tracing, a la ktrace(1)
851.1Sthorpejoptions 	IRQSTATS	# manage IRQ statistics
861.6Slukemoptions 	USERCONF	# userconf(4) support
871.1Sthorpej#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
881.12Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
891.1Sthorpej
901.1Sthorpej# Development and Debugging options
911.1Sthorpej
921.1Sthorpej#options 	ARM700BUGTRACK	# track the ARM700 swi bug
931.1Sthorpej#options 	PORTMASTER	# Enable PortMaster only options
941.43Sdhollandoptions 	DIAGNOSTIC	# internal consistency checks
951.1Sthorpejoptions 	DDB		# in-kernel debugger
961.46Suebayasipseudo-device	ksyms
971.1Sthorpej#makeoptions	DEBUG="-g"	# compile full symbol table
981.1Sthorpej
991.1Sthorpejconfig		netbsd	root on ofnet0 type nfs
1001.1Sthorpej#config		netbsd	root nfs swap nfs
1011.1Sthorpej
1021.1Sthorpej# The main bus device
1031.1Sthorpejmainbus0 at root
1041.1Sthorpej
1051.11Swiz# The boot CPU
1061.1Sthorpejcpu0 at mainbus?
1071.1Sthorpej
1081.1Sthorpej# Open Firmware devices
1091.1Sthorpejofbus*		at root
1101.1Sthorpejofbus*		at ofbus?
1111.1Sthorpejofdisk*		at ofbus?
1121.1Sthorpejofnet*		at ofbus?
1131.1Sthorpejofcons*		at ofbus?
1141.1Sthorpejofrtc*		at ofbus?
1151.1Sthorpejofrom*		at ofbus?
1161.1Sthorpej
1171.41Schristospseudo-device	loop			# network loopback
1181.25Srpaulopseudo-device	bpfilter		# packet filter
1191.26Scube#pseudo-device	sl			# CSLIP
1201.26Scube#pseudo-device	ppp			# PPP
1211.26Scube#pseudo-device	tun			# network tunneling over tty
1221.49Smaxv#pseudo-device	npf			# NPF packet filter
1231.1Sthorpej
1241.1Sthorpejpseudo-device	pty			# pseudo-terminals
1251.26Scubepseudo-device	vnd			# disk-like interface to files
1261.41Schristos#pseudo-device	ccd			# concatenated disk devices
1271.35Spooka#pseudo-device	fss			# file system snapshot device
1281.1Sthorpej
1291.36Shannken#pseudo-device	md			# Ramdisk driver
1301.5Slukempseudo-device	clockctl		# user control of clock subsystem
1311.13Sthorpejpseudo-device	openfirm		# /dev/openfirm
1321.50Sabs
1331.50Sabs# Pull in optional local configuration - always at end
1341.50Sabscinclude	"arch/shark/conf/GENERIC.local"
135