GENERIC revision 1.23
11.23Satatat# $NetBSD: GENERIC,v 1.23 2002/04/25 15:06:25 atatat Exp $
21.1Smarcus#
31.14Sgmcgarry# GENERIC machine description file
41.14Sgmcgarry# 
51.14Sgmcgarry# This machine description file is used to generate the default NetBSD
61.14Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.14Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Smarcus#
91.14Sgmcgarry# The machine description file can be customised for your specific
101.14Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.14Sgmcgarry#
121.14Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.14Sgmcgarry# man page.
141.14Sgmcgarry#
151.14Sgmcgarry# For further information on hardware support for this architecture, see
161.14Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.14Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.14Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.14Sgmcgarry# device.
201.1Smarcus
211.14Sgmcgarryinclude 	"arch/dreamcast/conf/std.dreamcast"
221.23Satatat
231.23Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Smarcus
251.20Suchmaxusers	16		# estimated number of users
261.20Such
271.1Smarcus# Enable the hooks used for initializing the root memory-disk.
281.1Smarcusoptions 	MEMORY_DISK_HOOKS
291.1Smarcusoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
301.1Smarcusoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
311.21Slukemoptions 	MEMORY_DISK_ROOT_SIZE=2880	# size of memory disk, in blocks
321.21Slukem#options 	MEMORY_DISK_ROOT_SIZE=6000
331.1Smarcus
341.1Smarcus# CPU support
351.20Suchoptions 	SH4
361.1Smarcusoptions 	SH7750
371.13Slukemoptions 	PCLOCK=49900000			# 50MHz
381.13Slukem#options 	PCLOCK=50000000			# 50MHz
391.13Slukemoptions 	IOM_ROM_BEGIN=0x00000000
401.13Slukemoptions 	IOM_ROM_SIZE=0x00100000		# 1MB
411.13Slukemoptions 	IOM_RAM_BEGIN=0x8c000000
421.13Slukemoptions 	IOM_RAM_SIZE=0x01000000		# 16MB
431.1Smarcus
441.1Smarcus# Standard system options
451.1Smarcus#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
461.1Smarcus#options 	INSECURE	# disable kernel security levels
471.1Smarcus
481.13Slukem#options 	RTC_OFFSET=-540
491.8Smarcusoptions 	HZ=100		# clock interrupt generates every 1/HZ sec
501.1Smarcus#options 	NTP		# NTP phase/frequency locked loop
511.1Smarcus
521.1Smarcus#options 	KTRACE		# system call tracing via ktrace(1)
531.16Sjdolecek
541.22Sgmcgarry#options 	USERCONF	# userconf(4) support
551.16Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
561.1Smarcus
571.1Smarcus#options 	SYSVMSG		# System V-like message queues
581.1Smarcus#options 	SYSVSEM		# System V-like semaphores
591.13Slukem#options 	SEMMNI=10	# number of semaphore identifiers
601.13Slukem#options 	SEMMNS=60	# number of semaphores in system
611.13Slukem#options 	SEMUME=10	# max number of undo entries per process
621.13Slukem#options 	SEMMNU=30	# number of undo structures in system
631.1Smarcus#options 	SYSVSHM		# System V-like memory sharing
641.1Smarcus#options 	SHMMAXPGS=1024	# 1024 pages is the default
651.1Smarcus
661.1Smarcus# Diagnostic/debugging support options
671.1Smarcus#options 	DIAGNOSTIC	# cheap kernel consistency checks
681.1Smarcus#options 	DEBUG		# expensive debugging checks/support
691.1Smarcus#options 	DDB		# in-kernel debugger
701.18Such#options 	KGDB			# remote debugger
711.18Such#options 	"KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
721.1Smarcus#makeoptions	DEBUG="-g"	# compile full symbol table
731.1Smarcus#options 	SYSCALL_DEBUG
741.1Smarcus#options 	UVMHIST
751.13Slukem#options 	UVMHIST_PRINT
761.1Smarcus
771.1Smarcus# Compatibility options
781.1Smarcusoptions 	COMPAT_43	# and 4.3BSD
791.1Smarcus
801.1Smarcus# Executable format options
811.1Smarcusoptions 	EXEC_COFF	# COFF executables
821.1Smarcusoptions 	EXEC_ELF32	# 32-bit ELF executables
831.1Smarcus
841.1Smarcus# File systems
851.1Smarcusfile-system 	FFS		# UFS
861.1Smarcusfile-system 	MFS		# memory file system
871.6Sthorpejfile-system 	NFS		# Network File System client
881.1Smarcusfile-system 	PROCFS		# /proc
891.1Smarcusfile-system 	KERNFS		# /kern
901.1Smarcus#file-system 	NULLFS		# loopback file system
911.1Smarcus#file-system 	UMAPFS		# NULLFS + uid and gid remapping
921.4Smarcusfile-system	CD9660		# CD-ROM file system
931.1Smarcus
941.1Smarcus# File system options
951.1Smarcus#options 	QUOTA		# UFS quotas
961.1Smarcus#options 	NFSSERVER	# Network File System server
971.1Smarcus
981.1Smarcus# Networking options
991.1Smarcusoptions 	INET		# IP + ICMP + TCP + UDP
1001.6Sthorpejoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1011.1Smarcus
1021.1Smarcus#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1031.1Smarcus#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1041.1Smarcus
1051.1Smarcus# Kernel root file system and dump configuration.
1061.1Smarcus#config		netbsd	root on ? type nfs
1071.1Smarcus#config		netbsd	root on wd0a type ffs
1081.6Sthorpejconfig		netbsd	root on ? type ?
1091.1Smarcus
1101.20Such
1111.20Such# wscons options
1121.20Suchoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1131.20Suchoptions 	FONT_BOLD8x16
1141.20Such
1151.1Smarcus#
1161.1Smarcus# Device configuration
1171.1Smarcus#
1181.1Smarcus
1191.1Smarcusmainbus0 at root
1201.1Smarcus
1211.20Suchcpu*		at mainbus?
1221.20Suchshb*		at mainbus?
1231.1Smarcus
1241.1Smarcus# Serial Devices
1251.18Such#options		SCIFCONSOLE
1261.13Slukemoptions 	SCIFCN_SPEED=57600
1271.20Suchscif0		at shb?
1281.3Smarcus
1291.6Sthorpejpvr0		at shb?
1301.13Slukemwsdisplay*	at pvr? console ?
1311.3Smarcus
1321.6Sthorpejmaple0		at shb?
1331.6Sthorpejmkbd*		at maple? port ? subunit ?
1341.6Sthorpejwskbd*		at mkbd? console ?
1351.6Sthorpej
1361.6Sthorpejgdrom0		at shb?
1371.6Sthorpej
1381.6Sthorpejg2bus0		at shb?
1391.6Sthorpejgapspci*	at g2bus?			# GAPS PCI bridge
1401.6Sthorpejpci*		at gapspci?
1411.6Sthorpejrtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
1421.6Sthorpejukphy*		at mii? phy ?
1431.1Smarcus
1441.1Smarcus#pseudo-device	vnd		4	# disk-like interface to files
1451.1Smarcus#pseudo-device	bpfilter	8	# Berkeley packet filter
1461.12Satatat#pseudo-device	bridge			# simple inter-network bridging
1471.1Smarcus#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1481.1Smarcuspseudo-device	loop			# network loopback
1491.1Smarcuspseudo-device	pty			# pseudo-terminals
1501.1Smarcus#pseudo-device	ppp		2	# Point-to-Point Protocol
1511.15Smartin#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1521.1Smarcus#pseudo-device	tun		2	# network tunneling over tty
1531.9Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
1541.1Smarcuspseudo-device	md		1	# memory disk device (ramdisk)
155