GENERIC revision 1.15
11.15Smartin# $NetBSD: GENERIC,v 1.15 2001/12/28 12:21:55 martin 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.1Smarcus
231.1Smarcus# Enable the hooks used for initializing the root memory-disk.
241.1Smarcusoptions 	MEMORY_DISK_HOOKS
251.1Smarcusoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
261.1Smarcusoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
271.8Smarcusoptions 	MINIROOTSIZE=2880	# size of memory disk, in blocks
281.13Slukem#options 	MINIROOTSIZE=6000
291.1Smarcus
301.1Smarcusoptions 	DONT_INIT_BSC
311.1Smarcus
321.3Smarcus# wscons options
331.3Smarcusoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
341.7Sthorpejoptions 	FONT_BOLD8x16
351.3Smarcus
361.1Smarcusmaxusers	16		# estimated number of users
371.1Smarcus
381.1Smarcus# CPU support
391.1Smarcusoptions 	SH7750
401.13Slukemoptions 	SH4
411.13Slukemoptions 	DREAMCAST
421.13Slukem#options 	SH4_PCMCIA
431.1Smarcusoptions 	EVBSH4
441.3Smarcus#options 	MMEYE
451.13Slukemoptions 	PCLOCK=49900000			# 50MHz
461.13Slukem#options 	PCLOCK=50000000			# 50MHz
471.13Slukemoptions 	IOM_ROM_BEGIN=0x00000000
481.13Slukemoptions 	IOM_ROM_SIZE=0x00100000		# 1MB
491.13Slukemoptions 	IOM_RAM_BEGIN=0x8c000000
501.13Slukemoptions 	IOM_RAM_SIZE=0x01000000		# 16MB
511.13Slukem#options 	INITTODR_ALWAYS_USE_RTC
521.13Slukem#options 	BRAINS
531.13Slukem#options 	USE_RTCCLK
541.13Slukem#options 	SYNC_CLOCK_TO_RTC
551.1Smarcus
561.13Slukem#options 	LED_ADDR=0xa8000000
571.1Smarcus
581.1Smarcus# Standard system options
591.1Smarcus#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
601.1Smarcus#options 	INSECURE	# disable kernel security levels
611.1Smarcus
621.13Slukem#options 	RTC_OFFSET=-540
631.8Smarcusoptions 	HZ=100		# clock interrupt generates every 1/HZ sec
641.1Smarcus#options 	NTP		# NTP phase/frequency locked loop
651.1Smarcus
661.1Smarcus#options 	KTRACE		# system call tracing via ktrace(1)
671.1Smarcus
681.1Smarcus#options 	SYSVMSG		# System V-like message queues
691.1Smarcus#options 	SYSVSEM		# System V-like semaphores
701.13Slukem#options 	SEMMNI=10	# number of semaphore identifiers
711.13Slukem#options 	SEMMNS=60	# number of semaphores in system
721.13Slukem#options 	SEMUME=10	# max number of undo entries per process
731.13Slukem#options 	SEMMNU=30	# number of undo structures in system
741.1Smarcus#options 	SYSVSHM		# System V-like memory sharing
751.1Smarcus#options 	SHMMAXPGS=1024	# 1024 pages is the default
761.1Smarcus
771.1Smarcus# Diagnostic/debugging support options
781.1Smarcus#options 	DIAGNOSTIC	# cheap kernel consistency checks
791.1Smarcus#options 	DEBUG		# expensive debugging checks/support
801.1Smarcus#options 	DDB		# in-kernel debugger
811.1Smarcus#makeoptions	DEBUG="-g"	# compile full symbol table
821.1Smarcus#options 	SYSCALL_DEBUG
831.1Smarcus#options 	UVMHIST
841.13Slukem#options 	UVMHIST_PRINT
851.1Smarcus
861.1Smarcus# Compatibility options
871.1Smarcusoptions 	COMPAT_13	# NetBSD 1.3
881.1Smarcusoptions 	COMPAT_14	# NetBSD 1.4,
891.1Smarcusoptions 	COMPAT_43	# and 4.3BSD
901.1Smarcus
911.1Smarcus# Executable format options
921.1Smarcusoptions 	EXEC_COFF	# COFF executables
931.1Smarcusoptions 	EXEC_ELF32	# 32-bit ELF executables
941.1Smarcus
951.1Smarcus# File systems
961.1Smarcusfile-system 	FFS		# UFS
971.1Smarcusfile-system 	MFS		# memory file system
981.6Sthorpejfile-system 	NFS		# Network File System client
991.1Smarcusfile-system 	PROCFS		# /proc
1001.1Smarcusfile-system 	KERNFS		# /kern
1011.1Smarcus#file-system 	NULLFS		# loopback file system
1021.1Smarcus#file-system 	UMAPFS		# NULLFS + uid and gid remapping
1031.4Smarcusfile-system	CD9660		# CD-ROM file system
1041.1Smarcus
1051.1Smarcus# File system options
1061.1Smarcus#options 	QUOTA		# UFS quotas
1071.1Smarcus#options 	NFSSERVER	# Network File System server
1081.1Smarcus
1091.1Smarcus# Networking options
1101.1Smarcusoptions 	INET		# IP + ICMP + TCP + UDP
1111.6Sthorpejoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1121.1Smarcus
1131.1Smarcus#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1141.1Smarcus#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1151.1Smarcus#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1161.1Smarcus
1171.1Smarcus# Kernel root file system and dump configuration.
1181.1Smarcus#config		netbsd	root on ? type nfs
1191.1Smarcus#config		netbsd	root on wd0a type ffs
1201.6Sthorpejconfig		netbsd	root on ? type ?
1211.1Smarcus
1221.1Smarcus#
1231.1Smarcus# Device configuration
1241.1Smarcus#
1251.1Smarcus
1261.1Smarcusmainbus0 at root
1271.1Smarcus
1281.1Smarcusshb*	at mainbus?
1291.1Smarcus
1301.1Smarcus# Serial Devices
1311.13Slukemoptions 	SCIFCN_SPEED=57600
1321.1Smarcusscif0 at shb? port 0xffe80000 irq 12
1331.3Smarcus
1341.6Sthorpejpvr0		at shb?
1351.13Slukemwsdisplay*	at pvr? console ?
1361.3Smarcus
1371.6Sthorpejmaple0		at shb?
1381.6Sthorpejmkbd*		at maple? port ? subunit ?
1391.6Sthorpejwskbd*		at mkbd? console ?
1401.6Sthorpej
1411.6Sthorpejgdrom0		at shb?
1421.6Sthorpej
1431.6Sthorpejg2bus0		at shb?
1441.6Sthorpejgapspci*	at g2bus?			# GAPS PCI bridge
1451.6Sthorpejpci*		at gapspci?
1461.6Sthorpejrtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
1471.6Sthorpejukphy*		at mii? phy ?
1481.1Smarcus
1491.1Smarcus# SH PCMCIA controllers
1501.1Smarcus#shpcic0	at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x1000000
1511.1Smarcus#shpcic1	at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x1000000
1521.1Smarcus
1531.1Smarcus# PCMCIA bus support
1541.1Smarcus#pcmcia*	at shpcic? controller ? socket ?
1551.1Smarcus
1561.1Smarcus#com*	at pcmcia? function ?		# Modems and serial cards
1571.1Smarcus#wdc*	at pcmcia? function ?
1581.1Smarcus#wd*	at wdc? drive ?			# the drives themselves
1591.1Smarcus
1601.1Smarcus#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1611.1Smarcus#mbe*	at pcmcia? function ?		# MB8696x based Ethernet
1621.1Smarcus#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
1631.1Smarcus#sm*	at pcmcia? function ?		# Megahertz Ethernet
1641.1Smarcus
1651.1Smarcus#pseudo-device	vnd		4	# disk-like interface to files
1661.1Smarcus#pseudo-device	bpfilter	8	# Berkeley packet filter
1671.12Satatat#pseudo-device	bridge			# simple inter-network bridging
1681.1Smarcus#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1691.1Smarcuspseudo-device	loop			# network loopback
1701.1Smarcuspseudo-device	pty			# pseudo-terminals
1711.1Smarcus#pseudo-device	ppp		2	# Point-to-Point Protocol
1721.15Smartin#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1731.1Smarcus#pseudo-device	tun		2	# network tunneling over tty
1741.9Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
1751.1Smarcus
1761.1Smarcus# Enable the hooks used for initializing the root memory-disk.
1771.1Smarcus#options 	MEMORY_DISK_HOOKS
1781.1Smarcus#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
1791.1Smarcus#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
1801.1Smarcus#options 	MINIROOTSIZE=3074	# size of memory disk, in blocks
1811.1Smarcus
1821.1Smarcuspseudo-device	md		1	# memory disk device (ramdisk)
183