MMTA revision 1.45
11.45Sbouyer#	$NetBSD: MMTA,v 1.45 2011/03/06 17:08:27 bouyer 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.14Slukem#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# Standard system options
191.12Suchoptions		SH3
201.9Slukemoptions 	SH7708R			# 100MHz
211.1Sitojunoptions 	PCLOCK=33330000		# 33.33MHz
221.1Sitojunoptions 	INITTODR_ALWAYS_USE_RTC
231.1Sitojun
241.44Skiyoharaoptions 	IOM_RAM_SIZE=0x01000000	# 16MB
251.44Skiyoharaoptions 	IOM_RAM_BEGIN=0x0c000000
261.44Skiyoharamakeoptions	DEFTEXTADDR="0x8c010000"
271.44Skiyohara
281.1Sitojunoptions 	INSECURE	# disable kernel security levels
291.1Sitojun
301.1Sitojunoptions 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
311.9Slukemoptions 	HZ=50		# clock interrupt generates every 1/HZ sec
321.1Sitojun#options 	NTP		# NTP phase/frequency locked loop
331.1Sitojun
341.1Sitojun#options 	KTRACE		# system call tracing via ktrace(1)
351.1Sitojun
361.1Sitojunoptions 	SYSVMSG		# System V-like message queues
371.1Sitojunoptions 	SYSVSEM		# System V-like semaphores
381.1Sitojunoptions 	SYSVSHM		# System V-like memory sharing
391.10Sjdolecek
401.10Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
411.23Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
421.1Sitojun
431.1Sitojun# Diagnostic/debugging support options
441.1Sitojun#options 	DIAGNOSTIC	# cheap kernel consistency checks
451.1Sitojun#options 	DEBUG		# expensive debugging checks/support
461.1Sitojun#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
471.1Sitojun#options 	DDB		# in-kernel debugger
481.1Sitojun#options 	KGDB		# remote debugger
491.8Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
501.1Sitojun#makeoptions	DEBUG="-g"	# compile full symbol table
511.1Sitojunoptions 	SYSCALL_DEBUG
521.1Sitojun
531.1Sitojun# Compatibility options
541.1Sitojunoptions 	COMPAT_43	# and 4.3BSD
551.7Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
561.19Stsutsuioptions 	BSDDISKLABEL_EI	# endian independent disklabel support
571.19Stsutsuioptions 	COMPAT_MMEYE_OLDLABEL	# old mmeye's disklabel support
581.25Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
591.1Sitojun
601.1Sitojun# Executable format options
611.3Smsaitohoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
621.1Sitojun
631.1Sitojun# File systems
641.1Sitojunfile-system 	FFS		# UFS
651.1Sitojun#file-system 	EXT2FS		# second extended file system (linux)
661.1Sitojun#file-system 	LFS		# log-structured file system
671.1Sitojunfile-system 	MFS		# memory file system
681.1Sitojunfile-system 	NFS		# Network File System client
691.1Sitojun#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
701.1Sitojun#file-system 	MSDOSFS		# MS-DOS file system
711.1Sitojunfile-system 	FDESC		# /dev/fd
721.1Sitojunfile-system 	KERNFS		# /kern
731.1Sitojunfile-system 	NULLFS		# loopback file system
741.1Sitojunfile-system 	PROCFS		# /proc
751.1Sitojunfile-system 	UMAPFS		# NULLFS + uid and gid remapping
761.1Sitojun#file-system 	UNION		# union file system
771.30Schristosfile-system	PTYFS		# /dev/pts/N support
781.1Sitojun
791.1Sitojun# File system options
801.45Sbouyer#options 	QUOTA		# legacy UFS quotas
811.45Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
821.1Sitojunoptions 	NFSSERVER	# Network File System server
831.1Sitojun#options 	FIFO		# FIFOs; RECOMMENDED
841.31Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
851.1Sitojun#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
861.1Sitojun				# immutable) behave as system flags.
871.1Sitojun
881.1Sitojun# Networking options
891.1Sitojun#options 	GATEWAY		# packet forwarding
901.1Sitojunoptions 	INET		# IP + ICMP + TCP + UDP
911.1Sitojun#options 	MROUTING	# IP multicast routing
921.24Smanu#options 	PIM		# Protocol Independent Multicast
931.1Sitojun#options 	ISO,TPIP	# OSI
941.1Sitojun#options 	EON		# OSI tunneling over IP
951.1Sitojun#options 	NETATALK	# AppleTalk networking protocols
961.1Sitojun#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
971.1Sitojun#options 	PPP_DEFLATE	# Deflate compression support for PPP
981.1Sitojun#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
991.1Sitojun#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1001.7Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1011.1Sitojun
1021.1Sitojun# These options enable verbose messages for several subsystems.
1031.1Sitojun# Warning, these may compile large string tables into the kernel!
1041.1Sitojunoptions 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1051.4Saugustssoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1061.1Sitojun#options 	SCSIVERBOSE	# human readable SCSI error messages
1071.1Sitojun
1081.1Sitojun# Kernel root file system and dump configuration.
1091.1Sitojun#config		netbsd	root on ? type ?
1101.1Sitojun#config		netbsd	root on sd0a type ffs
1111.1Sitojun#config		netbsd	root on ? type nfs
1121.1Sitojunconfig		netbsd	root on wd0a type ffs
1131.1Sitojun
1141.1Sitojun#
1151.1Sitojun# Device configuration
1161.1Sitojun#
1171.1Sitojun
1181.1Sitojunmainbus0 at root
1191.1Sitojun
1201.1Sitojunshb* at mainbus?
1211.1Sitojun
1221.36Suwertc*	at shb?
1231.36Suwe
1241.44Skiyoharacom0	at mainbus? addr1 0xa4000000 irq1 11
1251.44Skiyoharacom1	at mainbus? addr1 0xa4000008 irq1 12
1261.1Sitojun
1271.1Sitojun# SH PCMCIA controllers
1281.44Skiyoharammeyepcmcia0 at mainbus? addr1 0xb000000a addr2 0xb8000000 irq1 3 irq2 10
1291.44Skiyoharammeyepcmcia1 at mainbus? addr1 0xb000000c addr2 0xb9000000 irq1 4 irq2 9
1301.1Sitojun
1311.18Sjdolecek# PCMCIA bus support
1321.18Sjdolecekpcmcia*	at mmeyepcmcia? controller ? socket ?
1331.1Sitojun
1341.1Sitojun# Console Devices
1351.1Sitojun
1361.1Sitojun# XXX
1371.1Sitojun
1381.1Sitojun# PCMCIA serial interfaces
1391.1Sitojuncom*	at pcmcia? function ?		# Modems and serial cards
1401.1Sitojun
1411.1Sitojun
1421.1Sitojun# SCSI Controllers and Devices
1431.1Sitojun
1441.1Sitojun# PCMCIA SCSI controllers
1451.1Sitojun#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
1461.1Sitojun
1471.1Sitojun# SCSI bus support
1481.1Sitojun#scsibus* at aic?
1491.1Sitojun
1501.1Sitojun# SCSI devices
1511.1Sitojun#sd*	at scsibus? target ? lun ?	# SCSI disk drives
1521.1Sitojun#st*	at scsibus? target ? lun ?	# SCSI tape drives
1531.1Sitojun#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1541.1Sitojun#ch*	at scsibus? target ? lun ?	# SCSI autochangers
1551.1Sitojun#ss*	at scsibus? target ? lun ?	# SCSI scanners
1561.1Sitojun#uk*	at scsibus? target ? lun ?	# SCSI unknown
1571.1Sitojun
1581.1Sitojun
1591.1Sitojun# IDE and Related Devices
1601.1Sitojun
1611.1Sitojunwdc* at pcmcia? function ?
1621.1Sitojun
1631.22Slukem# ATA (IDE) bus support
1641.22Slukematabus* at ata?
1651.21Sbouyer
1661.1Sitojun# IDE drives
1671.21Sbouyerwd*	at atabus? drive ?
1681.1Sitojun
1691.1Sitojun# ATAPI bus support
1701.22Slukem#atapibus* at atapi?
1711.1Sitojun
1721.1Sitojun# ATAPI devices
1731.1Sitojun#cd*	at atapibus? drive ?		# ATAPI CD-ROM drives
1741.1Sitojun
1751.1Sitojun
1761.1Sitojun# Miscellaneous mass storage devices
1771.1Sitojun
1781.1Sitojun
1791.1Sitojun# Network Interfaces
1801.1Sitojun
1811.1Sitojun# PCMCIA network interfaces
1821.1Sitojunep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1831.1Sitojunne*	at pcmcia? function ?		# NE2000-compatible Ethernet
1841.1Sitojun#sm*	at pcmcia? function ?		# Megahertz Ethernet
1851.1Sitojun
1861.1Sitojun# MII/PHY support
1871.1Sitojunexphy*	at mii? phy ?			# 3Com internal PHYs
1881.11Swizicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
1891.1Sitojuninphy*	at mii? phy ?			# Intel 82555 PHYs
1901.1Sitojunlxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
1911.1Sitojunnsphy*	at mii? phy ?			# NS83840 PHYs
1921.1Sitojunqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
1931.1Sitojunsqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
1941.18Sjdolecek#tlphy*	at mii? phy ?			# ThunderLAN PHYs
1951.1Sitojunukphy*	at mii? phy ?			# generic unknown PHYs
1961.1Sitojun
1971.1Sitojun
1981.1Sitojun# Pull in optional local configuration
1991.38Sjmmvcinclude "arch/mmeye/conf/GENERIC.local"
2001.1Sitojun
2011.1Sitojun
2021.1Sitojun# Pseudo-Devices
2031.1Sitojun
2041.1Sitojun# disk/mass storage pseudo-devices
2051.1Sitojunpseudo-device	ccd		4	# concatenated/striped disk devices
2061.42Spooka#pseudo-device	fss			# file system snapshot device
2071.43Shannkenpseudo-device	md			# memory disk device (ramdisk)
2081.34Scubepseudo-device	vnd			# disk-like interface to files
2091.1Sitojun
2101.1Sitojun# network pseudo-devices
2111.33Srpaulo#pseudo-device	bpfilter		# Berkeley packet filter
2121.1Sitojun#pseudo-device	ipfilter		# IP filter (firewall) and NAT
2131.1Sitojunpseudo-device	loop			# network loopback
2141.34Scubepseudo-device	ppp			# Point-to-Point Protocol
2151.34Scube#pseudo-device	sl			# Serial Line IP
2161.34Scube#pseudo-device	strip			# Starmode Radio IP (Metricom)
2171.34Scubepseudo-device	tun			# network tunneling over tty
2181.1Sitojun
2191.1Sitojun# miscellaneous pseudo-devices
2201.5Sjdolecekpseudo-device	pty			# pseudo-terminals
2211.16Slukempseudo-device	clockctl		# user control of clock subsystem
2221.1Sitojun
2231.1Sitojun# rnd is EXPERIMENTAL at this point.
2241.1Sitojun#pseudo-device	rnd			# /dev/random and in-kernel generator
2251.1Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
226