MMTAICE revision 1.38
11.38Suwe#	$NetBSD: MMTAICE,v 1.38 2006/09/22 09:32:26 uwe Exp $
21.1Sitojun#
31.1Sitojun#	GENERIC -- everything that's currently supported
41.1Sitojun#
51.1Sitojun
61.1Sitojuninclude "arch/mmeye/conf/std.mmeye"
71.15Satatat
81.15Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Sitojun
101.1Sitojun# Enable the hooks used for initializing the root memory-disk.
111.1Sitojun#options 	MEMORY_DISK_HOOKS
121.1Sitojun#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
131.1Sitojun#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
141.13Slukem#options 	MEMORY_DISK_ROOT_SIZE=3074	# size of memory disk, in blocks
151.1Sitojun
161.1Sitojunmaxusers	32		# estimated number of users
171.1Sitojun
181.1Sitojun# CPU support.  At least one is REQUIRED.
191.1Sitojun#options 	I386_CPU
201.1Sitojun#options 	I486_CPU
211.1Sitojun#options 	I586_CPU
221.11Suchoptions		SH3
231.8Slukemoptions 	SH7708		# 60MHz
241.8Slukem#options 	SH7708R		# 100MHz
251.8Slukem#options 	I686_CPU
261.8Slukemoptions 	PCLOCK=33330000		# 33.33MHz
271.8Slukemoptions 	INITTODR_ALWAYS_USE_RTC
281.1Sitojun
291.1Sitojun# CPU-related options.
301.1Sitojun#options 	MATH_EMULATE	# floating point emulation
311.1Sitojun#options 	VM86		# virtual 8086 emulation
321.1Sitojun#options 	USER_LDT	# user-settable LDT; used by WINE
331.1Sitojun# eliminate delay no-ops in I/O; recommended on all but very old machines
341.1Sitojun#options 	DUMMY_NOPS
351.1Sitojun
361.1Sitojun# Misc. i386-specific options
371.1Sitojun#options 	XSERVER		# X server support in console drivers
381.1Sitojun
391.1Sitojun# This option allows you to force a serial console at the specified
401.1Sitojun# I/O address.   see console(4) for details.
411.8Slukem#options 	CONSDEVNAME="\"com\""
421.1Sitojun
431.1Sitojun# The following options override the memory sizes passed in from the boot
441.1Sitojun# block.  Use them *only* if the boot block is unable to determine the correct
451.1Sitojun# values.  Note that the BIOS may *correctly* report less than 640k of base
461.1Sitojun# memory if the extended BIOS data area is located at the top of base memory
471.1Sitojun# (as is the case on most recent systems).
481.1Sitojun#options 	REALBASEMEM=...	# size of base memory
491.1Sitojun#options 	REALEXTMEM=...	# size of extended memory
501.1Sitojun
511.1Sitojun# Standard system options
521.1Sitojun
531.1Sitojunoptions 	INSECURE	# disable kernel security levels
541.1Sitojun
551.1Sitojunoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
561.8Slukemoptions 	HZ=10		# clock interrupt generates every 1/10 sec
571.1Sitojun				# for Debug
581.1Sitojun#options 	NTP		# NTP phase/frequency locked loop
591.1Sitojun
601.1Sitojun#options 	KTRACE		# system call tracing via ktrace(1)
611.1Sitojun
621.1Sitojunoptions 	SYSVMSG		# System V-like message queues
631.1Sitojunoptions 	SYSVSEM		# System V-like semaphores
641.1Sitojunoptions 	SYSVSHM		# System V-like memory sharing
651.1Sitojun#options 	SHMMAXPGS=1024	# 1024 pages is the default
661.1Sitojun
671.1Sitojun#options 	LKM		# loadable kernel modules
681.9Sjdolecek
691.20Slukemoptions 	USERCONF	# userconf(4) support
701.9Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
711.24Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
721.1Sitojun
731.1Sitojun# Diagnostic/debugging support options
741.1Sitojun#options 	DIAGNOSTIC	# cheap kernel consistency checks
751.1Sitojun#options 	DEBUG		# expensive debugging checks/support
761.1Sitojun#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
771.1Sitojun#options 	DDB		# in-kernel debugger
781.1Sitojun#options 	KGDB		# remote debugger
791.7Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
801.1Sitojun#makeoptions	DEBUG="-g"	# compile full symbol table
811.8Slukemoptions 	SYSCALL_DEBUG
821.1Sitojun
831.1Sitojun# Compatibility options
841.1Sitojunoptions 	COMPAT_43	# and 4.3BSD
851.6Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
861.19Stsutsuioptions 	BSDDISKLABEL_EI	# endian independent disklabel support
871.19Stsutsuioptions 	COMPAT_MMEYE_OLDLABEL	# old mmeye's disklabel support
881.26Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
891.1Sitojun
901.1Sitojun# Executable format options
911.1Sitojunoptions 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
921.3Smsaitohoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
931.1Sitojun
941.1Sitojun# File systems
951.1Sitojunfile-system 	FFS		# UFS
961.1Sitojun#file-system 	EXT2FS		# second extended file system (linux)
971.1Sitojun#file-system 	LFS		# log-structured file system
981.1Sitojunfile-system 	MFS		# memory file system
991.1Sitojunfile-system 	NFS		# Network File System client
1001.1Sitojun#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
1011.1Sitojun#file-system 	MSDOSFS		# MS-DOS file system
1021.1Sitojunfile-system 	FDESC		# /dev/fd
1031.1Sitojunfile-system 	KERNFS		# /kern
1041.1Sitojunfile-system 	NULLFS		# loopback file system
1051.1Sitojun#file-system 	PORTAL		# portal filesystem (still experimental)
1061.1Sitojunfile-system 	PROCFS		# /proc
1071.1Sitojunfile-system 	UMAPFS		# NULLFS + uid and gid remapping
1081.1Sitojun#file-system 	UNION		# union file system
1091.32Schristosfile-system	PTYFS		# /dev/pts/N support
1101.1Sitojun
1111.1Sitojun# File system options
1121.1Sitojun#options 	QUOTA		# UFS quotas
1131.1Sitojunoptions 	NFSSERVER	# Network File System server
1141.1Sitojun#options 	FIFO		# FIFOs; RECOMMENDED
1151.33Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1161.1Sitojun#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1171.1Sitojun				# immutable) behave as system flags.
1181.1Sitojun
1191.1Sitojun# Networking options
1201.1Sitojun#options 	GATEWAY		# packet forwarding
1211.1Sitojunoptions 	INET		# IP + ICMP + TCP + UDP
1221.1Sitojun#options 	MROUTING	# IP multicast routing
1231.25Smanu#options 	PIM		# Protocol Independent Multicast
1241.1Sitojun#options 	ISO,TPIP	# OSI
1251.1Sitojun#options 	EON		# OSI tunneling over IP
1261.1Sitojun#options 	NETATALK	# AppleTalk networking protocols
1271.1Sitojun#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1281.1Sitojun#options 	PPP_DEFLATE	# Deflate compression support for PPP
1291.1Sitojun#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1301.1Sitojun#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1311.6Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1321.1Sitojun
1331.1Sitojun# These options enable verbose messages for several subsystems.
1341.1Sitojun# Warning, these may compile large string tables into the kernel!
1351.1Sitojunoptions 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1361.1Sitojun#options 	SCSIVERBOSE	# human readable SCSI error messages
1371.1Sitojun
1381.1Sitojun# Kernel root file system and dump configuration.
1391.1Sitojun#config		netbsd	root on ? type ?
1401.1Sitojun#config		netbsd	root on sd0a type ffs
1411.1Sitojun#config		netbsd	root on ? type nfs
1421.1Sitojunconfig		netbsd	root on wd0a type ffs
1431.1Sitojun
1441.1Sitojun#
1451.1Sitojun# Device configuration
1461.1Sitojun#
1471.1Sitojun
1481.1Sitojunmainbus0 at root
1491.1Sitojun
1501.1Sitojunshb* at mainbus?
1511.1Sitojun
1521.38Suwertc*	at shb?
1531.38Suwe
1541.18Sjdolecekcom0	at mainbus?
1551.18Sjdolecekcom1	at mainbus?
1561.1Sitojun
1571.18Sjdolecek# SH PCMCIA controllers
1581.18Sjdolecekmmeyepcmcia0	at mainbus?
1591.18Sjdolecekmmeyepcmcia1	at mainbus?
1601.1Sitojun
1611.1Sitojun# PCMCIA bus support
1621.18Sjdolecekpcmcia*	at mmeyepcmcia? controller ? socket ?
1631.1Sitojun
1641.1Sitojun# PCMCIA serial interfaces
1651.1Sitojuncom*	at pcmcia? function ?		# Modems and serial cards
1661.1Sitojun
1671.1Sitojun
1681.1Sitojun# SCSI Controllers and Devices
1691.1Sitojun
1701.1Sitojun# PCMCIA SCSI controllers
1711.1Sitojun#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
1721.1Sitojun
1731.1Sitojun# SCSI bus support
1741.1Sitojun#scsibus* at aic?
1751.1Sitojun
1761.1Sitojun# SCSI devices
1771.1Sitojun#sd*	at scsibus? target ? lun ?	# SCSI disk drives
1781.1Sitojun#st*	at scsibus? target ? lun ?	# SCSI tape drives
1791.1Sitojun#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1801.1Sitojun#ch*	at scsibus? target ? lun ?	# SCSI autochangers
1811.1Sitojun#ss*	at scsibus? target ? lun ?	# SCSI scanners
1821.1Sitojun#uk*	at scsibus? target ? lun ?	# SCSI unknown
1831.1Sitojun
1841.1Sitojun
1851.1Sitojun# IDE and Related Devices
1861.1Sitojun
1871.1Sitojunwdc* at pcmcia? function ?
1881.1Sitojun
1891.23Slukem# ATA (IDE) bus support
1901.23Slukematabus* at ata?
1911.22Sbouyer
1921.1Sitojun# IDE drives
1931.22Sbouyerwd*	at atabus? drive ?
1941.1Sitojun
1951.1Sitojun# ATAPI bus support
1961.23Slukem#atapibus* at atapi?
1971.1Sitojun
1981.1Sitojun# ATAPI devices
1991.1Sitojun#cd*	at atapibus? drive ?		# ATAPI CD-ROM drives
2001.1Sitojun
2011.1Sitojun
2021.1Sitojun# Miscellaneous mass storage devices
2031.1Sitojun
2041.1Sitojun
2051.1Sitojun# Network Interfaces
2061.1Sitojun
2071.1Sitojun# PCMCIA network interfaces
2081.1Sitojunep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
2091.1Sitojunne*	at pcmcia? function ?		# NE2000-compatible Ethernet
2101.1Sitojun#sm*	at pcmcia? function ?		# Megahertz Ethernet
2111.1Sitojun
2121.1Sitojun# MII/PHY support
2131.1Sitojunexphy*	at mii? phy ?			# 3Com internal PHYs
2141.10Swizicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
2151.1Sitojuninphy*	at mii? phy ?			# Intel 82555 PHYs
2161.1Sitojunlxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
2171.1Sitojunnsphy*	at mii? phy ?			# NS83840 PHYs
2181.1Sitojunqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
2191.1Sitojunsqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
2201.18Sjdolecek#tlphy*	at mii? phy ?			# ThunderLAN PHYs
2211.1Sitojunukphy*	at mii? phy ?			# generic unknown PHYs
2221.1Sitojun
2231.1Sitojun
2241.1Sitojun# Pull in optional local configuration
2251.1Sitojuninclude	"arch/mmeye/conf/GENERIC.local"
2261.1Sitojun
2271.1Sitojun
2281.1Sitojun# Pseudo-Devices
2291.1Sitojun
2301.1Sitojun# disk/mass storage pseudo-devices
2311.1Sitojunpseudo-device	ccd		4	# concatenated/striped disk devices
2321.27Shannken#pseudo-device	fss		4	# file system snapshot device
2331.1Sitojunpseudo-device	md		1	# memory disk device (ramdisk)
2341.36Scubepseudo-device	vnd			# disk-like interface to files
2351.1Sitojun
2361.1Sitojun# network pseudo-devices
2371.35Srpaulo#pseudo-device	bpfilter		# Berkeley packet filter
2381.1Sitojun#pseudo-device	ipfilter		# IP filter (firewall) and NAT
2391.1Sitojunpseudo-device	loop			# network loopback
2401.36Scubepseudo-device	ppp			# Point-to-Point Protocol
2411.36Scube#pseudo-device	sl			# Serial Line IP
2421.36Scube#pseudo-device	strip			# Starmode Radio IP (Metricom)
2431.36Scubepseudo-device	tun			# network tunneling over tty
2441.1Sitojun
2451.1Sitojun# miscellaneous pseudo-devices
2461.4Sjdolecekpseudo-device	pty			# pseudo-terminals
2471.16Slukempseudo-device	clockctl		# user control of clock subsystem
2481.1Sitojun
2491.1Sitojun# rnd is EXPERIMENTAL at this point.
2501.1Sitojun#pseudo-device	rnd			# /dev/random and in-kernel generator
2511.1Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
252