MMTA revision 1.5
11.5Sjdolecek#	$NetBSD: MMTA,v 1.5 2000/09/24 15:59:35 jdolecek Exp $
21.1Sitojun#
31.1Sitojun#	GENERIC -- everything that's currently supported
41.1Sitojun#
51.1Sitojun
61.1Sitojuninclude "arch/mmeye/conf/std.mmeye"
71.1Sitojun
81.1Sitojun# Enable the hooks used for initializing the root memory-disk.
91.1Sitojun#options 	MEMORY_DISK_HOOKS
101.1Sitojun#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
111.1Sitojun#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
121.1Sitojun#options 	MINIROOTSIZE=3074	# size of memory disk, in blocks
131.1Sitojun
141.1Sitojunmaxusers	32			# estimated number of users
151.1Sitojun
161.1Sitojun# Standard system options
171.1Sitojunoptions 	SH7708R			# 100MHz 
181.1Sitojunoptions 	PCLOCK=33330000		# 33.33MHz
191.1Sitojunoptions 	INITTODR_ALWAYS_USE_RTC
201.1Sitojun
211.1Sitojun#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
221.1Sitojunoptions 	INSECURE	# disable kernel security levels
231.1Sitojun
241.1Sitojunoptions 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
251.1Sitojunoptions 	HZ=50		# clock interrupt generates every 1/HZ sec 
261.1Sitojun#options 	NTP		# NTP phase/frequency locked loop
271.1Sitojun
281.1Sitojun#options 	KTRACE		# system call tracing via ktrace(1)
291.1Sitojun
301.1Sitojunoptions 	SYSVMSG		# System V-like message queues
311.1Sitojunoptions 	SYSVSEM		# System V-like semaphores
321.1Sitojunoptions 	SYSVSHM		# System V-like memory sharing
331.1Sitojun#options 	SHMMAXPGS=1024	# 1024 pages is the default
341.1Sitojun
351.1Sitojun#options 	LKM		# loadable kernel modules
361.1Sitojun
371.1Sitojun# Diagnostic/debugging support options
381.1Sitojun#options 	DIAGNOSTIC	# cheap kernel consistency checks
391.1Sitojun#options 	DEBUG		# expensive debugging checks/support
401.1Sitojun#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
411.1Sitojun#options 	DDB		# in-kernel debugger
421.1Sitojun#options 	KGDB		# remote debugger
431.1Sitojun#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
441.1Sitojun#makeoptions	DEBUG="-g"	# compile full symbol table
451.1Sitojunoptions 	SYSCALL_DEBUG
461.1Sitojun
471.1Sitojun# Compatibility options
481.1Sitojunoptions 	COMPAT_13	# NetBSD 1.3
491.1Sitojunoptions 	COMPAT_43	# and 4.3BSD
501.1Sitojun
511.1Sitojun# Executable format options
521.1Sitojunoptions 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
531.3Smsaitohoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
541.1Sitojun
551.1Sitojun# File systems
561.1Sitojunfile-system 	FFS		# UFS
571.1Sitojun#file-system 	EXT2FS		# second extended file system (linux)
581.1Sitojun#file-system 	LFS		# log-structured file system
591.1Sitojunfile-system 	MFS		# memory file system
601.1Sitojunfile-system 	NFS		# Network File System client
611.1Sitojun#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
621.1Sitojun#file-system 	MSDOSFS		# MS-DOS file system
631.1Sitojunfile-system 	FDESC		# /dev/fd
641.1Sitojunfile-system 	KERNFS		# /kern
651.1Sitojunfile-system 	NULLFS		# loopback file system
661.1Sitojun#file-system 	PORTAL		# portal filesystem (still experimental)
671.1Sitojunfile-system 	PROCFS		# /proc
681.1Sitojunfile-system 	UMAPFS		# NULLFS + uid and gid remapping
691.1Sitojun#file-system 	UNION		# union file system
701.1Sitojun
711.1Sitojun# File system options
721.1Sitojun#options 	QUOTA		# UFS quotas
731.1Sitojunoptions 	NFSSERVER	# Network File System server
741.1Sitojun#options 	FIFO		# FIFOs; RECOMMENDED
751.1Sitojun#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
761.1Sitojun				# immutable) behave as system flags.
771.1Sitojun
781.1Sitojun# Networking options
791.1Sitojun#options 	GATEWAY		# packet forwarding
801.1Sitojunoptions 	INET		# IP + ICMP + TCP + UDP
811.1Sitojun#options 	MROUTING	# IP multicast routing
821.1Sitojunoptions 	NS		# XNS
831.1Sitojun#options 	NSIP		# XNS tunneling over IP
841.1Sitojun#options 	ISO,TPIP	# OSI
851.1Sitojun#options 	EON		# OSI tunneling over IP
861.1Sitojun#options 	CCITT,LLC,HDLC	# X.25
871.1Sitojun#options 	NETATALK	# AppleTalk networking protocols
881.1Sitojun#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
891.1Sitojun#options 	PPP_DEFLATE	# Deflate compression support for PPP
901.1Sitojun#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
911.1Sitojun#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
921.1Sitojun
931.1Sitojun# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
941.1Sitojun#options 	TCP_COMPAT_42
951.1Sitojun
961.1Sitojun# These options enable verbose messages for several subsystems.
971.1Sitojun# Warning, these may compile large string tables into the kernel!
981.1Sitojunoptions 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
991.4Saugustssoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1001.1Sitojun#options 	SCSIVERBOSE	# human readable SCSI error messages
1011.1Sitojun
1021.1Sitojun# Kernel root file system and dump configuration.
1031.1Sitojun#config		netbsd	root on ? type ?
1041.1Sitojun#config		netbsd	root on sd0a type ffs
1051.1Sitojun#config		netbsd	root on ? type nfs
1061.1Sitojunconfig		netbsd	root on wd0a type ffs
1071.1Sitojun
1081.1Sitojun#
1091.1Sitojun# Device configuration
1101.1Sitojun#
1111.1Sitojun
1121.1Sitojunmainbus0 at root
1131.1Sitojun
1141.1Sitojunshb* at mainbus?
1151.1Sitojun
1161.1Sitojun# Basic Bus Support
1171.1Sitojun
1181.1Sitojun# PCMCIA bus support
1191.1Sitojunpcmcia*	at shpcic? controller ? socket ?
1201.1Sitojun#pcmcia*	at shb? 
1211.1Sitojun
1221.1Sitojun# SH PCMCIA controllers
1231.1Sitojunshpcic0	at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x4000000
1241.1Sitojunshpcic1	at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x4000000
1251.1Sitojun
1261.1Sitojun
1271.1Sitojun# Console Devices
1281.1Sitojun
1291.1Sitojun# XXX
1301.1Sitojun
1311.1Sitojun
1321.1Sitojun# Serial Devices
1331.1Sitojun
1341.1Sitojuncom0 at shb? port 0xa4000000 irq 11
1351.1Sitojuncom1 at shb? port 0xa4000008 irq 12
1361.1Sitojun
1371.1Sitojun# PCMCIA serial interfaces
1381.1Sitojuncom*	at pcmcia? function ?		# Modems and serial cards
1391.1Sitojun
1401.1Sitojun
1411.1Sitojun# SCSI Controllers and Devices
1421.1Sitojun
1431.1Sitojun# PCMCIA SCSI controllers
1441.1Sitojun#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
1451.1Sitojun
1461.1Sitojun# SCSI bus support
1471.1Sitojun#scsibus* at aic?
1481.1Sitojun
1491.1Sitojun# SCSI devices
1501.1Sitojun#sd*	at scsibus? target ? lun ?	# SCSI disk drives
1511.1Sitojun#st*	at scsibus? target ? lun ?	# SCSI tape drives
1521.1Sitojun#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1531.1Sitojun#ch*	at scsibus? target ? lun ?	# SCSI autochangers
1541.1Sitojun#ss*	at scsibus? target ? lun ?	# SCSI scanners
1551.1Sitojun#uk*	at scsibus? target ? lun ?	# SCSI unknown
1561.1Sitojun
1571.1Sitojun
1581.1Sitojun# IDE and Related Devices
1591.1Sitojun
1601.1Sitojunwdc* at pcmcia? function ?
1611.1Sitojun
1621.1Sitojun# IDE drives
1631.1Sitojunwd*	at wdc? drive ?			# the drives themselves
1641.1Sitojun
1651.1Sitojun# ATAPI bus support
1661.1Sitojun#atapibus* at wdc?
1671.1Sitojun
1681.1Sitojun# ATAPI devices
1691.1Sitojun#cd*	at atapibus? drive ?		# ATAPI CD-ROM drives
1701.1Sitojun
1711.1Sitojun
1721.1Sitojun# Miscellaneous mass storage devices
1731.1Sitojun
1741.1Sitojun
1751.1Sitojun# Network Interfaces
1761.1Sitojun
1771.1Sitojun# PCMCIA network interfaces
1781.1Sitojunep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1791.1Sitojunne*	at pcmcia? function ?		# NE2000-compatible Ethernet
1801.1Sitojun#sm*	at pcmcia? function ?		# Megahertz Ethernet
1811.1Sitojun
1821.1Sitojun# MII/PHY support
1831.1Sitojunexphy*	at mii? phy ?			# 3Com internal PHYs
1841.1Sitojunicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
1851.1Sitojuninphy*	at mii? phy ?			# Intel 82555 PHYs
1861.1Sitojunlxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
1871.1Sitojunnsphy*	at mii? phy ?			# NS83840 PHYs
1881.1Sitojunqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
1891.1Sitojunsqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
1901.1Sitojuntlphy*	at mii? phy ?			# ThunderLAN PHYs
1911.1Sitojunukphy*	at mii? phy ?			# generic unknown PHYs
1921.1Sitojun
1931.1Sitojun
1941.1Sitojun# Pull in optional local configuration
1951.1Sitojuninclude	"arch/mmeye/conf/GENERIC.local"
1961.1Sitojun
1971.1Sitojun
1981.1Sitojun# Pseudo-Devices
1991.1Sitojun
2001.1Sitojun# disk/mass storage pseudo-devices
2011.1Sitojunpseudo-device	ccd		4	# concatenated/striped disk devices
2021.1Sitojunpseudo-device	md		1	# memory disk device (ramdisk)
2031.1Sitojunpseudo-device	vnd		4	# disk-like interface to files
2041.1Sitojun
2051.1Sitojun# network pseudo-devices
2061.1Sitojun#pseudo-device	bpfilter	8	# Berkeley packet filter
2071.1Sitojun#pseudo-device	ipfilter		# IP filter (firewall) and NAT
2081.1Sitojunpseudo-device	loop			# network loopback
2091.1Sitojunpseudo-device	ppp		2	# Point-to-Point Protocol
2101.1Sitojun#pseudo-device	sl		2	# Serial Line IP
2111.1Sitojun#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
2121.1Sitojunpseudo-device	tun		2	# network tunneling over tty
2131.1Sitojun
2141.1Sitojun# miscellaneous pseudo-devices
2151.5Sjdolecekpseudo-device	pty			# pseudo-terminals
2161.1Sitojun#pseudo-device	tb		1	# tablet line discipline
2171.1Sitojun
2181.1Sitojun# rnd is EXPERIMENTAL at this point.
2191.1Sitojun#pseudo-device	rnd			# /dev/random and in-kernel generator
2201.1Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
221